Click here to Skip to main content
16,016,345 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalconnection detection& closing the port Pin
shahrokh nabavi27-Jun-04 1:38
shahrokh nabavi27-Jun-04 1:38 
Generaldll linking error Pin
Rajg27-Jun-04 1:16
Rajg27-Jun-04 1:16 
GeneralFastest way to read entire file into memory Pin
georgiek5026-Jun-04 22:03
georgiek5026-Jun-04 22:03 
GeneralRe: Fastest way to read entire file into memory Pin
Rein Hillmann26-Jun-04 22:16
Rein Hillmann26-Jun-04 22:16 
GeneralRe: Fastest way to read entire file into memory Pin
georgiek5027-Jun-04 7:00
georgiek5027-Jun-04 7:00 
GeneralRe: Fastest way to read entire file into memory Pin
palbano28-Jun-04 4:57
palbano28-Jun-04 4:57 
GeneralRe: Fastest way to read entire file into memory Pin
Neville Franks26-Jun-04 23:08
Neville Franks26-Jun-04 23:08 
GeneralRe: Fastest way to read entire file into memory Pin
John R. Shaw28-Jun-04 19:19
John R. Shaw28-Jun-04 19:19 
Hmmmm!
1) Open file.
2) Get size of file.
3) Allocate enough memory to hold entire file.
4) Read file into buffer.

Of cource this only applies if file size if smaller than the maximum buffer size that you can allocate. Under Win32, you can allocate very very large buffers.


INTP
GeneralRe: Fastest way to read entire file into memory Pin
georgiek5029-Jun-04 10:36
georgiek5029-Jun-04 10:36 
GeneralQuery on WH_KEYBOARD Experts help Pin
26-Jun-04 21:15
suss26-Jun-04 21:15 
GeneralRe: Query on WH_KEYBOARD Experts help Pin
Jörgen Sigvardsson27-Jun-04 11:12
Jörgen Sigvardsson27-Jun-04 11:12 
GeneralRe: Query on WH_KEYBOARD Experts help Pin
Member 115017627-Jun-04 17:59
Member 115017627-Jun-04 17:59 
GeneralRe: Query on WH_KEYBOARD Experts help Pin
Jörgen Sigvardsson28-Jun-04 2:13
Jörgen Sigvardsson28-Jun-04 2:13 
GeneralRe: Query on WH_KEYBOARD Experts help Pin
gamitech27-Jun-04 11:48
gamitech27-Jun-04 11:48 
GeneralRe: Query on WH_KEYBOARD Experts help Pin
Member 115017627-Jun-04 18:17
Member 115017627-Jun-04 18:17 
Generalabout IO Completion Ports Pin
regale26-Jun-04 17:02
regale26-Jun-04 17:02 
GeneralRe: about IO Completion Ports Pin
valikac27-Jun-04 5:38
valikac27-Jun-04 5:38 
GeneralRe: about IO Completion Ports Pin
regale27-Jun-04 19:19
regale27-Jun-04 19:19 
GeneralLinking to C++ Pin
c. s.26-Jun-04 15:46
c. s.26-Jun-04 15:46 
GeneralRe: Linking to C++ Pin
darkbyte27-Jun-04 4:29
darkbyte27-Jun-04 4:29 
QuestionUsing Alt key in Windows app? Pin
IGx8926-Jun-04 11:57
IGx8926-Jun-04 11:57 
AnswerRe: Using Alt key in Windows app? Pin
Jörgen Sigvardsson27-Jun-04 11:04
Jörgen Sigvardsson27-Jun-04 11:04 
GeneralRe: Using Alt key in Windows app? Pin
IGx8928-Jun-04 13:45
IGx8928-Jun-04 13:45 
Generalpassing values from edit boxes to the button Pin
lyn26-Jun-04 10:34
lyn26-Jun-04 10:34 
GeneralRe: passing values from edit boxes to the button Pin
DougW4826-Jun-04 18:08
DougW4826-Jun-04 18:08 

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.