- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have built a DLL with a Version resource in it and want to access it during the running of a program which is calling the DLL. The Version info routine that I've been using is accessing the version of the program fine, but I need the version number off the DLL.
Linda
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can get the handle (HINSTANCE/HMODULE) of a Dll either by:
* Using GetModuleHandle("DllName.dll"C), or
* Writing a DllMain routine and storing hModule argument, then reusing it later.
I believe that's the missing chain?
Jugoslav
* Using GetModuleHandle("DllName.dll"C), or
* Writing a DllMain routine and storing hModule argument, then reusing it later.
I believe that's the missing chain?
Jugoslav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, will give that a try and let you know.
Linda
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That was the key to getting it done, thanks.
Linda

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page