Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / August 2006

Tip: Looking for answers? Try searching our database.

DLL Class and Resource

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Steve Wheeler - 30 Aug 2006 06:00 GMT
Hi -
I am trying to create a dll with an embedded class that I create from my
/exe, this is no problem, but I also want to have a RT_RCDATA resource
embedded in the dll that can be accessed from the .exe so what I am
lookingto do is create a kind of hybird resource dll / extension dll. My
development environment is vc7 / unmanaged. Can this be done - it would mean
I only have to ship 1 dll vs 2 dll's (resource only and win32) with my exe.

Thanks
William DePalo [MVP VC++] - 30 Aug 2006 15:42 GMT
> I am trying to create a dll with an embedded class that I create from my
> /exe, this is no problem, but I also want to have a RT_RCDATA resource
[quoted text clipped - 3 lines]
> mean I only have to ship 1 dll vs 2 dll's (resource only and win32) with
> my exe.

Assuming that the executable implicitly or explicitly loads the DLL I can
think of no reason why it shouldn't work. Of course, passing the proper
instance handle (the DLL's in your case) to the function that loads the
resource makes all the difference.

You speak of "extension" DLL. Is this an MFC DLL? If so, you might want to
post again in an MFC group to see if there are constraints or conventions
imposed by the class library that you have to deal with.

Regards,
Will

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.