Click here to Skip to main content
15,914,401 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How can open files inside program? Pin
Cedric Moonen28-Jan-04 1:41
Cedric Moonen28-Jan-04 1:41 
GeneralRe: How can open files inside program? Pin
David Crow28-Jan-04 2:50
David Crow28-Jan-04 2:50 
GeneralRe: How can open files inside program? Pin
Cedric Moonen28-Jan-04 3:02
Cedric Moonen28-Jan-04 3:02 
GeneralRadio Button problem Pin
Shenthil28-Jan-04 0:55
Shenthil28-Jan-04 0:55 
GeneralRe: Radio Button problem Pin
AnsGe28-Jan-04 1:41
AnsGe28-Jan-04 1:41 
GeneralRe: Radio Button problem Pin
Antti Keskinen28-Jan-04 1:51
Antti Keskinen28-Jan-04 1:51 
GeneralRe: Radio Button problem Pin
Shenthil28-Jan-04 3:41
Shenthil28-Jan-04 3:41 
GeneralTCHAR Strings and concatonation issues Pin
TomD227-Jan-04 23:53
TomD227-Jan-04 23:53 
I'm trying to retrieve a few lines of text from a file and then concatonate them into a TCHAR variable.

The entire lines of text amount to around 170 characters in length and the TCHAR receiving each file line is is set to _TCHAR fileLine[4000].

The memory allocation for the overall concatonated string is:

completeString = (_TCHAR*)malloc(4000);

I'm simply using the instruction:

_tcscat(*completeString, fileLine);

to concatonate.

The problem is that the line concatonations stop after around 150 characters for no real reason that I can see (and halfway through a fileLine), even thought the _TCHAR fileLine variable continues to hold the whole of the next string in sequence correctly.

Any ideas?

Thanks for any time,
Tom.
GeneralRe: TCHAR Strings and concatonation issues Pin
Diddy28-Jan-04 0:47
Diddy28-Jan-04 0:47 
GeneralRe: TCHAR Strings and concatonation issues Pin
TomD228-Jan-04 3:25
TomD228-Jan-04 3:25 
GeneralRe: TCHAR Strings and concatonation issues Pin
Diddy28-Jan-04 6:01
Diddy28-Jan-04 6:01 
Generaldisplaying menu item in a status bar Pin
toxcct27-Jan-04 22:59
toxcct27-Jan-04 22:59 
GeneralRegistering DLL Pin
kevcs227-Jan-04 22:52
kevcs227-Jan-04 22:52 
GeneralCDC Pin
viliam27-Jan-04 22:14
viliam27-Jan-04 22:14 
GeneralRe: CDC Pin
Antti Keskinen28-Jan-04 1:59
Antti Keskinen28-Jan-04 1:59 
GeneralRe: CDC Pin
Mike Dimmick28-Jan-04 2:15
Mike Dimmick28-Jan-04 2:15 
Generalmanaged c++ and licenses Pin
Roger Alsing27-Jan-04 21:38
Roger Alsing27-Jan-04 21:38 
GeneralGetting the Windows FontWidth Pin
Pazzuzu27-Jan-04 21:28
Pazzuzu27-Jan-04 21:28 
GeneralRe: Getting the Windows FontWidth Pin
Antti Keskinen27-Jan-04 21:46
Antti Keskinen27-Jan-04 21:46 
GeneralRe: Getting the Windows FontWidth Pin
Pazzuzu27-Jan-04 22:00
Pazzuzu27-Jan-04 22:00 
GeneralRe: Getting the Windows FontWidth Pin
Antti Keskinen28-Jan-04 1:39
Antti Keskinen28-Jan-04 1:39 
GeneralRe: Getting the Windows FontWidth Pin
Pazzuzu27-Jan-04 23:04
Pazzuzu27-Jan-04 23:04 
GeneralPaste gif, jpg images Pin
Filomela27-Jan-04 20:25
Filomela27-Jan-04 20:25 
GeneralRe: Paste gif, jpg images Pin
CodeBrain28-Jan-04 21:22
CodeBrain28-Jan-04 21:22 
GeneralRe: Paste gif, jpg images Pin
Filomela29-Jan-04 20:34
Filomela29-Jan-04 20:34 

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.