Call Dll Function does not accepts NULL pointer parameter..

Got a problem you cannot solve? Try here.
Post Reply
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Call Dll Function does not accepts NULL pointer parameter..

Post by FrancescoT »

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!
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
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Call Dll Function does not accepts NULL pointer paramete

Post by FrancescoT »

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.

:D
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
Post Reply