Click here to Skip to main content
15,907,910 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow do I use a COM component in Java? Pin
melwyn5-Nov-03 23:34
melwyn5-Nov-03 23:34 
AnswerRe: How do I use a COM component in Java? Pin
antlers6-Nov-03 10:33
antlers6-Nov-03 10:33 
GeneralRe: How do I use a COM component in Java? Pin
melwyn6-Nov-03 20:29
melwyn6-Nov-03 20:29 
GeneralRe: How do I use a COM component in Java? Pin
antlers7-Nov-03 12:06
antlers7-Nov-03 12:06 
QuestionWait for program to terminate? Pin
Dominik Reichl5-Nov-03 23:19
Dominik Reichl5-Nov-03 23:19 
AnswerRe: Wait for program to terminate? Pin
Joaquín M López Muñoz6-Nov-03 0:07
Joaquín M López Muñoz6-Nov-03 0:07 
GeneralRe: Wait for program to terminate? Pin
Dominik Reichl6-Nov-03 0:49
Dominik Reichl6-Nov-03 0:49 
GeneralRe: Wait for program to terminate? Pin
Joaquín M López Muñoz6-Nov-03 0:56
Joaquín M López Muñoz6-Nov-03 0:56 
Indicates that the operating system is to delete the file immediately after all of its handles have been closed, not just the handle for which you specified FILE_FLAG_DELETE_ON_CLOSE.

Correct, that is the whole point of the trick: you can close after the printing process has opened the file, and forget about it --deletion will happen when the printing is done.

Subsequent open requests for the file will fail, unless FILE_SHARE_DELETE is used.

Oh, I see... Ummm, I'm not sure of the implications. Maybe you can try to see what happens. What puzzles me if that FILE_SHARE_DELETE is not available at Win9x, while FILE_FLAG_DELETE_ON_CLOSE, so I don't know how the whole thing behaves in both families of OSes.

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
AnswerRe: Wait for program to terminate? Pin
Brian Shifrin6-Nov-03 3:51
Brian Shifrin6-Nov-03 3:51 
Generalimplementation and interface Pin
Anonymous5-Nov-03 22:47
Anonymous5-Nov-03 22:47 
GeneralRe: implementation and interface Pin
Joaquín M López Muñoz6-Nov-03 0:14
Joaquín M López Muñoz6-Nov-03 0:14 
GeneralRe: implementation and interface Pin
valikac6-Nov-03 5:44
valikac6-Nov-03 5:44 
GeneralCustomDraw in Listctrl Pin
super5-Nov-03 22:25
professionalsuper5-Nov-03 22:25 
GeneralRe: CustomDraw in Listctrl Pin
Dominik Reichl5-Nov-03 23:23
Dominik Reichl5-Nov-03 23:23 
GeneralCreating forms for outlook with C++ Pin
Anonymous5-Nov-03 22:04
Anonymous5-Nov-03 22:04 
GeneralGlobal variables???? VC++ 6.0 Pin
Anonymous5-Nov-03 21:03
Anonymous5-Nov-03 21:03 
GeneralRe: Global variables???? VC++ 6.0 Pin
Ted Ferenc5-Nov-03 21:56
Ted Ferenc5-Nov-03 21:56 
GeneralRe: Global variables???? VC++ 6.0 Pin
geo_m6-Nov-03 5:38
geo_m6-Nov-03 5:38 
GeneralRe: Global variables???? VC++ 6.0 Pin
David Chamberlain6-Nov-03 6:05
David Chamberlain6-Nov-03 6:05 
GeneralCProgressCtrl + Threads Pin
KKR5-Nov-03 19:35
KKR5-Nov-03 19:35 
GeneralRe: CProgressCtrl + Threads Pin
valikac6-Nov-03 5:46
valikac6-Nov-03 5:46 
GeneralProblems in changing TrayIcon Pin
Boby.George5-Nov-03 18:52
professionalBoby.George5-Nov-03 18:52 
GeneralRead a jpeg file Pin
Abhi@Work5-Nov-03 18:16
Abhi@Work5-Nov-03 18:16 
GeneralRe: Read a jpeg file Pin
algol5-Nov-03 21:51
algol5-Nov-03 21:51 
GeneralRe: Read a jpeg file Pin
Joe Woodbury6-Nov-03 10:45
professionalJoe Woodbury6-Nov-03 10: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.