POOM Appointments

G

Guest

Anybody has implemented POOM Appointments with Start Date property?

I've seen Microsoft example and does not include this property. I know there
are good 3rd party libraries, but, any free solution?

Thanks in advance,
Ray
 
S

Sergey Bogdanov

You can modify it manually by adding the following method into
pocketoutlook.cpp (and don't forget to add header to .h file) something
like this:

HRESULT
IAppointment_put_Start(IAppointment* thisPtr,
double *start)
{
return thisPtr->put_Start(*start);
}

and recompile eVC project. Then from .NET call it like this:

[ DllImport("PocketOutlook.dll", EntryPoint="IAppointment_put_Start") ]
private static extern int put_Start(ref double self);
 
G

Guest

I have problems to compile the eVC project, this errors appears:

"pocketoutlook.obj : error LNK2019: unresolved external symbol SysFreeString
referenced in function IRecipient_put_Address
pocketoutlook.obj : error LNK2019: unresolved external symbol SysAllocString
referenced in function IRecipient_put_Address
pocketoutlook.obj : error LNK2019: unresolved external symbol
CoCreateInstance referenced in function IPOutlookApp_Create
ARMV4Dbg/PocketOutlook.dll : fatal error LNK1120: 3 unresolved externals"

Any idea? I'm newbie with eVC++.

Thanks,
Ray

P.S.: I'm using eVC++ 4, and trying to make a dll for PPC 2003 ARMV4 device.


Sergey Bogdanov said:
You can modify it manually by adding the following method into
pocketoutlook.cpp (and don't forget to add header to .h file) something
like this:

HRESULT
IAppointment_put_Start(IAppointment* thisPtr,
double *start)
{
return thisPtr->put_Start(*start);
}

and recompile eVC project. Then from .NET call it like this:

[ DllImport("PocketOutlook.dll", EntryPoint="IAppointment_put_Start") ]
private static extern int put_Start(ref double self);


--
Sergey Bogdanov
http://www.sergeybogdanov.com

Anybody has implemented POOM Appointments with Start Date property?

I've seen Microsoft example and does not include this property. I know there
are good 3rd party libraries, but, any free solution?

Thanks in advance,
Ray
 
S

Sergey Bogdanov

It seems that there is no libraries in the Link tab:
1. press Alt + F7 (Project Settings)
2. go to the fourth tab - Link
3. make sure that you have the following libs in the Object/library
modules textbox:
"ole32.lib oleaut32.lib commctrl.lib coredll.lib"

--
Sergey Bogdanov
http://www.sergeybogdanov.com

I have problems to compile the eVC project, this errors appears:

"pocketoutlook.obj : error LNK2019: unresolved external symbol SysFreeString
referenced in function IRecipient_put_Address
pocketoutlook.obj : error LNK2019: unresolved external symbol SysAllocString
referenced in function IRecipient_put_Address
pocketoutlook.obj : error LNK2019: unresolved external symbol
CoCreateInstance referenced in function IPOutlookApp_Create
ARMV4Dbg/PocketOutlook.dll : fatal error LNK1120: 3 unresolved externals"

Any idea? I'm newbie with eVC++.

Thanks,
Ray

P.S.: I'm using eVC++ 4, and trying to make a dll for PPC 2003 ARMV4 device.


:

You can modify it manually by adding the following method into
pocketoutlook.cpp (and don't forget to add header to .h file) something
like this:

HRESULT
IAppointment_put_Start(IAppointment* thisPtr,
double *start)
{
return thisPtr->put_Start(*start);
}

and recompile eVC project. Then from .NET call it like this:

[ DllImport("PocketOutlook.dll", EntryPoint="IAppointment_put_Start") ]
private static extern int put_Start(ref double self);


--
Sergey Bogdanov
http://www.sergeybogdanov.com

Anybody has implemented POOM Appointments with Start Date property?

I've seen Microsoft example and does not include this property. I know there
are good 3rd party libraries, but, any free solution?

Thanks in advance,
Ray
 
G

Guest

Thanks Sergey, now works fine.

Regards,
Ray

Sergey Bogdanov said:
It seems that there is no libraries in the Link tab:
1. press Alt + F7 (Project Settings)
2. go to the fourth tab - Link
3. make sure that you have the following libs in the Object/library
modules textbox:
"ole32.lib oleaut32.lib commctrl.lib coredll.lib"

--
Sergey Bogdanov
http://www.sergeybogdanov.com

I have problems to compile the eVC project, this errors appears:

"pocketoutlook.obj : error LNK2019: unresolved external symbol SysFreeString
referenced in function IRecipient_put_Address
pocketoutlook.obj : error LNK2019: unresolved external symbol SysAllocString
referenced in function IRecipient_put_Address
pocketoutlook.obj : error LNK2019: unresolved external symbol
CoCreateInstance referenced in function IPOutlookApp_Create
ARMV4Dbg/PocketOutlook.dll : fatal error LNK1120: 3 unresolved externals"

Any idea? I'm newbie with eVC++.

Thanks,
Ray

P.S.: I'm using eVC++ 4, and trying to make a dll for PPC 2003 ARMV4 device.


:

You can modify it manually by adding the following method into
pocketoutlook.cpp (and don't forget to add header to .h file) something
like this:

HRESULT
IAppointment_put_Start(IAppointment* thisPtr,
double *start)
{
return thisPtr->put_Start(*start);
}

and recompile eVC project. Then from .NET call it like this:

[ DllImport("PocketOutlook.dll", EntryPoint="IAppointment_put_Start") ]
private static extern int put_Start(ref double self);


--
Sergey Bogdanov
http://www.sergeybogdanov.com


Ray wrote:

Anybody has implemented POOM Appointments with Start Date property?

I've seen Microsoft example and does not include this property. I know there
are good 3rd party libraries, but, any free solution?

Thanks in advance,
Ray
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top