How to call a dll from MFC SDI application?
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
Hi, I don't have any experience with dlls. I have created a resource only dll and I want to call the resources from a different project, a SDI application. How do I so that? Please reply
first you need to load the resource dll using loadlibrary and get its instance handle. Now this instance handle should be supplied to ::LoadIcon ::LoadString etc where ever it is necessary, The resource.h file of the resource only dll should be #inclueded in ur sdi application, be carefull it may clash with ur sdi resource.h file too. there are other apis releated to resoruce handling you can refer MSDN for that. My God is more powerfull Than Your God. (the line that divides the world)