Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - COM Automation Error when using AddIcon/AddBitmap
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

COM Automation Error when using AddIcon/AddBitmap

 Post Reply Post Reply
Author
Message
GernotH View Drop Down
Newbie
Newbie


Joined: 06 December 2011
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote GernotH Quote  Post ReplyReply Direct Link To This Post Topic: COM Automation Error when using AddIcon/AddBitmap
    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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.