Page 1 of 1

Using Structs for DLL Calls

Posted: Mon Nov 21, 2005 2:25 pm
by hess_joel
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

Posted: Mon Nov 21, 2005 4:42 pm
by sinan
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.