jmp-l
[Top] [All Lists]

Re: [[SPAM] Header Checking] - Calling DLLs from JMP - Email found in su

To: <jmp-l@lists.biostat.wustl.edu>
Subject: Re: [[SPAM] Header Checking] - Calling DLLs from JMP - Email found in subject
From: "Jesse Graves" <jgraves@II-VI.com>
Date: Fri, 15 Sep 2006 07:50:23 -0400
Importance: normal
Thread-index: AcbDjpz21yznrjyJQO2UBHT2kJlJoQUvOMWgABwvz2A=
Thread-topic: [[SPAM] Header Checking] - [jmp-l] Calling DLLs from JMP - Email found in subject
I've done it.  Worked well and was easy (as opposed to calling a DLL from some platforms like LabVIEW!)  Here's some sample script.
 
dll = LoadDLL("C:\work2\blah\WriteQuery\Debug\WriteQuery.dll");
dll << CallDLL("?fnWriteQuery@@YAXPAD@Z", "c", jsql);
dll <<UnloadDLL(); // Unload DLL after we know we have a populated result set
 
The crazy function name in the CallDLL ... call, is the decorated name retrieved with depends.exe.  (Comes with Visual Studio and I think it can be downloaded from SysInternals.com.
 
I never found any additional documentation.
 
Jess


From: jmp-l-owner@lists.biostat.wustl.edu [mailto:jmp-l-owner@lists.biostat.wustl.edu] On Behalf Of Gunter.Hartel@csl.com.au
Sent: Thursday, September 14, 2006 6:19 PM
To: jmp-l@lists.biostat.wustl.edu
Subject: [[SPAM] Header Checking] - [jmp-l] Calling DLLs from JMP - Email found in subject

Dear JMP’ers

Have any of you written JSL that calls a DLL library?  If so, could you share your experience with me?  Is there any additional documentation beyond the scripting guide to help get this to work?

Thanks

Gunter

 

 

***************************************************************************************************************

 

This email and any attachments are confidential and may be subject to legal or other professional privilege. Any confidentiality or privilege is not waived or lost because this email has been sent to you by mistake. You should not read, copy, adapt, use or disclose them or their contents without authorisation. Any personal information in this email must be handled in accordance with the Privacy Act 1988 (Cth).

If you are not an intended recipient, please contact us at once by return email and then delete both messages.

 

 

CSL Limited A.C.N. 051 588 348

45 Poplar Road Parkville Victoria 3052 Australia

Phone: +61 3 9389 1911 Fax: +61 3 9389 1434

***************************************************************************************************************

 

 
 
 
 
 
The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited.
<Prev in Thread] Current Thread [Next in Thread>
  • Re: [[SPAM] Header Checking] - Calling DLLs from JMP - Email found in subject, Jesse Graves <=