M
MS-Dev
Hello,
I apologize if this has been asked and answered...
I created a dll in eVC++ 4.0 (SP4) for use as an icon library for a CF
application I'm working on (VB). There are 3 icon resources in the dll
(100,101, and 102). I'm using LoadLibrary and LoadIcon to grab different
icons based on events in the app and using them in a call to a notification
class created based on an article I read on MSDN (I'm hoping to eventually
look into getting the Icon property in the OpenNetCF NotifyIcon to cooperate
with me). This all works great in the VS.NET standard emulator. The icons
load and unload, I can see the HInstance, and HIcon in the autos window when
I add a breakpoint, etc, etc...
Now when I load the same application in an SDK emulator for a CE 5.0 build,
everything is always null. I'm guessing it's the emulator build, or some
incompatibility between my dll and CE 5.0 or something, but before I go down
that path does anyone else have any ideas?
TIA,
Laslo
I apologize if this has been asked and answered...
I created a dll in eVC++ 4.0 (SP4) for use as an icon library for a CF
application I'm working on (VB). There are 3 icon resources in the dll
(100,101, and 102). I'm using LoadLibrary and LoadIcon to grab different
icons based on events in the app and using them in a call to a notification
class created based on an article I read on MSDN (I'm hoping to eventually
look into getting the Icon property in the OpenNetCF NotifyIcon to cooperate
with me). This all works great in the VS.NET standard emulator. The icons
load and unload, I can see the HInstance, and HIcon in the autos window when
I add a breakpoint, etc, etc...
Now when I load the same application in an SDK emulator for a CE 5.0 build,
everything is always null. I'm guessing it's the emulator build, or some
incompatibility between my dll and CE 5.0 or something, but before I go down
that path does anyone else have any ideas?
TIA,
Laslo