Click here to Skip to main content
15,900,906 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Shell functions and versions ? Pin
David Crow31-May-05 3:41
David Crow31-May-05 3:41 
GeneralMultithreaded horror.. Pin
Bob Stanneveld30-May-05 22:04
Bob Stanneveld30-May-05 22:04 
GeneralProblem solved.. Pin
Bob Stanneveld31-May-05 2:38
Bob Stanneveld31-May-05 2:38 
GeneralVisual C++ Pin
Member 150607130-May-05 21:40
Member 150607130-May-05 21:40 
GeneralRe: Visual C++ Pin
Cedric Moonen30-May-05 21:50
Cedric Moonen30-May-05 21:50 
GeneralRe: Visual C++ Pin
toxcct30-May-05 22:26
toxcct30-May-05 22:26 
GeneralRe: Visual C++ Pin
benjymous30-May-05 23:21
benjymous30-May-05 23:21 
GeneralRe: Visual C++ Pin
David Crow31-May-05 3:48
David Crow31-May-05 3:48 
QuestionHow To Create a Transparent Pen? Pin
pritamkd30-May-05 20:45
pritamkd30-May-05 20:45 
Questionhow to display string in debug widow. Pin
shumyla198330-May-05 20:31
shumyla198330-May-05 20:31 
AnswerRe: how to display string in debug widow. Pin
MK7830-May-05 20:35
MK7830-May-05 20:35 
AnswerRe: how to display string in debug widow. Pin
BlackDice31-May-05 5:38
BlackDice31-May-05 5:38 
Generalquestion regarding operator overloading! Pin
namaskaaram30-May-05 19:15
namaskaaram30-May-05 19:15 
GeneralRe: question regarding operator overloading! Pin
Johnny ²30-May-05 19:35
Johnny ²30-May-05 19:35 
GeneralRe: question regarding operator overloading! Pin
Rahim Rattani30-May-05 19:45
Rahim Rattani30-May-05 19:45 
GeneralRe: question regarding operator overloading! Pin
S. Senthil Kumar30-May-05 20:58
S. Senthil Kumar30-May-05 20:58 
GeneralRe: question regarding operator overloading! Pin
namaskaaram30-May-05 21:53
namaskaaram30-May-05 21:53 
GeneralCListCtrl auto scrolling problem Pin
Imtiaz Murtaza30-May-05 18:53
Imtiaz Murtaza30-May-05 18:53 
GeneralRe: CListCtrl auto scrolling problem Pin
namaskaaram30-May-05 22:34
namaskaaram30-May-05 22:34 
GeneralImproper highlight on Tree Control Pin
laiju30-May-05 18:38
laiju30-May-05 18:38 
GeneralHelp with switching to module state (DLL) Pin
KnaveR77730-May-05 18:20
KnaveR77730-May-05 18:20 
I have been working on a DLL w/ a basic CDialog. At this point, my dialog can be loaded with my testerApp and appears to work (can drag arround click buttons etc), but there appears to be something odd going on when switching to the module state.

When the my dll's CWinApp::InitInstance() is called, this is 0x101c8640. In calls to the dll's exported funcs this is 0x0012fdac (the same as my tester app). Any ideas on what I am doing wrong?


<br />
BOOL CWM_Script_DLLApp::InitInstance()<br />
{<br />
	CWinApp::InitInstance();<br />
	dlg = NULL;<br />
	return TRUE;<br />
}<br />
<br />
extern "C" void CWM_Script_DLLApp::createDialog(void)<br />
{<br />
	AFX_MANAGE_STATE(AfxGetStaticModuleState( ))<br />
	if(dlg == NULL){<br />
		dlg = new CTestDlg(CWnd::GetDesktopWindow(),this);  //pass this so dlg can be set to null on close<br />
		dlg->Create(CTestDlg::IDD);<br />
		dlg->ShowWindow(SW_SHOW);<br />
	}<br />
	else{<br />
		dlg->SetActiveWindow();<br />
	}<br />
}<br />
<br />
void CWM_Script_DLLApp::killTestDlg(void)<br />
{<br />
	dlg = NULL;<br />
}<br />
<br />

GeneralVC++ Won't Use Correct Include Directories Pin
User 1278230-May-05 14:31
User 1278230-May-05 14:31 
GeneralRe: VC++ Won't Use Correct Include Directories Pin
Christian Graus30-May-05 14:35
protectorChristian Graus30-May-05 14:35 
GeneralRe: VC++ Won't Use Correct Include Directories Pin
User 1278230-May-05 15:24
User 1278230-May-05 15:24 
GeneralRe: VC++ Won't Use Correct Include Directories Pin
Ravi Bhavnani30-May-05 15:39
professionalRavi Bhavnani30-May-05 15:39 

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.