B
Benjamin Lukner
Hi!
I tried to enumerate the registry via RegOpenKeyEx / RegEnumKeyEx /
RegCloseKey ("W" versions). It works fine on PPC2003 (I tested 5
terminals from different manufacturers with CE.Net and PPC2003), but on
most PPC2002 (3 of 4 tested) I get a "native exception".
I use TRY / CATCH / END TRY, but the program crashes without handling
the error. It crashes at different keys of the registry.
On one Pocket PC 2002 it worked. Strange: on a nearly identical one it
crashed (Symbol PDT8146, one with Symbol and one with Avaya WLAN card).
Very strange: To find the location in the source code where it crashed I
inserted writing numbers into a file (wrapped WriteFile API call) before
and after the RegEnumKeyEx call. IT NEVER CRASHES WITH THAT EXTENSION!
After removing the WriteFile it crashed again.
Does anyone know a(nother) workaround for this problem?
Kind regards,
Benjamin Lukner
I tried to enumerate the registry via RegOpenKeyEx / RegEnumKeyEx /
RegCloseKey ("W" versions). It works fine on PPC2003 (I tested 5
terminals from different manufacturers with CE.Net and PPC2003), but on
most PPC2002 (3 of 4 tested) I get a "native exception".
I use TRY / CATCH / END TRY, but the program crashes without handling
the error. It crashes at different keys of the registry.
On one Pocket PC 2002 it worked. Strange: on a nearly identical one it
crashed (Symbol PDT8146, one with Symbol and one with Avaya WLAN card).
Very strange: To find the location in the source code where it crashed I
inserted writing numbers into a file (wrapped WriteFile API call) before
and after the RegEnumKeyEx call. IT NEVER CRASHES WITH THAT EXTENSION!
After removing the WriteFile it crashed again.
Does anyone know a(nother) workaround for this problem?
Kind regards,
Benjamin Lukner