Click here to Skip to main content
15,919,931 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Disable a page in a property sheet Pin
David Crow21-Aug-03 3:09
David Crow21-Aug-03 3:09 
GeneralRe: Disable a page in a property sheet Pin
YaronNir21-Aug-03 3:14
YaronNir21-Aug-03 3:14 
Generaljavascript ".submit()" from C++ Pin
megaadam21-Aug-03 0:01
professionalmegaadam21-Aug-03 0:01 
Generaldata_seg() Pin
Biped20-Aug-03 23:57
Biped20-Aug-03 23:57 
GeneralRe: data_seg() Pin
Biped20-Aug-03 23:59
Biped20-Aug-03 23:59 
GeneralRe: data_seg() Pin
Ryan Binns21-Aug-03 0:17
Ryan Binns21-Aug-03 0:17 
GeneralRe: data_seg() Pin
Biped21-Aug-03 0:29
Biped21-Aug-03 0:29 
GeneralRe: data_seg() Pin
Ryan Binns21-Aug-03 0:48
Ryan Binns21-Aug-03 0:48 
Biped wrote:
Is there anyway of doing the same thing with an exe and a dll so a variable has application-wide scope?

No

Biped wrote:
or should I have a dll that sets up a shared data_seg() for sharing between other dlls and just have the exe import it?

Is the DLL loaded by multiple programs such that it has to share data between them? Or is it only important between the EXE and the DLL? If it has to share data between multiple programs, then what you said there is the way to go. If only the one EXE and DLL need to share the data, then you're better off having a single instance of the class, and pass a pointer to the instance between your DLL and EXE.

Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

GeneralRe: data_seg() Pin
Biped21-Aug-03 1:32
Biped21-Aug-03 1:32 
GeneralRe: data_seg() Pin
Ryan Binns21-Aug-03 1:42
Ryan Binns21-Aug-03 1:42 
GeneralRe: data_seg() Pin
Biped21-Aug-03 2:32
Biped21-Aug-03 2:32 
GeneralRe: data_seg() Pin
Ryan Binns21-Aug-03 2:36
Ryan Binns21-Aug-03 2:36 
GeneralRe: data_seg() Pin
Dangleberry21-Aug-03 3:09
sussDangleberry21-Aug-03 3:09 
GeneralRe: data_seg() Pin
Ryan Binns21-Aug-03 3:15
Ryan Binns21-Aug-03 3:15 
GeneralRe: data_seg() Pin
Biped22-Aug-03 4:15
Biped22-Aug-03 4:15 
GeneralRe: data_seg() Pin
Biped21-Aug-03 1:35
Biped21-Aug-03 1:35 
GeneralRe: data_seg() Pin
Ryan Binns21-Aug-03 1:38
Ryan Binns21-Aug-03 1:38 
GeneralRe: data_seg() Pin
Biped21-Aug-03 2:34
Biped21-Aug-03 2:34 
Questionhow to sort on the strings of a CComboBoxEx ? Pin
JP GOBLET20-Aug-03 22:58
JP GOBLET20-Aug-03 22:58 
AnswerRe: how to sort on the strings of a CComboBoxEx ? Pin
David Crow21-Aug-03 3:03
David Crow21-Aug-03 3:03 
GeneralRe: how to sort on the strings of a CComboBoxEx ? Pin
JP GOBLET21-Aug-03 4:08
JP GOBLET21-Aug-03 4:08 
GeneralRe: how to sort on the strings of a CComboBoxEx ? Pin
David Crow21-Aug-03 4:14
David Crow21-Aug-03 4:14 
GeneralRe: how to sort on the strings of a CComboBoxEx ? Pin
JP GOBLET21-Aug-03 21:36
JP GOBLET21-Aug-03 21:36 
GeneralRe: how to sort on the strings of a CComboBoxEx ? Pin
KaЯl10-Mar-05 23:08
KaЯl10-Mar-05 23:08 
GeneralCArray: SetSize()-->ConstructElements() Pin
7stud20-Aug-03 22:35
7stud20-Aug-03 22:35 

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.