Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > visible window from system function

Reply
Thread Tools

visible window from system function

 
 
extrnh
Guest
Posts: n/a
 
      03-09-2007
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.

 
Reply With Quote
 
 
 
 
Ian Collins
Guest
Posts: n/a
 
      03-09-2007
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.
 
Reply With Quote
 
 
 
 
Cupu
Guest
Posts: n/a
 
      03-09-2007
On Mar 9, 2:37 am, "extrnh" <(E-Mail Removed)> 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.



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.

 
Reply With Quote
 
extrnh
Guest
Posts: n/a
 
      03-11-2007
On Mar 9, 2:43 am, "Cupu" <(E-Mail Removed)> wrote:
> On Mar 9, 2:37 am, "extrnh" <(E-Mail Removed)> 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.

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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Input button visible when not visible tshad ASP .Net 1 10-31-2009 10:53 PM
How to make a hyperlink Visible or not visible in DataList Patrick Olurotimi Ige ASP .Net 7 06-15-2005 12:01 PM
Sections visible and not visible tshad ASP .Net 4 01-31-2005 09:30 PM
button visible/not visible tshad ASP .Net 6 10-28-2004 10:02 PM
Panel.Visible = True also make child controls visible. spamfurnace ASP .Net 1 05-24-2004 03:07 AM



Advertisments