Re: win32api

Frédéric <[email protected]> Tue, 8 Apr 2008 09:01:55 +0200 (CEST)
Newsgroups gmane.comp.python.windows-ce
Message-ID <[email protected]>
Le 8/4/2008, "Luke Dunstan" <[email protected]> a écrit:

>Generally speaking, if I were you I would avoid pywin32 and use ctypes for
>accessing the Win32 API, because it is included in both Python 2.5 and
>PythonCE 2.5. You would still need to handle differences between Windows and
>Windows CE though, e.g. Unicode vs ANSI, kernel32 vs coredll, etc.

Thanks for the advice.

>However, in this specific case that will not solve the problem because
>Windows CE does not have any concept of environment variables, multiple
>users or home directories.

Ok. So, what is the correct way to do that? Where should I put the config
file? How do I retreive the path?