Re: [Cegcc-devel] Add support for pimstore

2009-06-11 Thread Danny Backx
On Thu, 2009-06-11 at 00:02 +0200, Vincent R. wrote: > OK finally I found enough information from MSDN to rebuild the definitions > with the exceptions > of CEVT_ (I put in comment msdn url from which I got the information). > So please find the two includes and if I can find missing definition

Re: [Cegcc-devel] Add support for pimstore

2009-06-11 Thread Danny Backx
On Thu, 2009-06-11 at 10:10 +0200, Sébastien Lorquet wrote: > for my information, is the following an acceptable way to find unknown > constant values? > > > #include proper header > > > int main() { > printf("PIMPR_FIRST_NAME = %d",PIMPR_FIRST_NAME ); > } This is really just another way t

Re: [Cegcc-devel] Add support for pimstore

2009-06-11 Thread Pawel Veselov
(assume Pawel's drunk, plz) You were looking for a way to determine the values of some constants that I assume are hard to derive. Your code piece used compiled code to print out the value of an unknown constant. Without going deep into the nature of the problem, I've proposed using preprocessor f

Re: [Cegcc-devel] Add support for pimstore

2009-06-11 Thread Vincent R.
On Thu, 11 Jun 2009 17:15:40 +0900, Pawel Veselov wrote: > I would do that: > > [...@e03077]/tmp$ cat > /tmp/1.c > #include > _CTYPE_Q > [...@e03077]/tmp$ gcc -E /tmp/1.c |tail > {snip} > 0x0020L > [...@e03077]/tmp$ > Am I missing something ? what is 1.c ? why are you including ctype.h ? A

Re: [Cegcc-devel] Add support for pimstore

2009-06-11 Thread Pawel Veselov
I would do that: [...@e03077]/tmp$ cat > /tmp/1.c #include _CTYPE_Q [...@e03077]/tmp$ gcc -E /tmp/1.c |tail {snip} 0x0020L [...@e03077]/tmp$ On Thu, Jun 11, 2009 at 5:10 PM, Sébastien Lorquet wrote: > for my information, is the following an acceptable way to find unknown > constant values? >

Re: [Cegcc-devel] Add support for pimstore

2009-06-11 Thread Sébastien Lorquet
for my information, is the following an acceptable way to find unknown constant values? #include proper header int main() { printf("PIMPR_FIRST_NAME = %d",PIMPR_FIRST_NAME ); } Regards Sebastien (PS: sorry vincent for my email, it was for the list but gmail failed the "reply to the list" ) -

Re: [Cegcc-devel] Add support for pimstore

2009-06-10 Thread Vincent R.
OK finally I found enough information from MSDN to rebuild the definitions with the exceptions of CEVT_ (I put in comment msdn url from which I got the information). So please find the two includes and if I can find missing definitions I will let you know.#ifndef _MAPIDEFS_H #define _MAPIDEFS_H

Re: [Cegcc-devel] Add support for pimstore

2009-06-10 Thread Danny Backx
On Wed, 2009-06-10 at 14:54 +0200, Vincent R. wrote: > For instance to set a contact property : > > err = GDAbItem_SetProperty(pAbItem, eAbFirstName, _T("Vincent") ); > > eAbFirstName is an enum defined as > > ... > eAbFirstName = PIMPR_FIRST_NAME, > ... > > > The pro

[Cegcc-devel] Add support for pimstore

2009-06-10 Thread Vincent R.
Hi, I started to write a multiplateform framework called gynoid aiming at wrapping specific API from mobile phones running wince, symbian, iPhone, ... see here http://www.codeproject.com/KB/mobile/gynoid.aspx I started with the platform I know the best and I wanted to add support for address book