Call Dll Function does not accepts NULL pointer as parameter.. PLESE HELP!
I absolute need to call a function within a dll that require a NULL pointer as function parameter, but I have tried everything ...seems that CALL DLL FUNCTION, does not handle NULL Pointer parameter.
I have serched on the forum to see if anybody else have found the same problem, I found one ....
"http://www.installaware.com/forum/viewt ... ter#p20987" ...
but he have not received an answer.
I can't imagine that IA can not handle this foundamental feature ... a lot of Win API requires a null pointer as parameter.
Please help!
Call Dll Function does not accepts NULL pointer parameter..
-
FrancescoT
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Call Dll Function does not accepts NULL pointer parameter..
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
-
FrancescoT
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Call Dll Function does not accepts NULL pointer paramete
Problem Solved!
Using long as parameter type and NULL as value .... this way have to be used for any kind of DLL Function parameter that require a NULL pointer.

Using long as parameter type and NULL as value .... this way have to be used for any kind of DLL Function parameter that require a NULL pointer.
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

