Click here to Skip to main content
15,921,463 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Crystal Reports thru VC++ Pin
PrashantJ15-Sep-04 2:01
PrashantJ15-Sep-04 2:01 
GeneralRe: Crystal Reports thru VC++ Pin
SANJAY7615-Sep-04 22:47
SANJAY7615-Sep-04 22:47 
GeneralRunning an Exe file in hidden mode Pin
ita_cas14-Sep-04 23:53
ita_cas14-Sep-04 23:53 
GeneralRe: Running an Exe file in hidden mode Pin
Arsalan Malik15-Sep-04 0:25
Arsalan Malik15-Sep-04 0:25 
GeneralRe: Running an Exe file in hidden mode Pin
ita_cas15-Sep-04 0:33
ita_cas15-Sep-04 0:33 
GeneralRe: Running an Exe file in hidden mode Pin
Arsalan Malik15-Sep-04 1:31
Arsalan Malik15-Sep-04 1:31 
GeneralRe: Running an Exe file in hidden mode Pin
Bob Stanneveld15-Sep-04 6:38
Bob Stanneveld15-Sep-04 6:38 
QuestionCString memory allocation/corruption? Pin
Jock197914-Sep-04 23:53
Jock197914-Sep-04 23:53 
Hey all,

Had a brief search but couldn't find anything.

VC++ 6.

Ok, I have a class, which contains a CString declaration:

CString sString;

In the constuctor of the class, I set the sString = "";

I also provide Set and Get functions as inline functions in the header file. These are not being called at the moment.

I try to write the value out to the database, expecting the sString to be equal to "" (for the time being at least) and its got some rogue value in it, e.g. "Test". All the other CStrings in this class are also being see to "Test". (These other CStrings are being used in exactly the same way).

I have noticed that the pch address are all the same. Is this correct? Have I made a mistake? Any ideas?

Cheers

Jock
AnswerRe: CString memory allocation/corruption? Pin
Neville Franks15-Sep-04 2:04
Neville Franks15-Sep-04 2:04 
Generalcombo box value Pin
anuchelvi14-Sep-04 23:04
anuchelvi14-Sep-04 23:04 
GeneralRe: pls help Pin
anuchelvi15-Sep-04 2:23
anuchelvi15-Sep-04 2:23 
GeneralRe: combo box value Pin
David Crow15-Sep-04 3:00
David Crow15-Sep-04 3:00 
GeneralADO, Winsock, Client/Server Pin
Kudakwashe Mafutah14-Sep-04 23:01
Kudakwashe Mafutah14-Sep-04 23:01 
GeneralC++ reference question Pin
Maxime Labelle14-Sep-04 23:00
Maxime Labelle14-Sep-04 23:00 
GeneralRe: C++ reference question Pin
Ryan Binns14-Sep-04 23:18
Ryan Binns14-Sep-04 23:18 
GeneralRe: C++ reference question Pin
Maxime Labelle15-Sep-04 2:00
Maxime Labelle15-Sep-04 2:00 
GeneralRe: C++ reference question Pin
Maxime Labelle15-Sep-04 2:08
Maxime Labelle15-Sep-04 2:08 
GeneralRe: C++ reference question Pin
Mike Beckerleg15-Sep-04 3:21
Mike Beckerleg15-Sep-04 3:21 
GeneralRe: C++ reference question Pin
Taka Muraoka15-Sep-04 4:28
Taka Muraoka15-Sep-04 4:28 
GeneralRe: C++ reference question Pin
Ryan Binns15-Sep-04 16:30
Ryan Binns15-Sep-04 16:30 
GeneralDisplaying unicode chars in textbox - evc++ Pin
soodamani14-Sep-04 22:59
soodamani14-Sep-04 22:59 
QuestionHow To Profile an ISAPI DLL in VC.NET Pin
raed14-Sep-04 22:25
raed14-Sep-04 22:25 
Generalreleasing resources in MFC Pin
nnvidya14-Sep-04 22:21
nnvidya14-Sep-04 22:21 
GeneralRe: releasing resources in MFC Pin
David Crow15-Sep-04 3:05
David Crow15-Sep-04 3:05 
QuestionHow to use VC++ with MsWord.olb to create a table in a *.doc? Pin
杀手无敌14-Sep-04 22:14
杀手无敌14-Sep-04 22:14 

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.