Read contacts Pocket outlook wm5
Read contacts Pocket outlook wm5
How can read the entire list of contacts
in wm5 / 6 with FWPPC
Thanks in advance
in wm5 / 6 with FWPPC
Thanks in advance
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Please try this:
http://support.microsoft.com/kb/265771/es
Code: Select all
#include "fwce.CH"
function Main()
MsgInfo( ValType( CreateObject( "PocketOutlook.Application" ) ) )
return nil
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
EXCUSE ME, NOW MI FROM THIS ERROR
poutlook.c
hbw32.lib(w32ole.obj) : error LNK2005: HB_FUN_ANSITOWIDE already defined in Five
CEC.lib(FWCE.obj)
hbw32.lib(w32ole.obj) : error LNK2005: HB_FUN_WIDETOANSI already defined in Five
CEC.lib(FWCE.obj)
hbw32.lib(w32ole.obj) : warning LNK4006: HB_FUN_ANSITOWIDE already defined in Fi
veCEC.lib(FWCE.obj); second definition ignored
hbw32.lib(w32ole.obj) : warning LNK4006: HB_FUN_WIDETOANSI already defined in Fi
veCEC.lib(FWCE.obj); second definition ignored
Creating library poutlook.lib and object poutlook.exp
poutlook.exe : fatal error LNK1169: one or more multiply defined Symbols found
poutlook.c
hbw32.lib(w32ole.obj) : error LNK2005: HB_FUN_ANSITOWIDE already defined in Five
CEC.lib(FWCE.obj)
hbw32.lib(w32ole.obj) : error LNK2005: HB_FUN_WIDETOANSI already defined in Five
CEC.lib(FWCE.obj)
hbw32.lib(w32ole.obj) : warning LNK4006: HB_FUN_ANSITOWIDE already defined in Fi
veCEC.lib(FWCE.obj); second definition ignored
hbw32.lib(w32ole.obj) : warning LNK4006: HB_FUN_WIDETOANSI already defined in Fi
veCEC.lib(FWCE.obj); second definition ignored
Creating library poutlook.lib and object poutlook.exp
poutlook.exe : fatal error LNK1169: one or more multiply defined Symbols found
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
grazie mille
adesso non mi da errore in compilazione,
pero non riesco a leggere i contatti da poutlook
hai qualche esempio?
questo non funziona
thanks thousand now not me from error in compilation, however don't I succeed in reading the poutlook contacts you have some example?
this doesn't work
#include "fwce.CH"
function Main()
local pOLA
local pContact
local pItems
local olFolderContacts := 10
pOLA=CreateObject( "PocketOutlook.Application" )
pContact=CreateObject( "PocketOutlook.ContactItem" )
pItems=CreateObject( "PocketOutlook.Items" )
pItems = pOLA.GetDefaultFolder(olFolderContacts).Items
For i = 1 To pItems.Count
pContact = pItems.Item(i)
msginfo(pContact.FileAs)
Next i
* MsgInfo( ValType( CreateObject( "PocketOutlook.Application" ) ) )
return nil
adesso non mi da errore in compilazione,
pero non riesco a leggere i contatti da poutlook
hai qualche esempio?
questo non funziona
thanks thousand now not me from error in compilation, however don't I succeed in reading the poutlook contacts you have some example?
this doesn't work
#include "fwce.CH"
function Main()
local pOLA
local pContact
local pItems
local olFolderContacts := 10
pOLA=CreateObject( "PocketOutlook.Application" )
pContact=CreateObject( "PocketOutlook.ContactItem" )
pItems=CreateObject( "PocketOutlook.Items" )
pItems = pOLA.GetDefaultFolder(olFolderContacts).Items
For i = 1 To pItems.Count
pContact = pItems.Item(i)
msginfo(pContact.FileAs)
Next i
* MsgInfo( ValType( CreateObject( "PocketOutlook.Application" ) ) )
return nil
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re:
A mi, este código me da este error:Antonio Linares wrote:Code: Select all
#include "fwce.CH" function Main() MsgInfo( ValType( CreateObject( "PocketOutlook.Application" ) ) ) return nil
TOLEAUTO:NEW
Args:
[ 1] = C PocketOutlook.Application
stack calls:
THROW(77)
TOLEAUTO:NEW(245)
CREATEOBJECT(90)
MAIN(5)
Mi abuelo decía: Los aviones vuelan porque Dios quiere, y los helicópteros ni Dios sabe porque vuelan.
FWH 16.02, xHarbour 1.2.3, Harbour 3.2.0, WorkShop 4.5, AJ Make 0.30, Borlan BCC 7.00, VisualStudio 2013
FWH 16.02, xHarbour 1.2.3, Harbour 3.2.0, WorkShop 4.5, AJ Make 0.30, Borlan BCC 7.00, VisualStudio 2013
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Read contacts Pocket outlook wm5
Ese objeto no esta disponible, por eso no se puede crear el objeto OLE y de ahi el error.
Parece que existe una libreria para leer los ficheros PST directamente:
http://freshmeat.net/projects/libpst/?topic_id=31
Ahora hay que revisar el codigo fuente, que es abierto:
http://www.five-ten-sg.com/libpst/
Parece que existe una libreria para leer los ficheros PST directamente:
http://freshmeat.net/projects/libpst/?topic_id=31
Ahora hay que revisar el codigo fuente, que es abierto:
http://www.five-ten-sg.com/libpst/
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Read contacts Pocket outlook wm5
Accediendo a los contactos usando C#:
http://www.codeguru.com/csharp/csharp/c ... php/c10773
Posiblemente podamos adaptarlo a FWPPC
http://www.codeguru.com/csharp/csharp/c ... php/c10773
Posiblemente podamos adaptarlo a FWPPC
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Read contacts Pocket outlook wm5
Como comienzo, no podemos usarlo en WM2003. Desde el WM5 en adelante:
Unfortunately Microsoft.WindowsMobile.PocketOutlook is not supported on PPC 2003 SE, it is supported in Windows Mobile 5.0 and higher versions only.