| To: | jmp-l@lists.biostat.wustl.edu |
|---|---|
| Subject: | Re: Calling DLLs from JMP |
| From: | chem engineer <chemical_engr@yahoo.com> |
| Date: | Fri, 15 Sep 2006 06:43:36 -0700 (PDT) |
| Cc: | Gunter.Hartel@csl.com.au |
| Domainkey-signature: | a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:MIME-Version:Content-Type; b=Cn3itQStZIo+4YGzIC/2o3XyJ4ONwhce4f6I4rVMT1jsM4lpjK/FeosEjDE8TBg1T2Hq8ZxzSjwLxK8uEldN+Ov3FDfYdYIyub7t5onz3JA/AgqskdsDTXIBHa3DeAkYuFdBStjyw0oQSYbwp9DFvgI4aNGKuFsXvL1+jBczVfU= ; |
|
G:
the 1 param limitation is a REAL limitation - and there is no 'dll' workaournd, in otherwords - there is no way to construct a DLL
which can get two params with the DLL call from JMP, unless you pass a string and the DLL decomposes ... but that is still 1 param.
This is a trick - that may work for you - if the DLL can read a text file once called the params can be passed indirectly.
Further - you can execute a remote system executable using a publically avail DLL called 'gz'. Check out this link, it is
a third party unsupported util for JMP.
The problem of one param requires either: 1) Wrapper Approach ...
Creating an executable shell or container for your DLL for which you pass a single param pointer ...
which then passes the pointer to give the list of params for the DLL execution implicitly in a file or
other data structure outside of JMP.
JMP -> Write complex instructions to text file or other data structure in Filesystem, call it "a.txt"
JMP -> DLL call to wrapper with single param; a pointer to "a.txt" -> DLL wrapper calls Exe or another DLL
giving it the param and works the instructions in "a.txt" -> results can be passed back via a files system result
2) Embedded string approach
Pass single param as a instruction set which is a delimited string
I know this problem well - it is a serious limitation in JMP which is not improved in the current version ... I dont know
if there are plans to imporve the problem.
Best regards,
Donald Palahnuk
ImClone System
Process Sciences
----- Original Message ----
From: "Gunter.Hartel@csl.com.au" <Gunter.Hartel@csl.com.au> To: chemical_engr@yahoo.com Sent: Thursday, September 14, 2006 11:45:49 PM Subject: RE: [jmp-l] Calling DLLs from JMP I have some data in NetCDF format that I want to bring into JMP. There are some libraries available to handle netCDF files and I was hoping to call them from within JMP to extract data. Right now I have to use utilities to extract the data to ascii and then read in the ascii files in JMP and merge them etc. I saw in the guide though that JMP can only pass a single parameter to the DLL function, which means most of the existing functions wonʼt work for me, unless I modify the C code and re-compile a new DLL. Even then it seems like it could be hard to work around the 1 parameter limitation. Iʼve used DLLʼs from within S (predecessor of R) and that worked great.
What has been you experience? Thanks Gunter
From: chem engineer [mailto:chemical_engr@yahoo.com]
i have experience with this ... what are you trying to accomplish ? ----- Original Message ---- I've never done that, but one of the times that I opened JMP today it proceeded to rapidly open JMP session after JMP session and sent me a weird message mentioning DLL's. Around the time that I had 34 JMP sessions running simultaneously (no data tables in any of them) I rebooted. (I'm not asking for an explanation. Everything was fine after rebooting. I've never seen that behavior before and hopefully won't see it again.) --
***************************************************************************************************************
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 ***************************************************************************************************************
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [[SPAM] Header Checking] - Calling DLLs from JMP - Email found in subject, Jesse Graves |
|---|---|
| Next by Date: | DLL question followup - calling complex DLLs in JMP, chemical_engr |
| Previous by Thread: | Re: Calling DLLs from JMP, Emil M Friedman |
| Next by Thread: | Re: [[SPAM] Header Checking] - Calling DLLs from JMP - Email found in subject, Jesse Graves |
| Indexes: | [Date] [Thread] [Top] [All Lists] |