ERROR_RESOURCE_TYPE_NOT_FOUND error comes
- From: kkagarwal2002@xxxxxxxxx
- Date: Thu, 14 Feb 2008 00:18:06 -0800 (PST)
Hello Everybody,
I am unable to load the bitmap image in CListCtrl control. I made
application as follows:
1. Made DLL which contains resources like dialog, bitmap etc. by
having the multiple .rc files in a project.
2. Made a static lib project which contains classes for resources
which are in DLL. This lib is also having a dependency of DLL.
3. Made a 2 Exes which load that lib. It has a dialog which contains
CListCtrl. This control is populated by lib classes.
I am using VS2003. I am getting surprised result when i run two exes.
one exe shows bitmap in CListCtrl but other does not. I am loading the
bitmap in one of the class of static lib using LoadBitmap but it
returns 0 and when i tried to get error code, it gives 1813.
Can anybody help me on this issue?
Thanks in advance.
Kamal
.
- Follow-Ups:
- Re: ERROR_RESOURCE_TYPE_NOT_FOUND error comes
- From: David Ching
- Re: ERROR_RESOURCE_TYPE_NOT_FOUND error comes
- Prev by Date: Re: Error handling for a service.
- Next by Date: Re: Kill process ABC.exe
- Previous by thread: Error handling for a service.
- Next by thread: Re: ERROR_RESOURCE_TYPE_NOT_FOUND error comes
- Index(es):
Relevant Pages
|