Solved

LoadString

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Fully specialized class template function 21 136
IdTCPClient1->Disconnect(); not working 3 66
best sources to up-to-date in C++? 8 80
FMX TCameraComponent Problem 2 69
When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

776 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