Click here to Skip to main content
15,897,371 members
Home / Discussions / C#
   

C#

 
QuestionWhy can't the as operator perform user-defined conversions? Pin
Patric_J7-Feb-05 12:17
Patric_J7-Feb-05 12:17 
AnswerRe: Why can't the as operator perform user-defined conversions? Pin
leppie7-Feb-05 20:56
leppie7-Feb-05 20:56 
GeneralDataGrid Question Pin
jll03307-Feb-05 11:53
jll03307-Feb-05 11:53 
GeneralCapture STDIO from DLL Pin
Larsenal7-Feb-05 11:17
Larsenal7-Feb-05 11:17 
GeneralRe: Capture STDIO from DLL Pin
leppie7-Feb-05 21:53
leppie7-Feb-05 21:53 
GeneralRe: Capture STDIO from DLL Pin
Larsenal7-Feb-05 22:01
Larsenal7-Feb-05 22:01 
GeneralRe: Capture STDIO from DLL Pin
leppie7-Feb-05 22:25
leppie7-Feb-05 22:25 
GeneralRe: Capture STDIO from DLL Pin
Anonymous8-Feb-05 6:16
Anonymous8-Feb-05 6:16 
leppie wrote:
That will get you nowhere


Really? It actually redirects the stdout to the file as expected. I do not want to write to a file because I need to be able to read the output continuously from another thread. I am afraid I will run into problems with synchronization. Remember, the FORTRAN is doing a lengthy calculation and it spits its progress out to STDOUT. I want to just read that progress as it comes.

Are you suggesting opening, appending, and closing the file every time one more line of my progress becomes availalbe and then open, read and close the file from C# to check if there is any progress? Seems like a bad solution. Is there anything more elegant?
GeneralRe: Capture STDIO from DLL Pin
leppie8-Feb-05 6:37
leppie8-Feb-05 6:37 
GeneralRe: Capture STDIO from DLL Pin
Larsenal8-Feb-05 10:17
Larsenal8-Feb-05 10:17 
GeneralGetting system icons Pin
Luis Alonso Ramos7-Feb-05 7:40
Luis Alonso Ramos7-Feb-05 7:40 
GeneralRe: Getting system icons Pin
Heath Stewart7-Feb-05 9:33
protectorHeath Stewart7-Feb-05 9:33 
GeneralRe: Getting system icons Pin
Luis Alonso Ramos7-Feb-05 10:18
Luis Alonso Ramos7-Feb-05 10:18 
GeneralRe: Getting system icons Pin
Heath Stewart7-Feb-05 10:28
protectorHeath Stewart7-Feb-05 10:28 
GeneralNotify Message Problem Pin
joy_priyank7-Feb-05 1:27
joy_priyank7-Feb-05 1:27 
GeneralRe: Notify Message Problem Pin
leppie7-Feb-05 2:20
leppie7-Feb-05 2:20 
GeneralRe: Notify Message Problem Pin
joy_priyank7-Feb-05 3:36
joy_priyank7-Feb-05 3:36 
GeneralRe: Notify Message Problem Pin
leppie7-Feb-05 3:47
leppie7-Feb-05 3:47 
GeneralRe: Notify Message Problem Pin
joy_priyank7-Feb-05 17:26
joy_priyank7-Feb-05 17:26 
GeneralCenter MessageBox over a given window Pin
dabs7-Feb-05 0:43
dabs7-Feb-05 0:43 
GeneralRe: Center MessageBox over a given window Pin
Heath Stewart7-Feb-05 9:43
protectorHeath Stewart7-Feb-05 9:43 
Generalproblem with XML Pin
Ahmed Galal7-Feb-05 0:22
Ahmed Galal7-Feb-05 0:22 
GeneralRe: problem with XML Pin
J4amieC7-Feb-05 1:01
J4amieC7-Feb-05 1:01 
GeneralRe: problem with XML Pin
Ahmed Galal7-Feb-05 3:10
Ahmed Galal7-Feb-05 3:10 
GeneralRe: problem with XML Pin
leppie7-Feb-05 2:46
leppie7-Feb-05 2:46 

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.