visible window from system function

E

extrnh

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.
 
I

Ian Collins

extrnh said:
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.
 
C

Cupu

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.
 
E

extrnh

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top