Click to See Complete Forum and Search --> : How to load strings ....


Sreenivasarao Kosuru
March 29th, 1999, 11:59 PM
Hi,


I have a Dll which contains only strings, and i want to call

those string messages at run time only.

Which windows API function will let me interact with the dll

to ask for the strings in the DLL.


I am using VC++ 6.0/MFC, on Win98.


Thanks,


with best wishes,

Sreenivasarao Kosuru

Dave Lorde
March 30th, 1999, 06:30 AM
Make it a resource-only DLL with the strings in a resource string table. Then you can use LoadStringResource or CString::LoadString to load them by resource ID.


You may need AfxSetResourceHandle to set the DLL to be the source of the resources.


Dave