Read contacts Pocket outlook wm5

Read contacts Pocket outlook wm5

Postby xfood » Sat Aug 09, 2008 10:05 am

How can read the entire list of contacts
in wm5 / 6 with FWPPC
Thanks in advance
xfood
 
Posts: 96
Joined: Tue Jun 17, 2008 9:02 pm

Postby Antonio Linares » Sat Aug 09, 2008 1:19 pm

Please try this:
Code: Select all  Expand view
#include "fwce.CH"

function Main()

   MsgInfo( ValType( CreateObject( "PocketOutlook.Application" ) ) )

return nil

http://support.microsoft.com/kb/265771/es
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby xfood » Sat Aug 09, 2008 1:42 pm

buildce poutlook

Creating library poutlook.lib and object poutlook.exp
poutlook.obj : error LNK2001: unresolved external symbol HB_FUN_CREATEOBJECT
poutlook.exe : fatal error LNK1120: 1 unresolved externals
xfood
 
Posts: 96
Joined: Tue Jun 17, 2008 9:02 pm

Postby Antonio Linares » Sat Aug 09, 2008 2:02 pm

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby xfood » Sat Aug 09, 2008 3:35 pm

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
xfood
 
Posts: 96
Joined: Tue Jun 17, 2008 9:02 pm

Postby xfood » Sat Aug 09, 2008 5:42 pm

MI YOU CAN HELP?
now with that lib [hbw32.lib] me from error as from post above, does it serve me a system to read all the contacts of the ppc and can to put them in a chart dbf point out me how to do with FWPPC?
thanks thousand
xfood
 
Posts: 96
Joined: Tue Jun 17, 2008 9:02 pm

Postby Antonio Linares » Sat Aug 09, 2008 7:22 pm

We email you some new files
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby xfood » Sun Aug 10, 2008 9:16 am

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
xfood
 
Posts: 96
Joined: Tue Jun 17, 2008 9:02 pm

Postby Antonio Linares » Mon Aug 11, 2008 3:15 pm

If you get an error on this line:

MsgInfo( ValType( CreateObject( "PocketOutlook.Application" ) ) )

then it means that PocketOutlook is not available (not installed?)

Maybe we need to use ADOCE to read the contacts database.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby xfood » Mon Aug 11, 2008 4:35 pm

where I find ADOCE to give it a try?
xfood
 
Posts: 96
Joined: Tue Jun 17, 2008 9:02 pm

Postby Antonio Linares » Mon Aug 11, 2008 11:43 pm

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re:

Postby JmGarcia » Sun Mar 15, 2009 8:11 pm

Antonio Linares wrote:
Code: Select all  Expand view

#include "fwce.CH"
function Main()
   MsgInfo( ValType( CreateObject( "PocketOutlook.Application" ) ) )
return nil
 


A mi, este código me da este error:

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
User avatar
JmGarcia
 
Posts: 654
Joined: Mon May 29, 2006 3:14 pm
Location: Madrid - ESPAÑA

Re: Read contacts Pocket outlook wm5

Postby Antonio Linares » Sun Mar 15, 2009 8:34 pm

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/
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Read contacts Pocket outlook wm5

Postby Antonio Linares » Sun Mar 15, 2009 8:45 pm

Accediendo a los contactos usando C#:

http://www.codeguru.com/csharp/csharp/c ... php/c10773

Posiblemente podamos adaptarlo a FWPPC
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Read contacts Pocket outlook wm5

Postby Antonio Linares » Sun Mar 15, 2009 9:21 pm

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.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Next

Return to FiveWin para Pocket PC

Who is online

Users browsing this forum: No registered users and 9 guests