Solved

LoadString

Posted on 2001-07-09
5
250 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
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

821 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