Solved

LoadString

Posted on 2001-07-09
5
243 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
5 Comments
 
LVL 2

Accepted Solution

by:
MadYugoslav earned 10 total points
Comment Utility
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
Comment Utility
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
Comment Utility
Hi,
Thnaks MadYugoslav. I will try this and award yopu the points.

Regds
0
 
LVL 11

Expert Comment

by:griessh
Comment Utility
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
Comment Utility
Per recommendation comment force/accepted by

Netminder
Community Support Moderator
Experts Exchange
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
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 goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

771 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now