CoCreate User Forum  

Go Back   CoCreate User Forum > Support > Customization
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 06-05-2003, 05:33 AM
bdining bdining is offline
Registered User
 
Join Date: May 2003
Location: Chicago, IL.
Posts: 65
Active app thru LISP

I have searched the documents and was unable to find the function to verify if WorkManager is running.
Could somebody let me know what function to use to verify if WM is running?
Reply With Quote
  #2  
Old 06-05-2003, 11:14 PM
Dieter Kotsch Dieter Kotsch is offline
Junior Member
 
Join Date: Jun 2003
Location: Germany
Posts: 1
HI

If your function has to work on a win OS you can use the DDE functions of the OSD Integration Kit. By using the functions you can check, if you can open a DDE-Channel. If you can't open a channel, so you can be sure, in the most situations your Application doesn't work. On the UX Os exists a similar command SD-INTF.

Sincerely

Dieter
Reply With Quote
  #3  
Old 06-11-2003, 07:43 AM
fabrizio fabrizio is offline
Registered User
 
Join Date: Jan 2003
Location: Parma - Italy
Posts: 34
Hi. Maybe this can help you:

(defun workamanger-active-p ()
(not (eq (sd-dde-initiate "HP_WORKMANAGER" "GENERAL") :error))
)

I have written this function on the fly, without testing it... anyway it should work. But I am not sure of the dde service name of workmanager.
This function should return t if WorkManager is active and false otherwise.

fabrizio
Reply With Quote
  #4  
Old 06-11-2003, 10:04 AM
bdining bdining is offline
Registered User
 
Join Date: May 2003
Location: Chicago, IL.
Posts: 65
fabrizio

This works well.
Thank You

Where would I find a list of servicenames that would be used for this function?

The only thing I found was
SET wm_dde="HP_WORKMANAGER"
in a dv2sd.bat file.

What other topicnames could be used?

Thank You
BDining
Reply With Quote
  #5  
Old 06-11-2003, 11:44 AM
Thom Ivancso's Avatar
Thom Ivancso Thom Ivancso is offline
Registered User
 
Join Date: Oct 2002
Location: Connecticut, USA
Posts: 212
Hello Bill,

These are the only other ones I know of.

"PESD" for SolidDesigner
"SD_ACCESS" for SolidDesigner Access
"ME10F" for ME10


Cheers
Thom
Reply With Quote
  #6  
Old 06-12-2003, 11:40 PM
fabrizio fabrizio is offline
Registered User
 
Join Date: Jan 2003
Location: Parma - Italy
Posts: 34
For the topic, if I remember well, I have always used "GENERAL" for Me10, SolidDesigner and Workamanager.

Also the following pairs could be useful:
Service=WinWord Topic=System for MSWord
Service=Excel Topic=System for MSExcel

bYeZ
Fabrizio
Reply With Quote
  #7  
Old 08-08-2003, 07:44 AM
Sinan Sinan is offline
Registered User
 
Join Date: Feb 2003
Location: Budapest,Tallinn,Minsk
Posts: 42
Hi,

DDE only works on Windows platform

You should use

(sd-intf "HP PEWM IL" "WAIT 0") )

to check if yout WM server is UNIX based.


If you simply want to check whether the DataManagement module is set active

Simply use

(if (not (oli::sd-license-free-module-active-p "PEWMSD")) ....



Sinan

http://www.solidgenius.com
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 08:14 PM.



Hosted by SureServer    Forums   Modeling FAQ   Macro Site   Vendor/Contractors   Software Resellers   CoCreate   Gallery   Home   Board Members   Regional User Groups  By-Laws  

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.