Take a look at appointment.cs file. There are IAppointment_* P/Invoke
declarations in the bottom, add here IAppointment_put_Start,
IAppointment_put_End (see file pocketoutlook.cpp). You should know that
one of parameter is DATE that defined as double. Double cannot be
marshaled by value in the CF.NET, you should pass it by reference:
[ DllImport("PocketOutlook.dll", EntryPoint="IAppointment_put_Start") ]
private static extern int do_put_Start(IntPtr self, ref double start);
Hope this help,
Sergey Bogdanov
http://www.sergeybogdanov.com
I have compiled dll from POOMClient
i can create an appointment, but how can i set the starting and ending time
for it?
thanks a lot!!!