Click here to Skip to main content
15,927,946 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Windows Driver Development Pin
MickAB6-Mar-01 23:42
MickAB6-Mar-01 23:42 
GeneralRe: Windows Driver Development Pin
Joe Moldovan5-Mar-01 7:10
Joe Moldovan5-Mar-01 7:10 
GeneralRe: Windows Driver Development Pin
MickAB5-Mar-01 3:12
MickAB5-Mar-01 3:12 
GeneralHelp needed with PropertySheet Pin
4-Mar-01 23:36
suss4-Mar-01 23:36 
GeneralSetProcessWorkingSetSize and Memory Locking Pin
4-Mar-01 20:07
suss4-Mar-01 20:07 
GeneralRe: SetProcessWorkingSetSize and Memory Locking Pin
4-Mar-01 22:56
suss4-Mar-01 22:56 
GeneralRe: SetProcessWorkingSetSize and Memory Locking Pin
5-Mar-01 1:49
suss5-Mar-01 1:49 
GeneralGlobal variable ... Pin
Hadi Rezaee4-Mar-01 18:15
Hadi Rezaee4-Mar-01 18:15 
<<< In the name of GOD >>>
Hi all.
I want to create variable for 2 dialogs.
For example:

void CTestDlg1::OnOK()
{
m_str = "Hadi";
}

void CTestDlg2::OnOK()
{
m_str = "Rezaie";
}

So, i create Global.h :
char *m_str;
and adding on header of TestDlg1.cpp and TestDlg2.cpp:
#include "Global.h"
extern char *m_str;

But this code won't work ...
Please help me ...



Hadi Rezaie
GeneralWriting VC++ dll to work with Delphi 5? Help Please!! Pin
4-Mar-01 16:16
suss4-Mar-01 16:16 
GeneralRe: Writing VC++ dll to work with Delphi 5? Help Please!! Pin
l a u r e n4-Mar-01 20:40
l a u r e n4-Mar-01 20:40 
GeneralRe: Writing VC++ dll to work with Delphi 5? Help Please!! Pin
4-Mar-01 22:16
suss4-Mar-01 22:16 
GeneralRe: Writing VC++ dll to work with Delphi 5? Help Please!! Pin
4-Mar-01 22:17
suss4-Mar-01 22:17 
QuestionHOW to use ADO with VC++, please help! Pin
4-Mar-01 11:52
suss4-Mar-01 11:52 
AnswerRe: Try this site.... Pin
Brendan Tregear4-Mar-01 14:30
Brendan Tregear4-Mar-01 14:30 
GeneralRe: Try this site.... Pin
Joe Moldovan5-Mar-01 5:58
Joe Moldovan5-Mar-01 5:58 
GeneralATL, subclassed ListBox Pin
4-Mar-01 6:47
suss4-Mar-01 6:47 
GeneralRe: ATL, subclassed ListBox Pin
Brad Bruce4-Mar-01 9:38
Brad Bruce4-Mar-01 9:38 
GeneralRe: ATL, subclassed ListBox Pin
5-Mar-01 20:44
suss5-Mar-01 20:44 
Generalthis pointer ... Pin
Hadi Rezaee4-Mar-01 5:21
Hadi Rezaee4-Mar-01 5:21 
GeneralRe: this pointer ... Pin
l a u r e n4-Mar-01 6:19
l a u r e n4-Mar-01 6:19 
GeneralRe: this pointer ... Pin
Hadi Rezaee4-Mar-01 18:20
Hadi Rezaee4-Mar-01 18:20 
GeneralRe: this pointer ... Pin
l a u r e n4-Mar-01 20:17
l a u r e n4-Mar-01 20:17 
GeneralRe: this pointer ... Pin
markkuk4-Mar-01 22:24
markkuk4-Mar-01 22:24 
GeneralRe: this pointer ... Pin
Erik Funkenbusch5-Mar-01 9:25
Erik Funkenbusch5-Mar-01 9:25 
GeneralStatus Bar ... Pin
Hadi Rezaee3-Mar-01 18:12
Hadi Rezaee3-Mar-01 18:12 

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.