Click here to Skip to main content
15,893,486 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerWild guess on CMapStringtoPtr key removal Pin
bikram singh31-Jul-04 16:50
bikram singh31-Jul-04 16:50 
GeneralRe: Wild guess on CMapStringtoPtr key removal Pin
zecodelathe2nd31-Jul-04 17:25
zecodelathe2nd31-Jul-04 17:25 
GeneralThread Static calling non-static function Pin
Danny Gilbert30-Jul-04 17:43
Danny Gilbert30-Jul-04 17:43 
GeneralRe: Thread Static calling non-static function Pin
bikram singh31-Jul-04 16:10
bikram singh31-Jul-04 16:10 
Generalftp server Pin
Ryan McDermott30-Jul-04 16:21
Ryan McDermott30-Jul-04 16:21 
GeneralLoading Variable in EditBox Pin
arunforce30-Jul-04 12:00
arunforce30-Jul-04 12:00 
GeneralRe: Loading Variable in EditBox Pin
Archer28230-Jul-04 12:57
Archer28230-Jul-04 12:57 
GeneralRe: Loading Variable in EditBox Pin
arunforce30-Jul-04 13:13
arunforce30-Jul-04 13:13 
Problem is:

I already made a value, and It's being read all across the program, im just trying to sorta make an active display in the MFC application on how much money I have... It's an edit box, displaying how much cash you have.

This is part of the source:

#include "stdafx.h"
#include "Tycoon.h"
#include "TycoonDlg.h"
#include "BUY.h"
#include "SELL.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
unsigned long cash = 100000;

But Class Wizard makes a new variable, and I want to use my old variable.
GeneralRe: Loading Variable in EditBox Pin
Jaime Stuardo30-Jul-04 13:52
Jaime Stuardo30-Jul-04 13:52 
GeneralRe: Loading Variable in EditBox Pin
arunforce30-Jul-04 14:25
arunforce30-Jul-04 14:25 
GeneralNotify Messages Pin
Kosk30-Jul-04 11:47
Kosk30-Jul-04 11:47 
GeneralRe: Notify Messages Pin
Renjith Ramachandran30-Jul-04 18:18
Renjith Ramachandran30-Jul-04 18:18 
GeneralUnicode and cstring Pin
pnpfriend30-Jul-04 11:05
pnpfriend30-Jul-04 11:05 
GeneralRe: Unicode and cstring Pin
Gary R. Wheeler30-Jul-04 12:19
Gary R. Wheeler30-Jul-04 12:19 
GeneralRe: Unicode and cstring Pin
Michael Dunn30-Jul-04 14:48
sitebuilderMichael Dunn30-Jul-04 14:48 
GeneralRe: Unicode and cstring Pin
PJ Arends30-Jul-04 23:15
professionalPJ Arends30-Jul-04 23:15 
Generalchar str[256] AND char *str = new char(256) Pin
Igor Mihailov30-Jul-04 10:44
Igor Mihailov30-Jul-04 10:44 
GeneralRe: char str[256] AND char *str = new char(256) Pin
Kosk30-Jul-04 12:01
Kosk30-Jul-04 12:01 
GeneralRe: char str[256] AND char *str = new char(256) Pin
Gary R. Wheeler30-Jul-04 12:24
Gary R. Wheeler30-Jul-04 12:24 
GeneralRe: char str[256] AND char *str = new char(256) Pin
Archer28230-Jul-04 13:03
Archer28230-Jul-04 13:03 
GeneralSetting Wallpaper Pin
Archer28230-Jul-04 10:40
Archer28230-Jul-04 10:40 
GeneralSPIF_SENDCHANGE ? Pin
bikram singh31-Jul-04 16:14
bikram singh31-Jul-04 16:14 
GeneralInitialising a items in a structure Pin
Grahamfff30-Jul-04 10:35
Grahamfff30-Jul-04 10:35 
GeneralRe: Initialising a items in a structure Pin
Kosk30-Jul-04 11:54
Kosk30-Jul-04 11:54 
GeneralRe: Initialising a items in a structure Pin
Grahamfff30-Jul-04 21:07
Grahamfff30-Jul-04 21:07 

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.