Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » Problem when using LoadBMP_Resource to load an icon! Collapse All
Subject Author Date
Bangjun Lei Oct 15, 2007 - 6:42 AM

Dear Sir./Madam.,

I’m using LoadBMP_Resource to load an icon resource into my program. It always fails (at FindResource in CExtResourceManager::FindResourceHandle). However, I can use theApp.LoadIcon to load it. What is the problem here? What should I do then?

Thanks!

Technical Support Oct 15, 2007 - 8:28 AM

It seems you are using Prof-UIS statically but did not include Prof-UIS resources. Please read How to link statically with Prof-UIS?. If it is not the case, please let us know.

Bangjun Lei Oct 15, 2007 - 9:11 AM

Thanks! But I’m loading an Icon of myself. It sits in my resource file.