Click here to Skip to main content
15,910,981 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralAuto-complete file combo Pin
Chris Losinger26-Feb-02 8:52
professionalChris Losinger26-Feb-02 8:52 
GeneralRe: Auto-complete file combo Pin
Michael Dunn26-Feb-02 11:42
sitebuilderMichael Dunn26-Feb-02 11:42 
GeneralRe: Auto-complete file combo Pin
Chris Losinger26-Feb-02 12:24
professionalChris Losinger26-Feb-02 12:24 
Generalnevermind... Pin
Chris Losinger26-Feb-02 13:44
professionalChris Losinger26-Feb-02 13:44 
GeneralGlobalAddAtom and RegisterHotKey Pin
26-Feb-02 8:41
suss26-Feb-02 8:41 
GeneralRe: GlobalAddAtom and RegisterHotKey Pin
Carlos Antollini26-Feb-02 9:03
Carlos Antollini26-Feb-02 9:03 
GeneralGlobal Variables Pin
Rajveer26-Feb-02 8:35
Rajveer26-Feb-02 8:35 
GeneralRe: Global Variables Pin
Chris Losinger26-Feb-02 8:34
professionalChris Losinger26-Feb-02 8:34 
extern int g_myGlobalVariable;


you need to add something similar to every .cpp that needs the variable.

or, you can put that in a .H file and #include that file whereever you need to use the variable. or, just put that in your stdafx.h.

and, yes, you can #include .cpp files, but that won't help you here.

-c



Smaller Animals Software, Inc.
You're the icing - on the cake - on the table - at my wake. Modest Mouse

GeneralRe: Global Variables Pin
Nemanja Trifunovic26-Feb-02 8:39
Nemanja Trifunovic26-Feb-02 8:39 
GeneralRe: Global Variables Pin
Carlos Antollini26-Feb-02 8:40
Carlos Antollini26-Feb-02 8:40 
GeneralRe: Global Variables Pin
Christian Graus26-Feb-02 10:56
protectorChristian Graus26-Feb-02 10:56 
GeneralRe: Global Variables Pin
Nemanja Trifunovic26-Feb-02 11:06
Nemanja Trifunovic26-Feb-02 11:06 
GeneralRe: Global Variables Pin
Christian Graus26-Feb-02 11:08
protectorChristian Graus26-Feb-02 11:08 
GeneralRe: Global Variables Pin
Nemanja Trifunovic26-Feb-02 11:28
Nemanja Trifunovic26-Feb-02 11:28 
GeneralMouse tracker Pin
alex.barylski26-Feb-02 7:45
alex.barylski26-Feb-02 7:45 
GeneralRe: Mouse tracker Pin
Chris Losinger26-Feb-02 8:06
professionalChris Losinger26-Feb-02 8:06 
GeneralRe: Mouse tracker Pin
alex.barylski26-Feb-02 9:30
alex.barylski26-Feb-02 9:30 
GeneralRe: Mouse tracker Pin
Chris Losinger26-Feb-02 9:49
professionalChris Losinger26-Feb-02 9:49 
GeneralRe: Mouse tracker Pin
alex.barylski26-Feb-02 10:12
alex.barylski26-Feb-02 10:12 
GeneralOpenGL Pin
Rajveer26-Feb-02 7:22
Rajveer26-Feb-02 7:22 
GeneralRe: OpenGL Pin
Simon Walton26-Feb-02 8:06
Simon Walton26-Feb-02 8:06 
GeneralVisual C++ Workspace style dialog bar Pin
Aaron Schaefer26-Feb-02 6:38
Aaron Schaefer26-Feb-02 6:38 
GeneralRe: Visual C++ Workspace style dialog bar Pin
Derek Waters26-Feb-02 11:04
Derek Waters26-Feb-02 11:04 
GeneralRe: Visual C++ Workspace style dialog bar Pin
Aaron Schaefer26-Feb-02 11:07
Aaron Schaefer26-Feb-02 11:07 
Generalbeing awkward with dialogues again... Pin
Trollslayer26-Feb-02 6:13
mentorTrollslayer26-Feb-02 6:13 

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.