I am new to Installaware and I am converting some projects form Wise PRofessional to Installaware 5.1
I am a little confused about parameter types in the Call DLL Function.
It seem I have more options of parameters types in Wise then in InstallAware, in Wise I can pass in Types (short, word, long, dword, string pointer, short pointer, word pointer, long pointer, dword pointer and string buffer)
In Installaware, I seem to only have (bool, long,double word, pointer to string,pointer to bool. pointer to long, pointer to double word,allocated string buffer(MAX_PATH length)
In My existing Wise projec, I have a custom DLL that we use for validation. Several of these functions in the DLL pass in a short and return a short.
In InstallAware, I can return a word or a byte but I cannot pass a word or a short into the DLL function.
Is there a way around this?
Thanks for any help.
[/img]
DLL Parameters and Types
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Have you tried using long? I believe it would correspond to the word/short in Wise.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Well, why have types if they are interchangeable. The DLL seesm to require a Short or a word, How come these aren't listed in the parameter types that you can pass to the function? I would think that the list would be the same at least for parameters types that can be passsed in and passed out
Long did not work BTW....
I did try copying the line from the InstallAware IDE into Notepad. changing the long to word and pasting it back into the IDE just to see if I could make that type work, but no luck
Don't I have to give the DLL the parameter type it requires??
Thanks....
Long did not work BTW....
I did try copying the line from the InstallAware IDE into Notepad. changing the long to word and pasting it back into the IDE just to see if I could make that type work, but no luck

Don't I have to give the DLL the parameter type it requires??
Thanks....
Who is online
Users browsing this forum: Bing [Bot] and 170 guests