Using Structs for DLL Calls

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

Using Structs for DLL Calls

Post 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
sinan
Site Admin
Posts: 1035
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Post 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.
Post Reply