Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 14:22
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
4 registered members (AndrewAMD, Quad, soulman3, Ayumi), 675 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
higher level programming issue #254875
03/06/09 06:01
03/06/09 06:01
Joined: Aug 2006
Posts: 5
British Columbia, Canada
S
Syndor_Computing Offline OP
Newbie
Syndor_Computing  Offline OP
Newbie
S

Joined: Aug 2006
Posts: 5
British Columbia, Canada
not sure what is causing this but I've followed everything i can find. I'm trying to compile the example from the sdk_engine folder and it compiles fine but won't run the level I get

c:\program files\Microsoft Visual Studio\My Projects\test\debug\test.exe damaged
startup failure - any key to abort

using the c++ file that came with gamestudio 7

any ideas what I may be doing wrong ?
thankyou

Re: higher level programming issue [Re: Syndor_Computing] #254879
03/06/09 07:14
03/06/09 07:14
Joined: Jul 2000
Posts: 27,967
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,967
Frankfurt
Yes, the EXE won't suffice, you also need to create an acknex.dll. Read the chapter "Engine SDK" in the manual - it's described there.

Re: higher level programming issue [Re: jcl] #254886
03/06/09 07:41
03/06/09 07:41
Joined: Aug 2006
Posts: 5
British Columbia, Canada
S
Syndor_Computing Offline OP
Newbie
Syndor_Computing  Offline OP
Newbie
S

Joined: Aug 2006
Posts: 5
British Columbia, Canada
yes i did that with the publish function of wed and I get that error. I read and followd the manual but its a bit vague

Re: higher level programming issue [Re: Syndor_Computing] #254888
03/06/09 07:45
03/06/09 07:45
Joined: Jul 2000
Posts: 27,967
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,967
Frankfurt
Can you describe all the steps you did? When the manual is unclear, I'd like to see the problem and improve the description.

The error message means that you did not create an acknex.dll after compiling your EXE. Or you did, but then copied a wrong acknex.dll, or started a wrong exe, or something like that. You must create an acknex.dll everytime _after_ compiling the EXE.

Re: higher level programming issue [Re: jcl] #254944
03/06/09 15:08
03/06/09 15:08
Joined: Dec 2003
Posts: 521
LazyDog Offline
User
LazyDog  Offline
User

Joined: Dec 2003
Posts: 521
Syndor_Computing,

this is from my Delphi SDK help manual... simply replace the word Delphi with VS and you should be very happy to not have to build an acknex.dll EVERY TIME you re-compile. This has saved me literally days worth of time (I'm serious)

How to run your own delphi program you're writing:
Copy the following files, d3dx9_30.dll, acknex.dll, ackutl.dll, sed.exe and ack6p.key from the gamestudio directory to the directory you are developing and/or want to run your program from. (This means copy those files to the Directory where you're writing you're own Delphi Program) That's it!! just compile and and it will run. A project compiled like this IS NOT meant to be distributed!! You must use a release version and do a publish to distribute!!


www.LazyDogSoftware.com
Delphi SDK Homepage

A7 Pro 780
Delphi 5 through 2010
Re: higher level programming issue [Re: LazyDog] #254958
03/06/09 17:05
03/06/09 17:05
Joined: Aug 2006
Posts: 5
British Columbia, Canada
S
Syndor_Computing Offline OP
Newbie
Syndor_Computing  Offline OP
Newbie
S

Joined: Aug 2006
Posts: 5
British Columbia, Canada
I created a vc++ project, linked against the gstudio7\sdk_engine\acknex.lib file. then i used the publish function of wed after compiling the level wich i named arena.wmb. then i copied the dlls that publish created from the arena.cd folder to where my exe is. I'm using the e_tutorial.cpp source code exactly as is with lesson 1 defined.

I'm using 7.07 Pro on windows XP Home edition and Visual Studio 6 Enterprise ( I prefer it over 2008) although i have 2008 as well but get the same results from either one.

Re: higher level programming issue [Re: Syndor_Computing] #254961
03/06/09 17:36
03/06/09 17:36
Joined: Jul 2000
Posts: 27,967
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,967
Frankfurt
Beta versions can't be used with the SDK. You need to purchase a full, legal version.


Moderated by  old_bill, Tobias 

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