Hi,
I attempted to do what you said, however I just get the error
failed to 'LoadDBA' when I use the dbpro file. If I use the dba file it generates a default.exe application which runs great with a simple hello world application.
All I did was dump test.dbpro and test.dba into the compiler folder then call
DBPCompiler test.dba
Can you define the name and location of the resulting EXE via switches, or is it all controlled via the DBPro file? And if so, why is this DBPro file not working?
; **** Dark BASIC Professional Project File ****
; **** Written by Synergy Editor ****
version=DBP1.00
project name=Hello World
; **** source file information ****
main=test.dba
LineMain=6
; **** Executable Information ***
; build types: exe, media, installer, alone
executable=Test.exe
build type=exe
; ** Media file compression **
compression=NO
; ** Media file encryption **
encryption=NO
; ** Display the card options screen window? **
card options window=NO
; **** debugger information ****
; If the editor sets this to yes, it is running in debug mode
CLI=NO
CommandLineArguments=
; **** display mode information ****
app title=Hello World
; graphics mode options: fullscreen, window, desktop, fulldesktop, hidden
graphics mode=window
fullscreen resolution=640x480x32
; arbitrary sizes are valid for windowed mode
window resolution=640x480
; **** External Files Information ****
; **** Media ****
; Example entries: media1=graphics\*.jpg
media root path=C:\Users\danie\Downloads\Dark-Basic-Pro-Initial-Files\Dark-Basic-Pro-Initial-Files\Install\Projects\Hello World
; **** Icons ****
; **** Cursors ****
; **** Version Info ****
VerComments=
VerCompany=
VerFileDesc=
VerFileNumber=
VerInternal=
VerCopyright=
VerTrademark=
VerFilename=
VerProduct=
VerProductNumber=v1.0
; **** To Do ****
; **** Comments ****
comments1=
; **** Advanced (setup.ini) configuration ****
RemoveSafetyCode=NO
SafeArrays=YES
LocalTempFolder=NO
ExternaliseDLLS=NO
; **** additional lines ****
final source=Main.dba
Please note I tried changing final source to
Hello World.dba as well, and this didn't affect the resulting error message.
Many thanks in advance.