This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Installscript - Read Values From A Dll File
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 14, 2008
12:21 AM
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. 🙂
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. 🙂
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 14, 2008
01:40 AM
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.
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.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 14, 2008
06:47 AM
You will need to prototype your DLL functions using the following format:
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.
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.
![](/skins/images/DB0B6F26716B01F5F6A5A5B88A56CD11/responsive_peak/images/icon_anonymous_message.png)