Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Syntax Errors

Author
Message
tonycrew
14
Years of Service
User Offline
Joined: 8th Jan 2010
Location:
Posted: 2nd Mar 2010 00:01
Ok i am a total noob, so please dont slate me. I am using DBPro Online Free Version, And i'm right at the beggining of learning, i have just started to read and try TDK_Mans Guide and i keep getting SYNTAX ERRORS when i click the Complile and Run Button (Green Triangle)


And i'm only at the 1st piece of code.

I duuno if you need any of the following info but just incase.

Vista 32
Updated to latest updates
Visual Studio 2008
DirectX SDK Aug 2007
Dark GDK

Thanks for any help

FPS Creator Updated 116,Vista 32Bit UpTo Date, nVidea 8500 1Gig Graphics Card, 4 Gig DDR2 Ram, Intel Duel Core 3GHZ CPU
Rudolpho
18
Years of Service
User Offline
Joined: 28th Dec 2005
Location: Sweden
Posted: 2nd Mar 2010 01:32
That should work, is everything installed properly?
Try to run the repair feature of the installer (if there is one, I think so anyway) or re-install the whole thing.

ShaunRW
DBPro Developer
16
Years of Service
User Offline
Joined: 7th Jan 2008
Location: Brisbane, Australia
Posted: 2nd Mar 2010 14:02 Edited at: 2nd Mar 2010 14:02
It could be because your using windows vista. This is the link to the Windows Vista Compatibility Thread. It shows you how to install DBPro on Vista.

Hope that helps you.

tonycrew
14
Years of Service
User Offline
Joined: 8th Jan 2010
Location:
Posted: 2nd Mar 2010 14:34
Thankyou very much

FPS Creator Updated 116,Vista 32Bit UpTo Date, nVidea 8500 1Gig Graphics Card, 4 Gig DDR2 Ram, Intel Duel Core 3GHZ CPU
Rudolpho
18
Years of Service
User Offline
Joined: 28th Dec 2005
Location: Sweden
Posted: 2nd Mar 2010 15:32
He shouldn't get syntax errors in that case. Possibly an "unknown error", if he's using the new IDE though.

tonycrew
14
Years of Service
User Offline
Joined: 8th Jan 2010
Location:
Posted: 3rd Mar 2010 02:11
I reinstalled it again and i stil get the problems.. amybe i need to reinstall windows..?

FPS Creator Updated 116,Vista 32Bit UpTo Date, nVidea 8500 1Gig Graphics Card, 4 Gig DDR2 Ram, Intel Duel Core 3GHZ CPU
TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 3rd Mar 2010 12:24
Try the following snippet:



DBP automatically quits and returns to the editor when a program has run, so adding the Wait Key will keep the program running until you press a key.

There's nothing in the beginners tutorials that only works in DB Classic, so your problem is not with the code you are typing in.

I don't use Vista myself, but I know it can cause problems with DB due to restrictions on writing files to certain directories, but fixes to this are adequately covered in the above link.

TDK

tonycrew
14
Years of Service
User Offline
Joined: 8th Jan 2010
Location:
Posted: 3rd Mar 2010 12:29
If i click Compile and run in debug mode the code runs fine, but i get a Error when exiting the code Vista puts up one of those Close the program popups, In the problem details i get this,

Quote: "Problem signature:
Problem Event Name: APPCRASH
Application Name: DBPCompiler.exe
Application Version: 1.0.0.5
Application Timestamp: 4ae1c979
Fault Module Name: dbprocore.dll_unloaded
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 4a4797fc
Exception Code: c0000005
Exception Offset: 100015d0
OS Version: 6.0.6002.2.2.0.256.1
Locale ID: 2057
Additional Information 1: c53b
Additional Information 2: 93a04506386a1d77f5246681c7676242
Additional Information 3: 91a4
Additional Information 4: ab670c0b4d4925e429fedf6b44f1ec01

Read our privacy statement:
http://go.microsoft.com/fwlink/?linkid=50163&clcid=0x0409
"


FPS Creator Updated 116,Vista 32Bit UpTo Date, nVidea 8500 1Gig Graphics Card, 4 Gig DDR2 Ram, Intel Duel Core 3GHZ CPU
tonycrew
14
Years of Service
User Offline
Joined: 8th Jan 2010
Location:
Posted: 4th Mar 2010 10:10
I installed Windows XP and all is now fine.

FPS Creator Updated 116,Vista 32Bit UpTo Date, nVidea 8500 1Gig Graphics Card, 4 Gig DDR2 Ram, Intel Duel Core 3GHZ CPU
TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 4th Mar 2010 22:58
Clearly the best option, but people don't like it when you suggest such drastic action - and many don't have the knowhow to do it anyway.

Less hassle all round with XP and DB, so good choice!

TDK

Login to post a reply

Server time is: 2024-11-23 20:06:21
Your offset time is: 2024-11-23 20:06:21