Click here to Skip to main content
15,896,606 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
Questionmodeless dialog with modal dialog problem Pin
followait19-Dec-05 18:00
followait19-Dec-05 18:00 
AnswerRe: modeless dialog with modal dialog problem Pin
Farhat Aisha20-Dec-05 4:36
Farhat Aisha20-Dec-05 4:36 
QuestionCOnnecting UPS with PCS using Windows Management Ins Pin
abhiramsss19-Dec-05 17:58
abhiramsss19-Dec-05 17:58 
AnswerRe: COnnecting UPS with PCS using Windows Management Ins Pin
vikas amin19-Dec-05 20:04
vikas amin19-Dec-05 20:04 
QuestionHow to control word before print? Pin
sharkmouse19-Dec-05 17:48
sharkmouse19-Dec-05 17:48 
QuestionHow to change the button style of Console Application Pin
IsaacLitingjun19-Dec-05 16:44
IsaacLitingjun19-Dec-05 16:44 
Questionblock popups Pin
neliocc19-Dec-05 16:42
neliocc19-Dec-05 16:42 
AnswerRe: block popups Pin
Owner drawn19-Dec-05 18:15
Owner drawn19-Dec-05 18:15 
QuestionQuestion about using MATLAB COM builder & VC++ Pin
QuangDien19-Dec-05 16:07
QuangDien19-Dec-05 16:07 
Questionglobal anonymous unions Pin
zildjohn0119-Dec-05 10:44
zildjohn0119-Dec-05 10:44 
AnswerRe: global anonymous unions Pin
vikas amin19-Dec-05 18:53
vikas amin19-Dec-05 18:53 
AnswerRe: global anonymous unions Pin
vikas amin19-Dec-05 20:03
vikas amin19-Dec-05 20:03 
NewsRe: global anonymous unions Pin
zildjohn0120-Dec-05 9:04
zildjohn0120-Dec-05 9:04 
AnswerRe: global anonymous unions [edited] Pin
toxcct19-Dec-05 21:38
toxcct19-Dec-05 21:38 

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.