AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

Windows API design

Ein Thema von frankly · begonnen am 5. Mai 2003 · letzter Beitrag vom 7. Mai 2003
 
frankly

Registriert seit: 5. Mai 2003
22 Beiträge
 
#10
  Alt 6. Mai 2003, 09:15
Oh yes, I have 6 programs written in C and they communicate with each other using TCP connections. So one can simply execute them and then they would automatically send predefined messages to each other.

But one of these 6 programs require an input when running and then it will go back to run and then run till the end. These programs will end properly. I mean you can just leave it there after entering the input.

I created a main window and created 6 child windows now. And I want each of these child windows to display the "printf" that is outputted by the 6 programs. So the child windows are like some screens display messages. And as I mentioned above, one of them will need input so one of these windows need to accept input.

So what I want to do is to execute these 6 programs in the main window, I want to make a menu option "execute", and once it is clicked, the 6 programs will be called and executed. This is why I'm thinking of WinExec...but now I think I have to use CreateProcess().

So when this "execute" option is chosen, my program should call the 6 .exe to run the programs. And I am still messing with the attributes...

Hope this would help you to understand more of my program, I appreciate very much that you're trying to help me as best as you could. Just want to say a BIG thank you to you
  Mit Zitat antworten Zitat
 


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 07:27 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz