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.

You can use UpdateResource (under NT only) to change a resource for another exe or dll, so rather than have the client read a resource generated by the server the server (or some other app) could directly

You can use UpdateResource (under NT only) to change a resource for another exe or dll, so rather than have the client read a resource generated by the server the server (or some other app) could directly modify the resources of the client app.A simpler alternative...If you only want dialog resources, then you could simply write out a DLGTEMPLATE structure to a file in the server and read it back in with the client and use CDialog::CreateIndirect - or have the client generate a DLGTEMPLATE based on info supplied by the server (this is probably nicer because the client can make intelligent decision about how the dialog will look, and less information can be sent from server to client if you code it nicely)

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.

0

Featured Post

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …

C++ Properties
One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…