Click here to Skip to main content
16,010,473 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: BITWISE opearation Pin
CPallini6-Jun-07 2:53
mveCPallini6-Jun-07 2:53 
AnswerRe: BITWISE opearation Pin
apoorva_raje6-Jun-07 2:54
apoorva_raje6-Jun-07 2:54 
AnswerRe: BITWISE opearation Pin
Cedric Moonen6-Jun-07 2:54
Cedric Moonen6-Jun-07 2:54 
AnswerRe: BITWISE opearation Pin
Rajkumar R6-Jun-07 2:57
Rajkumar R6-Jun-07 2:57 
QuestionHow to check that is number or not Pin
KARFER6-Jun-07 2:15
KARFER6-Jun-07 2:15 
AnswerRe: How to check that is number or not Pin
jhwurmbach6-Jun-07 2:47
jhwurmbach6-Jun-07 2:47 
AnswerRe: How to check that is number or not Pin
David Crow6-Jun-07 2:55
David Crow6-Jun-07 2:55 
QuestionEasy One Pin
VonHagNDaz6-Jun-07 2:10
VonHagNDaz6-Jun-07 2:10 
Hey guys, im taking some old code from my company and trying to make a library since the origional was about 20,000 lines of code with GIANT switch statement in each method.

any how, ive checked MSDN, and no one here(the 3 developers for release software are 23, 24, and 22, all straight out of college)

so the statements:

BOOL APIENTRY DllMain( HINSTANCE hModule, <br />
                       DWORD  ul_reason_for_call, <br />
                       LPVOID lpReserved<br />
					 )<br />
{<br />
    switch (ul_reason_for_call)<br />
	{<br />
		case DLL_PROCESS_ATTACH:<br />
		case DLL_THREAD_ATTACH:<br />
		case DLL_THREAD_DETACH:<br />
		case DLL_PROCESS_DETACH:<br />
			CGeneratePrinterCommands::_CGeneratePrinterCommandsHandle = hModule;<br />
			break;<br />
    }<br />
    return TRUE;<br />
}<br />
<br />
temp = LoadResource(_CGeneratePrinterCommandsHandle, FindResource(_CGeneratePrinterCommandsHandle, MAKEINTRESOURCE(IDR_R800_XFER_M), _TEXT("HEXSTRING")));


cam anyone explain whats going on here regarding the _CGeneratePrinterCommandsHandle?

------------------------------
I win because I have the most fun in life...

AnswerRe: Easy One Pin
Rajkumar R6-Jun-07 2:26
Rajkumar R6-Jun-07 2:26 
GeneralRe: Easy One Pin
VonHagNDaz7-Jun-07 2:03
VonHagNDaz7-Jun-07 2:03 
QuestionIntellisense feature Pin
Demian Panello6-Jun-07 2:05
Demian Panello6-Jun-07 2:05 
AnswerRe: Intellisense feature Pin
bigphish6-Jun-07 18:12
bigphish6-Jun-07 18:12 
GeneralRe: Intellisense feature Pin
Demian Panello7-Jun-07 1:14
Demian Panello7-Jun-07 1:14 
QuestionRelease mode Crashes while Debug works fine! Pin
Immunity186-Jun-07 1:47
Immunity186-Jun-07 1:47 
AnswerRe: Release mode Crashes while Debug works fine! Pin
CPallini6-Jun-07 2:04
mveCPallini6-Jun-07 2:04 
GeneralRe: Release mode Crashes while Debug works fine! Pin
Immunity186-Jun-07 2:09
Immunity186-Jun-07 2:09 
GeneralRe: Release mode Crashes while Debug works fine! Pin
Immunity186-Jun-07 2:11
Immunity186-Jun-07 2:11 
Questionwhat DefWindowProc does to WM_PAINT message? Pin
LiYS6-Jun-07 0:12
LiYS6-Jun-07 0:12 
AnswerRe: what DefWindowProc does to WM_PAINT message? Pin
Mark Salsbery6-Jun-07 5:25
Mark Salsbery6-Jun-07 5:25 
QuestionNewbie: how to make PrintPreview the initial view Pin
redflyingpig6-Jun-07 0:11
redflyingpig6-Jun-07 0:11 
Questiondll [modified] Pin
jannathali6-Jun-07 0:01
jannathali6-Jun-07 0:01 
AnswerRe: dll Pin
Anurag Gandhi6-Jun-07 0:47
professionalAnurag Gandhi6-Jun-07 0:47 
GeneralRe: dll Pin
jannathali6-Jun-07 1:00
jannathali6-Jun-07 1:00 
GeneralRe: dll Pin
Anurag Gandhi6-Jun-07 1:23
professionalAnurag Gandhi6-Jun-07 1:23 
GeneralRe: dll Pin
jannathali6-Jun-07 1:33
jannathali6-Jun-07 1:33 

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.