Using Structs for DLL Calls

Got a problem you cannot solve? Try here.
hess_joel
Posts: 47
Joined: Mon Nov 21, 2005 1:52 pm
Location: Eden Prairie, MN

Using Structs for DLL Calls

Postby hess_joel » Mon Nov 21, 2005 2:25 pm

I have an existing DLL that I need to call from my installer that is currently using a struct to pass a set of parameters into it. I didn't see anything in installAware that looked like it would allow me to create a structure.

Any thoughts?
Joel Hess

sinan
Site Admin
Posts: 1028
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Postby sinan » Mon Nov 21, 2005 4:42 pm

I believe this will work if you list each member of your struct one by one as a seperate value in the parameters interface, as if they were seperate parameters. All of these parameters are pushed onto the stack, so it should work.


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 106 guests