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

C / C++ / MFC

 
GeneralRe: capturing window messages with Visual C++ 6.0 Pin
3-May-01 4:30
suss3-May-01 4:30 
GeneralRe: capturing window messages with Visual C++ 6.0 Pin
Igor Sukhov3-May-01 4:40
Igor Sukhov3-May-01 4:40 
GeneralRe: capturing window messages with Visual C++ 6.0 Pin
Igor Sukhov3-May-01 4:40
Igor Sukhov3-May-01 4:40 
GeneralRe: capturing window messages with Visual C++ 6.0 Pin
3-May-01 5:36
suss3-May-01 5:36 
GeneralRe: capturing window messages with Visual C++ 6.0 Pin
Christian Graus3-May-01 13:28
protectorChristian Graus3-May-01 13:28 
GeneralRe: capturing window messages with Visual C++ 6.0 Pin
3-May-01 5:34
suss3-May-01 5:34 
Generalcan't get the right type of buffer to read file. Pin
hearties3-May-01 0:04
hearties3-May-01 0:04 
GeneralRe: can't get the right type of buffer to read file. Pin
Igor Sukhov3-May-01 1:08
Igor Sukhov3-May-01 1:08 
Hi !

Try this:

DWORD fileLength = workFile.GetLength(); //line 1
//char fileBuf[fileLength]; //line 2
char * fileBuf = new char[fileLength];

workFile.Read(fileBuf, fileLength); //line 3
....
delete[] fileBuf;



Best regards,

-----------
Igor Soukhov (Brainbench/Tekmetrics ID:50759)
igor_soukhov@mailru.com | ICQ:57404554 | http://siv.da.ru


GeneralRe: can't get the right type of buffer to read file. Pin
hearties3-May-01 1:17
hearties3-May-01 1:17 
GeneralRe: can't get the right type of buffer to read file. Pin
hearties3-May-01 1:22
hearties3-May-01 1:22 
GeneralRe: can't get the right type of buffer to read file. Pin
hearties3-May-01 1:26
hearties3-May-01 1:26 
QuestionI am broadcasting a message on port 53 with INADDR_BROADCAST to locate a nearest NameServer. Why no response ? Pin
2-May-01 21:59
suss2-May-01 21:59 
GeneralCStdioFile::ReadString can't work Pin
hearties2-May-01 21:11
hearties2-May-01 21:11 
GeneralRe: CStdioFile::ReadString can't work Pin
David Fleming2-May-01 22:34
David Fleming2-May-01 22:34 
GeneralRe: CStdioFile::ReadString can't work Pin
hearties2-May-01 22:42
hearties2-May-01 22:42 
GeneralRe: CStdioFile::ReadString can't work Pin
David Fleming2-May-01 23:47
David Fleming2-May-01 23:47 
GeneralSending a Windows Message to signal socket activity Pin
2-May-01 20:16
suss2-May-01 20:16 
GeneralCheck boxes in CTreeCtrl Pin
Steve Driessens2-May-01 20:02
Steve Driessens2-May-01 20:02 
GeneralRe: Check boxes in CTreeCtrl Pin
Tomasz Sowinski2-May-01 23:15
Tomasz Sowinski2-May-01 23:15 
GeneralRe: Check boxes in CTreeCtrl Pin
Steve Driessens3-May-01 14:36
Steve Driessens3-May-01 14:36 
GeneralRe: Check boxes in CTreeCtrl Pin
Tomasz Sowinski3-May-01 23:42
Tomasz Sowinski3-May-01 23:42 
GeneralRe: Check boxes in CTreeCtrl Pin
Steve Driessens4-May-01 0:21
Steve Driessens4-May-01 0:21 
QuestionDo I HAVE to install MDAC for Office 2000? Pin
Matt Philmon2-May-01 12:02
Matt Philmon2-May-01 12:02 
GeneralProblem With Auto Complet. Pin
Ghasrfakhri2-May-01 9:32
Ghasrfakhri2-May-01 9:32 
GeneralRe: Problem With Auto Complet. Pin
Michael Dunn2-May-01 9:53
sitebuilderMichael Dunn2-May-01 9:53 

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.