![]() |
|
Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: "pointers" for calling a DLLby chinman (Monk) |
on Feb 11, 2003 at 13:37 UTC ( [id://234395]=note: print w/replies, xml ) | Need Help?? |
Hey, thanks to everyone for your help so far...I think I'm almost there. I can get the methods that reference either longs or doubles to work.
I'm still having problems with any method requires a pointer to a string. I am referring to the usage under the dispinterface IXRawfile in the OLEview. For the GetFileName method it is:
Now if I look in the user documentation for the library it says that "the pbstrFileName variable is a valid pointer to a BSTR variable. This variable must exist and be initialized to NULL." My question is, does this bit of code initialize this variable to NULL? I can't see any reason why this should not work...dang.
Thanks, chinman
In Section
Seekers of Perl Wisdom
|
|