Click here to Skip to main content
15,887,027 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CFormView - How to change size of a view dynamically to fit the client's frame window (without manually resizing parent window)? Pin
Vaclav_24-Sep-07 4:17
Vaclav_24-Sep-07 4:17 
GeneralRe: CFormView - How to change size of a view dynamically to fit the client's frame window (without manually resizing parent window)? Pin
JudyL_MD24-Sep-07 4:41
JudyL_MD24-Sep-07 4:41 
GeneralRe: CFormView - How to change size of a view dynamically to fit the client's frame window (without manually resizing parent window)? Pin
Mark Salsbery24-Sep-07 6:28
Mark Salsbery24-Sep-07 6:28 
GeneralRe: CFormView - How to change size of a view dynamically to fit the client's frame window (without manually resizing parent window)? Pin
mfc_rookie24-Sep-07 18:59
mfc_rookie24-Sep-07 18:59 
Questionhow to change sid Pin
Sudipta Mukherjee23-Sep-07 11:13
Sudipta Mukherjee23-Sep-07 11:13 
QuestionTCP stack fragments incoming data in my client/server app Pin
deerhunter8923-Sep-07 8:10
deerhunter8923-Sep-07 8:10 
AnswerRe: TCP stack fragments incoming data in my client/server app Pin
Mark Salsbery23-Sep-07 9:14
Mark Salsbery23-Sep-07 9:14 
QuestionCLI pipe io - reading/ writing simultaneously Pin
higgsbo23-Sep-07 7:50
higgsbo23-Sep-07 7:50 
I'm trying to mimic the pipe capability of a unix command line in windows(2003 Ent. Ed).
btw - SUA 5.x does not let me execute this shell script the same way. The pipe is locked!

My unix shell script executes the following:
~~~~~~~~~~~~~~~~~~start~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mknod exp_pipe_dmp p
exp user/passwd@SID parfile=mydb.par &
gzip < exp_pipe_dmp > exp_sid.dmp.gz

~~~~~~~~~~~~~~~~~~~end~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Exp is an oracle command-line utility to create a database dump file(binary).
We execute the exp command in the background then immediately redirect "<"
the contents of the 'pipe' file to gzip and gzip then creates it's own
file, exp_sid.dmp.gz.

The importance of solving this problem: To save time!
On unix, Solaris, Linux the exp and the gzip execute simultaneously!

I have not been able to do this using Dave Roths Win32 perl packages, the Win32::API
or IPC::Run. I have turned to C, C++ or even C# to try to accomplish this but have not been able to reproduce this.
I can create a named pipe with the OVERLAPPED struct. I can open the pipe using a simple client as provided by the MSDN but I cannot write to the pipe and also read from it simultaneously - the exp process executes first THEN the gzip processes the pipe contents. I tried to create a stream file instead and the same exact thing occurs.
My goal is to save time. Any direction toward solving would be a great help. I document all code with references from ALL sources and would identify contributors to this effort.

Thanks,
Tracy
QuestionSOLVED CTabCtrl and spinner control - where is is documented? [modified] Pin
Vaclav_22-Sep-07 18:54
Vaclav_22-Sep-07 18:54 
AnswerRe: CTabCtrl and spinner control - where is is documented? Pin
Mark Salsbery23-Sep-07 7:49
Mark Salsbery23-Sep-07 7:49 
GeneralRe: CTabCtrl and spinner control - where is is documented? Pin
Vaclav_23-Sep-07 12:49
Vaclav_23-Sep-07 12:49 
GeneralRe: CTabCtrl and spinner control - where is is documented? Pin
Mark Salsbery23-Sep-07 12:58
Mark Salsbery23-Sep-07 12:58 
GeneralRe: CTabCtrl and spinner control - where is is documented? Pin
Mark Salsbery23-Sep-07 13:29
Mark Salsbery23-Sep-07 13:29 
GeneralRe: CTabCtrl and spinner control - where is is documented? Pin
Vaclav_24-Sep-07 4:07
Vaclav_24-Sep-07 4:07 
GeneralRe: CTabCtrl and spinner control - where is is documented? Pin
Mark Salsbery24-Sep-07 6:09
Mark Salsbery24-Sep-07 6:09 
QuestionCheck Application Pin
Tjie Pouw22-Sep-07 18:21
Tjie Pouw22-Sep-07 18:21 
AnswerRe: Check Application Pin
Hamed Musavi22-Sep-07 22:17
Hamed Musavi22-Sep-07 22:17 
JokeRe: Check Application Pin
Sreedhar DV26-Sep-07 0:17
Sreedhar DV26-Sep-07 0:17 
JokeRe: Check Application Pin
Hamed Musavi26-Sep-07 1:20
Hamed Musavi26-Sep-07 1:20 
Questionmodeless dialog & threads Pin
Peter Weyzen22-Sep-07 17:31
Peter Weyzen22-Sep-07 17:31 
QuestionRe: modeless dialog & threads Pin
Hamed Musavi22-Sep-07 23:31
Hamed Musavi22-Sep-07 23:31 
AnswerRe: modeless dialog & threads Pin
Mark Salsbery23-Sep-07 8:24
Mark Salsbery23-Sep-07 8:24 
QuestionRe: modeless dialog &amp; threads Pin
David Crow23-Sep-07 9:06
David Crow23-Sep-07 9:06 
AnswerRe: modeless dialog & threads Pin
Mark Salsbery23-Sep-07 9:24
Mark Salsbery23-Sep-07 9:24 
GeneralRe: modeless dialog &amp;amp; threads Pin
Peter Weyzen23-Sep-07 10:18
Peter Weyzen23-Sep-07 10:18 

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.