Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
4 registered members (fogman, Grant, AndrewAMD, juanex), 989 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Help! #317092
03/29/10 09:14
03/29/10 09:14
Joined: Mar 2010
Posts: 120
Switzerland
T
TehV Offline OP
Member
TehV  Offline OP
Member
T

Joined: Mar 2010
Posts: 120
Switzerland
I have been trying to modify the engine starup window using the acknex.wdf file. However, as long as this file exists, I just get a windows error message (main.exe is no longer functioning) as soon as I try to start the application.
Here's the code I've been using:
Code:
WINDOW WINSTART
{
  TITLE "My Simulator";
  SIZE 480,320;
  MODE IMAGE;	
  BG_COLOR RGB(240,240,240);
  FRAME FTYP1,0,0,480,320;
  BUTTON BUTTON_START,SYS_DEFAULT,"Start",400,288,72,24;
  BUTTON BUTTON_QUIT,SYS_DEFAULT,"Abort",400,288,72,24;
  SET FONT "Arial", RGB(255,255,255);
  TEXT "Get ready...", 0,0;
  TEXT_STDOUT "Arial",RGB(0,0,0),10,10,460,280;
  BG_PATTERN <bg_img_start.bmp>,OPAQUE;
  PROGRESS RGB(0,0,255), 10, 0, 300, 400, 20;
  COMMAND "-diag";
} 

WINDOW WINEND
{
  TITLE "Finished";
  SIZE 540,320;
  MODE STANDARD;
  BG_COLOR RGB(0,0,0);
  TEXT_STDOUT "Arial",RGB(255,40,40),10,20,520,270;
  SET FONT "Arial",RGB(0,255,255);
  TEXT "Any key to exit",10,270;
}


Does anyone know what is wrong with this file, and why it causes the engine to crash?

Re: Help! [Re: TehV] #317093
03/29/10 09:16
03/29/10 09:16
Joined: Mar 2010
Posts: 120
Switzerland
T
TehV Offline OP
Member
TehV  Offline OP
Member
T

Joined: Mar 2010
Posts: 120
Switzerland
I copied that out of the help documentation, and only removed 2 lines, and I specified a different background image (256 colours).
Still, the engine doesn't start at all, it just crashes.

Re: Help! [Re: TehV] #317096
03/29/10 09:33
03/29/10 09:33
Joined: Sep 2009
Posts: 496
P
Progger Offline
Senior Member
Progger  Offline
Senior Member
P

Joined: Sep 2009
Posts: 496
You need A7 Pro for using that


asking is the best Way to get help laugh laugh laugh
Re: Help! [Re: Progger] #317120
03/29/10 12:04
03/29/10 12:04
Joined: Mar 2010
Posts: 120
Switzerland
T
TehV Offline OP
Member
TehV  Offline OP
Member
T

Joined: Mar 2010
Posts: 120
Switzerland
Aww ok...


Moderated by  HeelX, rvL_eXile 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1