Post a reply to the thread: Syntax for calling DLL functions
Click here to log in
What's the name of our main installation product (in uppercase letters), directly followed by the current year?
You may choose an icon for your message from this list
Will turn www.example.com into [URL]http://www.example.com[/URL].
Re: Syntax for calling DLL functions David, Just leave Parameter Types and Function Parameters emtpy For example (in this case, call to a Windows API): Call DLL "kernel32.dll" -- Function "GetUserDefaultLCID" () () The %_SB_RETURN% variable holds the return value. BTW, there are interesting example scripts in the Examples package. http://www.lindersoft.com/sb6_Examples.exe We'll make new SetupBuilder 6.5 examples available next week. Does this help? Friedrich
Re: Syntax for calling DLL functions
Syntax for calling DLL functions I think I can see how to include my own DLL, and call its functions, except that I can't see how to input the argument and return value types (in particular the return value type) and assign the return value to a variable. In C++ my function (the first one I want to use) is DWORD _stdcall Function() (no arguments). David Webber [I may be running before I can walk here but I have been doing this sort of thing for ages with an old version of Wise Install Builder, which I'm now looking to replace.]
Syntax for calling DLL functions
Forum Rules