How to create a localised MFC resources DLL?
-
Anyone knows how to create a separate MFC resources dll using VS6? I tried using the Dynamic DLL AppWizard to create an empty dll project, added a dialog and saved it into a new .rc file, and added this new .rc file to the project; but when i tried to compile it showed me a link error LNK2001: unresolved external symbol __DllMainCRTStartup@12. I think it's expecting the usual DLLMain functions, but i want to avoid that. Any ideas anyone?
-
Anyone knows how to create a separate MFC resources dll using VS6? I tried using the Dynamic DLL AppWizard to create an empty dll project, added a dialog and saved it into a new .rc file, and added this new .rc file to the project; but when i tried to compile it showed me a link error LNK2001: unresolved external symbol __DllMainCRTStartup@12. I think it's expecting the usual DLLMain functions, but i want to avoid that. Any ideas anyone?
-
Ok i found out my mistake - i left out the /noentry link option to prevent the linker referring to the DLLMain function.
I also think on occasion these types of files are given the extension
.RLL
so that they are not summarily loaded by other programs. Just a thought if you have any say in the matter. -
Ok i found out my mistake - i left out the /noentry link option to prevent the linker referring to the DLLMain function.
Hi, I am going through same issue. I have used /noentry link option but still issue is there. Platform: eVC++ 4.2 SDK: pocket pc 2003 Any idea? Thanks in advance
Parag Patel Sr. Software Eng, Varaha Systems