Click here to Skip to main content
15,897,704 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: getting the value of an int in a cpp file into another Pin
Navin7-Jul-03 9:59
Navin7-Jul-03 9:59 
GeneralRe: getting the value of an int in a cpp file into another Pin
keegan7-Jul-03 10:11
keegan7-Jul-03 10:11 
GeneralRe: getting the value of an int in a cpp file into another Pin
John R. Shaw7-Jul-03 10:05
John R. Shaw7-Jul-03 10:05 
GeneralRe: getting the value of an int in a cpp file into another Pin
keegan7-Jul-03 10:16
keegan7-Jul-03 10:16 
GeneralRe: getting the value of an int in a cpp file into another Pin
John R. Shaw7-Jul-03 10:41
John R. Shaw7-Jul-03 10:41 
GeneralRe: Simpler answer Pin
John R. Shaw7-Jul-03 10:59
John R. Shaw7-Jul-03 10:59 
GeneralRe: getting the value of an int in a cpp file into another Pin
Michael Dunn7-Jul-03 17:19
sitebuilderMichael Dunn7-Jul-03 17:19 
GeneralRe: getting the value of an int in a cpp file into another Pin
Terry O'Nolley10-Jul-03 9:13
Terry O'Nolley10-Jul-03 9:13 
If there is a true need for it and you comment it then why not use a global?

There is a reason why global variables work.

Lots of people blindly assume that globals are "BAAAAAAAD!!!!" but if that variable is truly needed across multiple source files then just use a global and be done with it.

Buuuuuuuuuuuuuuuuuuuuuut - 99% of the time the reason you now "need" a global is that there is some structural faults with the design of your application.

I'm going to live forever or die trying!
Questionhow to know if the VB function is part of COM object? Pin
mr20037-Jul-03 9:47
mr20037-Jul-03 9:47 
Generalfirewall project Pin
ub817-Jul-03 9:10
ub817-Jul-03 9:10 
GeneralRe: firewall project Pin
Dave Kreskowiak7-Jul-03 9:12
mveDave Kreskowiak7-Jul-03 9:12 
GeneralRe: firewall project Pin
basementman7-Jul-03 15:56
basementman7-Jul-03 15:56 
QuestionHow to use VB functions in VC program Pin
mr20037-Jul-03 9:10
mr20037-Jul-03 9:10 
AnswerRe: How to use VB functions in VC program Pin
AlexO7-Jul-03 9:11
AlexO7-Jul-03 9:11 
GeneralRe: How to use VB functions in VC program Pin
mr20037-Jul-03 9:14
mr20037-Jul-03 9:14 
GeneralRe: How to use VB functions in VC program Pin
Shaffiq7-Jul-03 18:26
Shaffiq7-Jul-03 18:26 
GeneralRe: How to use VB functions in VC program Pin
mr20038-Jul-03 7:32
mr20038-Jul-03 7:32 
GeneralRe: How to use VB functions in VC program Pin
Shaffiq8-Jul-03 20:34
Shaffiq8-Jul-03 20:34 
QuestionHow to get a HINSTANCE Pin
RvD20027-Jul-03 8:06
sussRvD20027-Jul-03 8:06 
AnswerRe: How to get a HINSTANCE Pin
AlexO7-Jul-03 8:39
AlexO7-Jul-03 8:39 
GeneralRe: How to get a HINSTANCE Pin
RvD20027-Jul-03 9:50
sussRvD20027-Jul-03 9:50 
AnswerRe: How to get a HINSTANCE Pin
John R. Shaw7-Jul-03 9:09
John R. Shaw7-Jul-03 9:09 
GeneralEasy question about passing by refrence to another function Pin
johnstonsk7-Jul-03 8:05
johnstonsk7-Jul-03 8:05 
GeneralRe: Easy question about passing by refrence to another function Pin
AlexO7-Jul-03 8:22
AlexO7-Jul-03 8:22 
GeneralRe: Easy question about passing by refrence to another function Pin
johnstonsk7-Jul-03 8:33
johnstonsk7-Jul-03 8: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.