Solved

LoadString

Posted on 2001-07-09
5
253 Views
Last Modified: 2012-08-13
Hi,
I have a DLL. I want to Load a String Resource using the API LoadString().If I do the same in an EXE it is working fine.

Could anyone suggest me a way on how to do that.

REgds
0
Comment
Question by:gurukg102498
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 2

Accepted Solution

by:
MadYugoslav earned 10 total points
ID: 6264999
You need to set resource handle to your main application with AfxSetResourceHandle(HINSTANCE hInstance) while You are in DLL.
0
 
LVL 30

Expert Comment

by:Axter
ID: 6265206
gurukg,
Last 10 Grades Given A B B B B B C C C C  

The above is your grading record.
You have questions that you have not accepted the answer for.
Experts have given you answers, and advise, and you have not award them their points.

Please go through your questions, and award the points.
And please be more fair in your grading practice.
0
 

Author Comment

by:gurukg102498
ID: 6267596
Hi,
Thnaks MadYugoslav. I will try this and award yopu the points.

Regds
0
 
LVL 11

Expert Comment

by:griessh
ID: 6825644
I think you forgot this question. I will ask Community Support to close it unless you finalize it within 7 days. Unless there is objection or further activity,  I will suggest to accept "MadYugoslav" comment(as you suggested) as an answer.

If you think your question was not answered at all, you can post a request in Community support (please include this link) to refund your points.
The link to the Community Support area is: http://www.experts-exchange.com/jsp/qList.jsp?ta=commspt

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
======
Werner
0
 
LVL 5

Expert Comment

by:Netminder
ID: 6875085
Per recommendation comment force/accepted by

Netminder
Community Support Moderator
Experts Exchange
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Would like to move button in a function 3 93
Better understanding on C++ Class serialization and formats 9 105
designing in object programming 12 131
Need some help with mailto 16 43
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
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…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question