GDRichards
asked on
Dynamic Resources outside of the EXE or DLL
Is there a way of loading a resource that is contained in a file other than an EXE or DLL. I am using MFVC++ 4.2. The file could contain any resource type but must be in a file tah can be easily updated from a server application. This info is used by the client front end to build a form window for user input.
For DLLs, you can call LoadLibrary, FindResource and LoadResource. For EXEs, you can call GetFileResource, GetFileResourceSize. Check with the SDK documentation for more information.
ASKER
Edited text of question
ASKER
Sorry good try, but I know of these and the ones you mentioned are not available in the Win32Api, I have revised the wording to make the question more understandable.
There is no standard way to do so. You need to know the resource format. I wonder how you write the resource into a file if you do not know how to load it.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Good thought, will have to give that a go, but judt for the record the client will use these resources from a file locally, but also the server could update these files on the fly when a new version is produced.