Click here to Skip to main content
15,916,180 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Drawing on the window Pin
Hamid_RT18-Aug-06 19:33
Hamid_RT18-Aug-06 19:33 
QuestionAsk a unsolved problem for long time Pin
begtostudy18-Aug-06 16:38
begtostudy18-Aug-06 16:38 
AnswerRe: Ask a unsolved problem for long time Pin
begtostudy19-Aug-06 20:40
begtostudy19-Aug-06 20:40 
Questionproblems with recvfrom Pin
afpr18-Aug-06 13:36
afpr18-Aug-06 13:36 
QuestionUsing #define with a dll Pin
Waldermort18-Aug-06 11:32
Waldermort18-Aug-06 11:32 
AnswerRe: Using #define with a dll Pin
Chris Losinger18-Aug-06 11:37
professionalChris Losinger18-Aug-06 11:37 
AnswerRe: Using #define with a dll Pin
cmk19-Aug-06 13:11
cmk19-Aug-06 13:11 
Questionfindresource xpsp2res.dll Pin
fx920018-Aug-06 7:09
fx920018-Aug-06 7:09 
hello,
i want to extract message number 1800(for example) from xpsp2res.dll (c:\windows\system32\)
the problem is in findsource ;

this is my code
HANDLE handle = NULL;
HRSRC hrsrc;
HRSRC hResLoad;

DWORD dwLongBuff;
char Buffer[MAX_BUFFER_SIZE];


handle=LoadLibrary("C:\\windows\\System32\\xpsp2res.dll");
if (handle==NULL) printf("failure to load"); else printf ("loading ok\n");

hrsrc=FindResource((HMODULE)handle,MAKEINTRESOURCE(1800),RT_MESSAGETABLE);
if (hrsrc==NULL) printf("failure to load2"); else printf ("loading ok2\n");


Questionerror LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup [modified] Pin
sea200618-Aug-06 7:01
sea200618-Aug-06 7:01 
AnswerRe: error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup Pin
David Crow18-Aug-06 7:09
David Crow18-Aug-06 7:09 
AnswerRe: error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup Pin
Rule 7.6225-Dec-06 7:21
Rule 7.6225-Dec-06 7:21 
Questionreading and sending errors to serial port [modified] Pin
cahit2318-Aug-06 5:58
cahit2318-Aug-06 5:58 
AnswerRe: reading and sending errors to serial port Pin
cje22-Aug-06 10:43
cje22-Aug-06 10:43 
QuestionPrint Preview Orientation & many pages problems [modified] Pin
mikobi18-Aug-06 5:42
mikobi18-Aug-06 5:42 
Questionchar* to OLECHAR* ? Pin
great_tommy18-Aug-06 5:41
great_tommy18-Aug-06 5:41 
AnswerRe: char* to OLECHAR* ? Pin
David Crow18-Aug-06 6:22
David Crow18-Aug-06 6:22 
GeneralRe: char* to OLECHAR* ? Pin
great_tommy18-Aug-06 6:53
great_tommy18-Aug-06 6:53 
GeneralRe: char* to OLECHAR* ? Pin
David Crow18-Aug-06 7:08
David Crow18-Aug-06 7:08 
GeneralRe: char* to OLECHAR* ? Pin
great_tommy18-Aug-06 7:14
great_tommy18-Aug-06 7:14 
GeneralRe: char* to OLECHAR* ? Pin
flippydeflippydebop21-Aug-06 11:48
flippydeflippydebop21-Aug-06 11:48 
AnswerRe: char* to OLECHAR* ? Pin
tanvon malik18-Aug-06 7:12
tanvon malik18-Aug-06 7:12 
QuestionDoubt about ioctlsocket Pin
afpr18-Aug-06 5:24
afpr18-Aug-06 5:24 
QuestionClasses and dlls Pin
Waldermort18-Aug-06 5:02
Waldermort18-Aug-06 5:02 
AnswerRe: Classes and dlls Pin
Zac Howland18-Aug-06 5:17
Zac Howland18-Aug-06 5:17 
GeneralRe: Classes and dlls Pin
Waldermort18-Aug-06 5:50
Waldermort18-Aug-06 5:50 

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.