Click here to Skip to main content
15,889,216 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Delete documents from Printer Pin
Iain Clarke, Warrior Programmer6-Jul-10 2:15
Iain Clarke, Warrior Programmer6-Jul-10 2:15 
GeneralRe: Delete documents from Printer Pin
Ananth3046-Jul-10 2:23
Ananth3046-Jul-10 2:23 
GeneralRe: Delete documents from Printer Pin
Ananth3046-Jul-10 2:41
Ananth3046-Jul-10 2:41 
GeneralRe: Delete documents from Printer Pin
Ananth3046-Jul-10 2:42
Ananth3046-Jul-10 2:42 
GeneralRe: Delete documents from Printer Pin
«_Superman_»6-Jul-10 19:27
professional«_Superman_»6-Jul-10 19:27 
GeneralRe: Delete documents from Printer Pin
Ananth30413-Jul-10 0:54
Ananth30413-Jul-10 0:54 
GeneralRe: Delete documents from Printer Pin
Ananth30414-Jul-10 1:57
Ananth30414-Jul-10 1:57 
GeneralRe: Delete documents from Printer Pin
David Crow6-Jul-10 4:29
David Crow6-Jul-10 4:29 
Ananth304 wrote:
pFile = fopen ( "reafile.txt" , "rb" );


pFile is not being used.

Ananth304 wrote:
buffer = (char*) malloc (lSize);


At this point, lSize is uninitialized.

Ananth304 wrote:
WritePrinter(hPrinter,buffer,lSize,&dwBytesWritten);


Writing to buffer, which may or may not have been properly assigned a block of memory.

"One man's wage rise is another man's price increase." - Harold Wilson

"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

"Man who follows car will be exhausted." - Confucius


GeneralRe: Delete documents from Printer Pin
Ananth30413-Jul-10 18:53
Ananth30413-Jul-10 18:53 
GeneralRe: Delete documents from Printer Pin
David Crow19-Jul-10 2:46
David Crow19-Jul-10 2:46 
GeneralRe: Delete documents from Printer Pin
KarstenK6-Jul-10 3:02
mveKarstenK6-Jul-10 3:02 
QuestionHandling sysmenu new item event Pin
eyalle5-Jul-10 20:53
eyalle5-Jul-10 20:53 
AnswerRe: Handling sysmenu new item event Pin
«_Superman_»5-Jul-10 21:04
professional«_Superman_»5-Jul-10 21:04 
GeneralRe: Handling sysmenu new item event Pin
eyalle5-Jul-10 21:06
eyalle5-Jul-10 21:06 
GeneralRe: Handling sysmenu new item event Pin
«_Superman_»5-Jul-10 21:16
professional«_Superman_»5-Jul-10 21:16 
GeneralRe: Handling sysmenu new item event Pin
eyalle5-Jul-10 21:36
eyalle5-Jul-10 21:36 
GeneralRe: Handling sysmenu new item event Pin
«_Superman_»5-Jul-10 21:49
professional«_Superman_»5-Jul-10 21:49 
GeneralRe: Handling sysmenu new item event Pin
eyalle5-Jul-10 21:52
eyalle5-Jul-10 21:52 
GeneralRe: Handling sysmenu new item event Pin
«_Superman_»5-Jul-10 21:54
professional«_Superman_»5-Jul-10 21:54 
GeneralRe: Handling sysmenu new item event Pin
eyalle5-Jul-10 21:57
eyalle5-Jul-10 21:57 
GeneralRe: Handling sysmenu new item event Pin
«_Superman_»5-Jul-10 22:32
professional«_Superman_»5-Jul-10 22:32 
GeneralRe: Handling sysmenu new item event Pin
eyalle5-Jul-10 22:40
eyalle5-Jul-10 22:40 
QuestionSubclass list control with another controls inside Pin
Pavel Sokolov5-Jul-10 12:25
Pavel Sokolov5-Jul-10 12:25 
AnswerRe: Subclass list control with another controls inside Pin
CPallini5-Jul-10 21:18
mveCPallini5-Jul-10 21:18 
GeneralRe: Subclass list control with another controls inside Pin
Pavel Sokolov6-Jul-10 1:38
Pavel Sokolov6-Jul-10 1:38 

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.