By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,409 Members | 893 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,409 IT Pros & Developers. It's quick & easy.

visible window from system function

P: n/a
i have a c++ program compiled in visual c++ that links to a c
library. when a system function is called in the c library a blank
command window is displayed while the c logic is executing. this is
from the windows cmd.exe that is executed by the system function. i
need to prevent the window from being displayed and would prefer doing
so from the c++ code (may not get access to c library source). any
suggestions? yes, i'm a newbie.

Mar 9 '07 #1
Share this Question
Share on Google+
3 Replies


P: n/a
extrnh wrote:
i have a c++ program compiled in visual c++ that links to a c
library. when a system function is called in the c library a blank
command window is displayed while the c logic is executing. this is
from the windows cmd.exe that is executed by the system function. i
need to prevent the window from being displayed and would prefer doing
so from the c++ code (may not get access to c library source). any
suggestions? yes, i'm a newbie.
Ask on a windows programming group.

--
Ian Collins.
Mar 9 '07 #2

P: n/a
On Mar 9, 2:37 am, "extrnh" <rgst...@comcast.netwrote:
i have a c++ program compiled in visual c++ that links to a c
library. when a system function is called in the c library a blank
command window is displayed while the c logic is executing. this is
from the windows cmd.exe that is executed by the system function. i
need to prevent the window from being displayed and would prefer doing
so from the c++ code (may not get access to c library source). any
suggestions? yes, i'm a newbie.

That's the console window, you're building a console app. YOu need to
build a win app and never create/show the window. How to do that
you'll learn in a windows programming group or searching google. Good
luck.

Mar 9 '07 #3

P: n/a
On Mar 9, 2:43 am, "Cupu" <stefan.constan...@gmail.comwrote:
On Mar 9, 2:37 am, "extrnh" <rgst...@comcast.netwrote:
i have a c++ program compiled in visual c++ that links to a c
library. when a system function is called in the c library a blank
command window is displayed while the c logic is executing. this is
from the windows cmd.exe that is executed by the system function. i
need to prevent the window from being displayed and would prefer doing
so from the c++ code (may not get access to c library source). any
suggestions? yes, i'm a newbie.

That's the console window, you're building a console app. YOu need to
build a win app and never create/show the window. How to do that
you'll learn in a windows programming group or searching google. Good
luck.
my apologies for not explaining the problem correctly. the visual c++
part is an mfc automation dll. it is executed by a vba macro in
excel. i have a posting on a windows programming group, no reponses
to date.

Mar 11 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.