Re: ERROR_RESOURCE_TYPE_NOT_FOUND error comes

Tech-Archive recommends: Fix windows errors by optimizing your registry



<kkagarwal2002@xxxxxxxxx> wrote in message
news:27c62fd1-015c-466b-be44-c1ff11ead814@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello David,

Thanks for prompt reply. Actually My exe also has resources and my DLL
also has resources so when i will do AfxSetResourceHandle from Exe to
DLL then my exe resource will not be used. I want to escape from that
situation.

Do you have any other alternative approach?


Perhaps it's related to one .exe having MFC dynamically linked, and the
other having it statically linked? I'm not sure whether the chain of
extension DLL's (accessed through CDynLinkLibrary) require the .exe to be
dynamically linked, so that the same MFC is shared by both the .exe and the
..dll.

-- David


.



Relevant Pages

  • Re: Localization of my MFC application
    ... We create a set of resource files for each separate program (.EXE, .DLL, ... My resources are not so large that it makes a big ... > We have an application which has an exe and uses two MFC extension DLLs ...
    (microsoft.public.vc.mfc)
  • Re: ERROR_RESOURCE_TYPE_NOT_FOUND error comes
    ... This lib is also having a dependency of DLL. ... locale ID, and if not found, is defaulted to the app .exe itself. ... Actually My exe also has resources and my DLL ...
    (microsoft.public.vc.mfc)
  • Re: ERROR_RESOURCE_TYPE_NOT_FOUND error comes
    ... Made DLL which contains resources like dialog, ... Made a static lib project which contains classes for resources ... This control is populated by lib classes. ... locale ID, and if not found, is defaulted to the app .exe itself. ...
    (microsoft.public.vc.mfc)
  • Re: open an .exe file for its resources
    ... In one of Mike Blaszczak's books for VC++ 6.0, he said we can File/Open an executable file (.exe or .dll) and then edit the resources in the executable's immage. ...
    (microsoft.public.vc.mfc)
  • Re: How to load resorces of a form that is not loaded
    ... But I don't need to update the exe when the exe is already running. ... I have to add the resources at compilation, when I have the resources that I ... picture on a form) using the VB resource editor, ...
    (microsoft.public.vb.general.discussion)