|
|
#1 |
|
Junior Member
Join Date: Jan 2009
Posts: 5
|
Calling external Functions with System::Call
Hi, I have a problem using a function in a third Party-dll. In fact I have two problems ;-)
1. I do not have a documentation about the external lib. 2. I dont understand the syntax of the System::Call call. but I have found an example Install Shild Script where the functions I have to call, are used. So maybe anyone of you can help me with that. Ok, lets start with the three functions I have to call: in install script they are defined the following: code: And here is a function which calls the functions in the dll (also from install shild) code: Thanks for any advise or help you can give. Marco |
|
|
|
|
|
#2 |
|
Junior Member
Join Date: Jan 2009
Posts: 5
|
Ok, here's my first try:
code: but this doesn't work: $3 is empty after the first System::Call Edit: I found an error.. still trying Edit: mhh the return value from the first function call is -1 best regards Marco Last edited by MarWestermann; 19th January 2009 at 21:37. |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Jan 2009
Posts: 5
|
Ok, I got it, for my purposes I only need the function GlmsFileSetupKeys which in c is defined as
long GlmsFileSetupKeys(char*, char*, char*) so my call is: System::Call 'glms::GlmsFileSetupKeys(t r0, t r1, t r2) l .r3' bye Marco |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|