I need to call a C/C++ DLL function using rundll32.exe. One of the arguments to this utility is the list of arguments actually passed to the exported (entry point) function.
Is it possible to pass the address of parameters or variables used in IB as argument to the exported function?
To put it in other words, what is the syntax to get the address of a parameter (or) variable in IB?
asked 06 Aug '12, 08:51
Unfortunately it is not possible - InstallBuilder does not offer access to the variables' internal storage.
If you need to call a DLL with more complex data, we recommend creating a small .exe file that does the same thing and properly maps arguments to the binary to match the library's entry point arguments. It should then be just a
answered 06 Aug '12, 09:31
Thanks for the quick response.
I am not sure if I have conveyed across my requirement. Let me put it again little differently.
The intention of passing the address of IB variable to the DLL function is to use the same IB variable with modified value as an input to a predefined action of IB for example to update a parameter in an INI file. Since the variable's value has to be captured in a screen which couldn't be designed using IB, we have to go for a DLL that provides the screen.
If my understanding is correct, it is not possible using IB right?
answered 06 Aug '12, 09:43