cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
tech_is
Level 5

Installscript - Read Values From A Dll File

Hi,

Is there any way that we can retrieve values from a .dll file, which I have in the set of application files (which are going to be installed).

Is there any installscript function to get this done?

Thanks in advance. 🙂
Labels (1)
0 Kudos
(2) Replies
shontu
Level 4

If tou are using InstallScript, then see UseDLL functionality.
Through this function you can load the dll and then call its functions. Then if any functions returns through its OUT parametrs then usually this will work for you.
0 Kudos
esiemiat
Level 9

You will need to prototype your DLL functions using the following format:
prototype  Mydll.MydllReturn (INT, POINTER);


Of course the paramters may be different, but this should cover it. Take a look the USEDLL example in the InstallShield help, it should be enough to get you started.
0 Kudos