DLL Parameters and Types
Posted: Mon Feb 27, 2006 2:38 pm
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]
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]