COM Automation Error when using AddIcon/AddBitmap |
Post Reply |
Author | |
GernotH
Newbie Joined: 06 December 2011 Status: Offline Points: 6 |
Post Options
Thanks(0)
Posted: 04 June 2012 at 4:39am |
We are using custom icons for events in our application.
When we use the IconManager with LoadIcon everything works fine but for that we would have to deploy the icon files aswell (which we would prefer not to). When we use AddIcon the applikation crashes sometimes with the error: "COM Automation has signalled a Numeric Overflow error". But the icon handle used for the function is correct and working. Same problem when we try to use AddBitmap. Did anyone else encounter this problem and/or has a solution for it? Is there a sample available for using LoadIconFromResource? Gernot |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |