CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Posts
    2

    How to load strings ....



    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

  2. #2
    Join Date
    Apr 1999
    Posts
    383

    Re: How to load strings ....



    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured