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 <<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
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.