Keep It Simple, Stupid | |
PerlMonks |
Win32::API : Creating a LPCWSTR type input parameter from a stringby ajose (Acolyte) |
on Aug 23, 2011 at 17:37 UTC ( [id://921950]=perlquestion: print w/replies, xml ) | Need Help?? |
ajose has asked for the wisdom of the Perl Monks concerning the following question: Hi I am just beginner in using the Perl module Win32::API. I could successfully invoke the Win32 API's and parse the return values using this module. But now I am stuck at a point where I have to invoke the API with a parameter of data type LPCWSTR as an input parameter. I tried following method to achieve the same.
API declaration:
Output is:
Please help me by suggesting any work around to convert the string to LPCWSTR format before invoking the API. Also output of this API call is also a pointer type(LPWSTR). Hence please help me here also.
Back to
Seekers of Perl Wisdom
|
|