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

C / C++ / MFC

 
GeneralInheritance Pin
act_x8-Nov-04 6:07
act_x8-Nov-04 6:07 
GeneralRe: Inheritance Pin
Michael Dunn8-Nov-04 6:49
sitebuilderMichael Dunn8-Nov-04 6:49 
GeneralSetting command arguments under Visual Studio .NET. Pin
blackmesa8-Nov-04 4:57
blackmesa8-Nov-04 4:57 
GeneralHooks (WH_CALLWNDPROC) Pin
Member 14941748-Nov-04 4:44
Member 14941748-Nov-04 4:44 
GeneralRe: Hooks (WH_CALLWNDPROC) Pin
Blake Miller8-Nov-04 9:50
Blake Miller8-Nov-04 9:50 
GeneralRe: Hooks (WH_CALLWNDPROC) Pin
Mike Beckerleg8-Nov-04 10:07
Mike Beckerleg8-Nov-04 10:07 
GeneralRe: Hooks (WH_CALLWNDPROC) Pin
Member 14941749-Nov-04 0:17
Member 14941749-Nov-04 0:17 
GeneralWrite enter character to a file Pin
gunnar668-Nov-04 4:30
gunnar668-Nov-04 4:30 
Hi
Can some one show me how to write an Enter character (chr 13) to a file?

HANDLE hAppend;
DWORD dwBytesRead, dwBytesWritten;
char buff[1];
TCHAR* filnavnhtml;

hAppend = CreateFile (filnavnhtml, // Open .txt.
GENERIC_WRITE, // Open for writing
0, // Do not share
NULL, // No security
CREATE_ALWAYS, // Open or create
FILE_ATTRIBUTE_NORMAL, // Normal file
NULL); // No template file

// write an enter character to the file
WriteFile (hAppend, buff, dwBytesRead,
&dwBytesWritten, NULL);


GeneralRe: Write enter character to a file Pin
David Crow8-Nov-04 5:03
David Crow8-Nov-04 5:03 
GeneralRe: Write enter character to a file Pin
Jonathan [Darka]8-Nov-04 5:03
professionalJonathan [Darka]8-Nov-04 5:03 
GeneralIs this a secret? (mixing native code with windows forms) Pin
BlackDice8-Nov-04 4:21
BlackDice8-Nov-04 4:21 
GeneralRe: Is this a secret? (mixing native code with windows forms) Pin
Daniel Turini8-Nov-04 4:28
Daniel Turini8-Nov-04 4:28 
GeneralSDI Child Wnd - Want to delete title bar Pin
jerry1211a8-Nov-04 4:11
jerry1211a8-Nov-04 4:11 
GeneralRe: SDI Child Wnd - Want to delete title bar Pin
BlackDice8-Nov-04 8:32
BlackDice8-Nov-04 8:32 
GeneralRe: SDI Child Wnd - Want to delete title bar Pin
pc_dev9-Nov-04 18:30
pc_dev9-Nov-04 18:30 
GeneralSimple Installation Program Pin
jerry1211a8-Nov-04 3:51
jerry1211a8-Nov-04 3:51 
GeneralRe: Simple Installation Program Pin
Ted Ferenc8-Nov-04 4:14
Ted Ferenc8-Nov-04 4:14 
GeneralRe: Simple Installation Program Pin
jerry1211a8-Nov-04 4:29
jerry1211a8-Nov-04 4:29 
GeneralUpdate Listcontrol Pin
vilmer8-Nov-04 3:34
vilmer8-Nov-04 3:34 
GeneralRe: Update Listcontrol Pin
BlackDice8-Nov-04 3:48
BlackDice8-Nov-04 3:48 
GeneralRe: Update Listcontrol Pin
David Crow8-Nov-04 4:04
David Crow8-Nov-04 4:04 
GeneralRe: Update Listcontrol Pin
vilmer8-Nov-04 6:25
vilmer8-Nov-04 6:25 
GeneralRe: Update Listcontrol Pin
BlackDice8-Nov-04 9:01
BlackDice8-Nov-04 9:01 
GeneralRe: Update Listcontrol Pin
vilmer8-Nov-04 20:41
vilmer8-Nov-04 20:41 
GeneralRe: Update Listcontrol Pin
BlackDice9-Nov-04 2:45
BlackDice9-Nov-04 2:45 

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.