SunQuest
           Delphi Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreDelphi Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
  #1  
Old April 9th, 2008, 05:03 AM
KingCarlos KingCarlos is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2008
Posts: 5 KingCarlos User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 m 34 sec
Reputation Power: 0
Executable without ouput screen - just a form

I've begun to go beyond pascal and utilise the delphi components to generate a GUI.

However when executing i still have the blank black output screen aswell as my form.

Why is this? Can i stop this happening?

Thanks

Reply With Quote
  #2  
Old April 9th, 2008, 06:43 PM
clivew clivew is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jan 2006
Location: Carlsbad, CA
Posts: 703 clivew User rank is Sergeant (500 - 2000 Reputation Level)clivew User rank is Sergeant (500 - 2000 Reputation Level)clivew User rank is Sergeant (500 - 2000 Reputation Level)clivew User rank is Sergeant (500 - 2000 Reputation Level)clivew User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 3 Days 16 h 44 m 49 sec
Reputation Power: 12
This post has no meaningful context.

Please try and formulate a more informative request.

Clive

Reply With Quote
  #3  
Old April 10th, 2008, 03:28 AM
KingCarlos KingCarlos is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2008
Posts: 5 KingCarlos User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 m 34 sec
Reputation Power: 0
OK

Say i open delphi. (i'm using delphi 7)
Select New Application or Unit.

I add vcl components to the form and user code to the associated unit to perform certain tasks and i build.

When i run the application my form-based GUI opens to which i can interact and run procedures which invoke my user code but i also have the black console output which is of no use.

I want to stop this occuring.

Reply With Quote
  #4  
Old April 10th, 2008, 12:54 PM
clivew clivew is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jan 2006
Location: Carlsbad, CA
Posts: 703 clivew User rank is Sergeant (500 - 2000 Reputation Level)clivew User rank is Sergeant (500 - 2000 Reputation Level)clivew User rank is Sergeant (500 - 2000 Reputation Level)clivew User rank is Sergeant (500 - 2000 Reputation Level)clivew User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 3 Days 16 h 44 m 49 sec
Reputation Power: 12
The behavior you describe is not normal.
I assume it is the way you are setting up your project.
Can you start by posting the source code for your project file?

Clive

Reply With Quote
  #5  
Old April 11th, 2008, 06:58 AM
taoh15 taoh15 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2008
Posts: 3 taoh15 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 52 m 52 sec
Reputation Power: 0
Quote:
Originally Posted by KingCarlos
OK

Say i open delphi. (i'm using delphi 7)
Select New Application or Unit.

I add vcl components to the form and user code to the associated unit to perform certain tasks and i build.

When i run the application my form-based GUI opens to which i can interact and run procedures which invoke my user code but i also have the black console output which is of no use.

I want to stop this occuring.


Check the source of the .dpr file and make sure it doesn't have
{$APPTYPE CONSOLE}
in it

The .dpr should look like
program Project27;

uses
Forms,
Unit29 in 'Unit29.pas' {Form29};

{$R *.res}

begin
Application.Initialize;
Application.MainFormOnTaskbar := True;
Application.CreateForm(TForm29, Form29);
Application.Run;
end.

Cheers
Taoh

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreDelphi Programming > Executable without ouput screen - just a form


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway