The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 How to know a MOCA-DLL is already loaded
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

marko

Germany
112 Posts

Posted - 03/11/2003 :  08:45:57 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi,

suppose you wrote a MOCA style DLL for Origin 6.1.

How to determine with a labtalk script that the dll was loaded properly and the moca object inside could be accessed? Well of course you could try to load the dll each time you want to be sure by using a script section like
 
[DoLoadDLL]
{
ret=0;
dll -a MOCAobject %s;
ret=1;
}


So, only if this function returns 1 everything should be fine.
But perhaps there is still another possibility?

Any hints?

Marko



Edited by - marko on 03/11/2003 08:47:27 AM
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000