473,387 Members | 1,456 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

visible window from system function

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
3 2444
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Jon | last post by:
Hi all, I am trying to create a page that contains a number of div elements, with links on the left side of the page allowing the user to select which div to display. Some of the pages contain...
14
by: D. Alvarado | last post by:
Hello, I am trying to open a window containing an image and I would like the image to be flush against the window -- i.e. have no padding or border. Can I make this happen with a single call to a...
6
by: vooose | last post by:
How would you determine if a window(Form) is visible. By visible I mean that you can currently see it, as apposed to Form.Visible. (which returns True when the window sits behind other windows) ...
9
by: WRH | last post by:
Hello I am new to asp but I made some Jscript functions which work fine. The functions contain some strings used as a registration key for some apps. It is important that these strings not be...
4
by: reikoshea | last post by:
okay ive been working at this for probably 4 hours now, and I (not to mention my boss) am pretty upset. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head>...
1
by: tony | last post by:
Hello!! I have an application that consist of several windows forms. Lets call these A,B and C for simplicity. I have one main meny where the user can choose window form A or B or C. When a...
15
by: Mephisto187 | last post by:
How can I find the currently visible desktop? By calling EnumWindowStations and EnumDesktops I get a list of all available desktops. But is there a way to figure out which one of them is currently...
1
by: extrnh | last post by:
i have a visual c++ automation server (mfc dll) that links to a c library. the server is called by an excel vba macro. when a system function is called in the c library a blank command window is...
5
by: dgardner | last post by:
This one has me stumped and I hope someone can help. I have a form with a button on it. When I click the button, I want a label named lblWait to be visible. (When the form opens, the label is...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.