Re: [COM ?] ActiveSync provider & POOM issues by Paul
Paul
Mon Jul 12 07:25:13 CDT 2004
I suggest you use the registry editor to see if there is an entry for
[HKEY_CLASSES_ROOT\CLSID\{05058F23-20BE-11D2-8F18-0000F87A4335}] on the
device
Ensure there is at least InProcServer32 registry key with a default value of
pimstore.dll
If is it not there then you will need to register the PIMSTORE.DLL by
calling the DLLRegisterServer exported by pimstore.dll
It is also possible you might need to change your entry for
CLSCTX_INPROC_SERVER to CLSCTX_ALL.
Paul
www.toddsoftware.com
"Tobias" <Tobias@discussions.microsoft.com> wrote in message
news:2668D3C1-B305-45A4-83CF-F77152DFF1F4@microsoft.com...
> Hello again,
>
> Did you try to define the "DEFINE_GUID" command in "pimstore.h" by hand.
> As i refer,
> there are comliler problems by interpreting the IID_IPOutlookApp
> parameter.
>
> The IID_IPOutlookApp is a Reference to the identifier of the interface to
> be used to communicate with the object. That is the Pocket Outlook Main
> Object.
>
> So try to define the DEFINE_GUID command by hand in the following manner:
>
> This is the current definition in "pimstore.h":
>
> DEFINE_GUID (IID_IPOutlooApp, 0x?, 0x?, 0x?, 0x?, 0x?, 0x?, 0x?, 0x?, 0x?,
> 0x?, 0x?);
>
> Try to define it that way:
>
> EXTERN_C const GUID IID_IPOutlookApp{ 0x?, 0x?, 0x?, {0x?, 0x?, 0x?, 0x?,
> 0x?, 0x?, 0x?, 0x?} };
> It's the same because DEFINE_GUID is defined that way in "objbase.h" which
> is included
> in your project.
>
> The interrogation mark represents a value which you find in "pimstore.h"
> where the
> definition of IID_IPOutlookApp is made.
>
> (To find the definition of IID_IPOutlookApp mark the parameter by double
> clicking and
> use the popup option "Go To Definition Of IID_IPOutlookApp" or any other
> way...).
>
> If you don't do so, the error message looks like this:
>
> OutlookAccess.obj : error LNK2001: unresolved external symbol
> _IID_IPOutlookApp
> X86EMDbg/OutlookAccess.exe : fatal error LNK1120: 1 unresolved externals
> Error executing link.exe.
> Creating browse info file...
>
> Hope this will help you!
>
> Best Regards,
> Tobias