cormanaz has asked for the wisdom of the Perl Monks concerning the following question:
and the debugger indicates that I've got a valid instance of the object. So far so good. Now I am supposed to initialize the object with a keyphrase. When I try to do it like this$comobj = Win32::OLE->new("STATANPKG\.FDG3");
It doesn't work (yes, I've insured it's the correct keyphrase). The docs say the method is supposed to be ivoked using the following call$comobj->Init('the quick brown fox');
So I'm wondering if maybe wchar_t specifies some kind of strange windoze string format that does not match a single-quoted string in Perl, and that's why the call isn't working. Does anyone know what this format specifies and how I convert to that?void FDG3::Init(const wchar_t *keyphrase) //throw (Exception)
Many thanks....
Steve
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Initializing a COM object
by Corion (Patriarch) on Mar 22, 2005 at 19:52 UTC |