You will need a resource compiler, for example, Visual Studio, although any third-party compiler should work, although we have no experience of them. With Visual Studio, there is a wizard to help build a Win32 Dynamic Link Library, so even without previous experience of using a Resource Compiler, it is a simple task. The steps are:
•Open Visual Studio 2005, •Select File->New->Project, •Within the displayed dialog, set the “Project Type” to “Visual C++” -> “Win32”, then use the Installed Project Templates “Win32 Project”. •Enter a name for the project, which will also be used as the name of the DLL, so you may wish to set the Project Name to the Name of the Language within the resource file. •When you press “OK” the “Win32 Application Wizard” will be displayed, select the “Next>” button, then ensure the “Application Type” is set to DLL and request an empty project by setting the checkbox within the “Additional Option”. •Once the project has been created, copy the resource file(s) to the project directory and add the file(s) to the project by selecting the resource file folder in the “Solution Explorer”, performing a right-hand click and selecting the “Add -> Existing Item…” then browse and select the resource file(s) containing the string table(s). •Before you perform a build, you will need to ensure the C runtime is included; you can do this by; Opening the Project Properties - pressing “ALT+F7”, •Set the “Configuration” scope to “All Configurations”, •Navigate down the “Configuration Properties” tree to: Linker -> Input, •Add to the “Additional Dependences” the item “MSVCRT.LIB”. •You can now perform a build of your project, which will create the required DLL with the embedded string table, for use by the ESL runtime. |