Click here to Skip to main content
15,920,508 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Template class and const parameters Pin
khan++20-Dec-05 0:31
khan++20-Dec-05 0:31 
QuestionHow to include dlls in VC++.NET application. Pin
snprani19-Dec-05 20:34
snprani19-Dec-05 20:34 
Questionsaving locations of ActiveX in application Pin
Sac87Rak19-Dec-05 20:23
Sac87Rak19-Dec-05 20:23 
QuestionGetting Problem when using NetMeeting SDK Pin
trinadh_t19-Dec-05 20:09
trinadh_t19-Dec-05 20:09 
QuestionNeed help Pin
coolsab19-Dec-05 20:09
coolsab19-Dec-05 20:09 
AnswerRe: Need help Pin
ThatsAlok19-Dec-05 21:33
ThatsAlok19-Dec-05 21:33 
AnswerRe: Need help Pin
vikas amin19-Dec-05 22:59
vikas amin19-Dec-05 22:59 
Questionindex server catalogs Pin
akshayswaroop19-Dec-05 19:33
akshayswaroop19-Dec-05 19:33 
QuestionAbout termintaing System processes.. Pin
Supriya Tonape19-Dec-05 19:30
Supriya Tonape19-Dec-05 19:30 
AnswerRe: About termintaing System processes.. Pin
kakan19-Dec-05 21:19
professionalkakan19-Dec-05 21:19 
GeneralRe: About termintaing System processes.. Pin
Supriya Tonape20-Dec-05 21:56
Supriya Tonape20-Dec-05 21:56 
AnswerRe: About termintaing System processes.. Pin
ThatsAlok19-Dec-05 21:26
ThatsAlok19-Dec-05 21:26 
GeneralRe: About termintaing System processes.. Pin
Supriya Tonape20-Dec-05 22:03
Supriya Tonape20-Dec-05 22:03 
GeneralRe: About termintaing System processes.. Pin
ThatsAlok20-Dec-05 22:25
ThatsAlok20-Dec-05 22:25 
GeneralRe: About termintaing System processes.. Pin
ThatsAlok20-Dec-05 22:58
ThatsAlok20-Dec-05 22:58 
GeneralRe: About termintaing System processes.. Pin
Supriya Tonape21-Dec-05 18:55
Supriya Tonape21-Dec-05 18:55 
GeneralRe: About termintaing System processes.. Pin
ThatsAlok21-Dec-05 20:01
ThatsAlok21-Dec-05 20:01 
GeneralRe: About termintaing System processes.. Pin
Supriya Tonape23-Dec-05 22:27
Supriya Tonape23-Dec-05 22:27 
QuestionRelocatable DLLs Pin
Abhi Lahare19-Dec-05 19:25
Abhi Lahare19-Dec-05 19:25 
AnswerRe: Relocatable DLLs Pin
Optimus Chaos19-Dec-05 22:21
Optimus Chaos19-Dec-05 22:21 
AnswerRe: Relocatable DLLs Pin
Optimus Chaos19-Dec-05 22:22
Optimus Chaos19-Dec-05 22:22 
Questionhow to use "FindResource" Pin
kotiramkoteswararao19-Dec-05 19:08
kotiramkoteswararao19-Dec-05 19:08 
hi,

i am facing some problem ,while retriving the resource from dll. That dll is a "esource only dll". Here is the code,what i am using.


HMODULE hmod;
HRSRC hr;

/*here testdll.dll is the dll created for testing purpose and it has bitmap1.bmp resource*/


hmod=::LoadLibrary("testdll.dll");
hr=::Findresource(hr,"bitmap1.bmp",RT_BITMAP);

if(hr==NULL)
MessageBox("This is not working");
else
MessageBox("This is Working");


This is code i have written ,but when ever i run,i get only "This is not working" messagbox. This is means we unable to get the resource from dll.

Can you suggest me, possible solution

regards,
Ram

Spend Every Minute for Success
AnswerRe: how to use "FindResource" Pin
kotiramkoteswararao19-Dec-05 20:04
kotiramkoteswararao19-Dec-05 20:04 
GeneralRe: how to use "FindResource" Pin
Optimus Chaos19-Dec-05 20:26
Optimus Chaos19-Dec-05 20:26 
AnswerRe: how to use "FindResource" Pin
ThatsAlok20-Dec-05 18:12
ThatsAlok20-Dec-05 18:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.