Re: win32std
| From: | Eric COLINET | Date: | Thu, 20 Nov 2003 10:16:37 +0000 |
| Subject: | Re: win32std | ||
| References: | 1 2 3 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-221@lists.php.net to get a copy of this message | ||
Hi Mike,
The function I would like to call is "EnumProcesses" in "psapi.dll" bool EnumProcesses( *int[] procs, int procsLength, *int realProcsLength)I know its ugly but doesn't it possible to 'fake' the int array by using a string of the correct size ?^^^^This array of integers is evil :o) - dunno how to declare that...
The res_* open allow the access to resource embeded in exe or dll files. Ok, figured aut that - but how to decode the info grabbed?res_get or res stream return the raw data. In fact bitmaps and icons are encoded just like files (.bmp, .ico) are, for version info and strings I don't know. Functions to open this type of resource exists but i don't know if it is really usefull.
If think it could be a good idea to add more Windows control functions like that in win32std. I'm open to suggestions about that. Well, I would appreciate a more generic way to call any win function, but it seems that that will be handled by ffi?You're right ! Eric