Click here to Skip to main content
15,895,532 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to create a Line graph Pin
Cedric Moonen16-Mar-07 2:35
Cedric Moonen16-Mar-07 2:35 
QuestionHow to trap Enter key pressed in textbox Pin
viral_umang@hotmail.com16-Mar-07 2:31
viral_umang@hotmail.com16-Mar-07 2:31 
AnswerRe: How to trap Enter key pressed in textbox Pin
David Crow16-Mar-07 2:41
David Crow16-Mar-07 2:41 
GeneralRe: How to trap Enter key pressed in textbox Pin
viral_umang@hotmail.com16-Mar-07 3:00
viral_umang@hotmail.com16-Mar-07 3:00 
GeneralRe: How to trap Enter key pressed in textbox Pin
David Crow16-Mar-07 3:07
David Crow16-Mar-07 3:07 
QuestionGetFile from resource Pin
Kiran Pinjala16-Mar-07 2:30
Kiran Pinjala16-Mar-07 2:30 
QuestionRe: GetFile from resource Pin
David Crow16-Mar-07 2:43
David Crow16-Mar-07 2:43 
AnswerRe: GetFile from resource Pin
Kiran Pinjala16-Mar-07 3:29
Kiran Pinjala16-Mar-07 3:29 
struck here.
hResource = FindResource(NULL, MAKEINTRESOURCE(IDR_EXE1), RT_RCDATA);
if (NULL != hResource)
{
   hResourceLoaded = LoadResource(NULL, hResource);
   if (NULL != hResourceLoaded)        
    {
       lpBuffer = (LPBYTE) LockResource(hResourceLoaded);            
       if (NULL != lpBuffer)            
        {                
           // do something with lpBuffer here            
        }
     }    
}

I have loaded my one.exe into a resource with id IDR_EXE1 using wizard. now when im trying it with FindResource() it returning NULL. where is the problem?






KIRAN PINJARLA

GeneralRe: GetFile from resource Pin
David Crow16-Mar-07 4:06
David Crow16-Mar-07 4:06 
AnswerRe: GetFile from resource Pin
viral_umang@hotmail.com16-Mar-07 2:48
viral_umang@hotmail.com16-Mar-07 2:48 
GeneralRe: GetFile from resource Pin
Kiran Pinjala16-Mar-07 2:52
Kiran Pinjala16-Mar-07 2:52 
QuestionActiveX control with Circular bitmap Pin
shiraztk16-Mar-07 2:23
shiraztk16-Mar-07 2:23 
AnswerRe: ActiveX control with Circular bitmap Pin
shiraztk16-Mar-07 3:49
shiraztk16-Mar-07 3:49 
Questionapplication that can detect cpu temperature Pin
mcjons16-Mar-07 2:16
mcjons16-Mar-07 2:16 
QuestionRe: application that can detect cpu temperature Pin
David Crow16-Mar-07 2:44
David Crow16-Mar-07 2:44 
QuestionStoring data in a DLL Pin
beko16-Mar-07 1:26
beko16-Mar-07 1:26 
QuestionRe: Storing data in a DLL Pin
David Crow16-Mar-07 2:46
David Crow16-Mar-07 2:46 
AnswerRe: Storing data in a DLL Pin
beko16-Mar-07 5:40
beko16-Mar-07 5:40 
QuestionWhat's wrong? Pin
_808616-Mar-07 1:05
_808616-Mar-07 1:05 
QuestionRe: What's wrong? Pin
prasad_som16-Mar-07 2:25
prasad_som16-Mar-07 2:25 
QuestionRe: What's wrong? Pin
David Crow16-Mar-07 2:48
David Crow16-Mar-07 2:48 
AnswerRe: What's wrong? Pin
prasad_som16-Mar-07 3:08
prasad_som16-Mar-07 3:08 
GeneralRe: What's wrong? Pin
David Crow16-Mar-07 3:14
David Crow16-Mar-07 3:14 
AnswerRe: What's wrong? Pin
TClarke16-Mar-07 3:10
TClarke16-Mar-07 3:10 
GeneralRe: What's wrong? Pin
cp987616-Mar-07 20:29
cp987616-Mar-07 20:29 

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.