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.

DarkBASIC Professional Discussion / Runtime Error! R6025 -pure virtual function call....ARGH! Scarry C++ Error!

Author
Message
Dom
21
Years of Service
User Offline
Joined: 31st May 2004
Location:
Posted: 31st Aug 2005 13:31 Edited at: 31st Aug 2005 13:31
HELP! I try running a program which has an include file which has a function in it, but when I call that function I get a scary C++ error! See the picture. How do I get past this!!!



"A book. I hate books. book is stupid." -- Some lame idiot
Formerly Saberdude --DFStudios--

Attachments

Login to view attachments
Torrey
20
Years of Service
User Offline
Joined: 20th Aug 2004
Location: New Jersey
Posted: 31st Aug 2005 13:37
I've had the same problem before, but only on Win2k machines. XP seems to work without this problem.
Lukas W
21
Years of Service
User Offline
Joined: 5th Sep 2003
Location: Sweden
Posted: 31st Aug 2005 13:43
ive got this error several times, but i just re-compile it and then it works.

OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 31st Aug 2005 13:46
Pure virtual call errors only appear with C++ code. DBPro isn't written in C++, as far as I know, which makes me think its an actual window problem.

Come to the third DarkBasic Pro Sci Fi Con - Be there and be square
Blog:http://spaces.msn.com/members/BouncyBrick/
Web Site:http://www.nicholaskingsley.co.uk
Dom
21
Years of Service
User Offline
Joined: 31st May 2004
Location:
Posted: 31st Aug 2005 14:16
I have tried re-compiling loads of time and I still get that error, how can i avoid this!

"A book. I hate books. book is stupid." -- Some lame idiot
Formerly Saberdude --DFStudios--
Ianhfar
20
Years of Service
User Offline
Joined: 8th Jul 2004
Location: UK
Posted: 31st Aug 2005 15:18
Dom

May we have a look at your code?
Are you using any third party DLLs

Bouncy Brick, I would be surprised if DBPRO was not written with a mixture of C and C++ !


Ianhfar
The Cage Complex
19
Years of Service
User Offline
Joined: 26th Aug 2005
Location: Reims, France.
Posted: 31st Aug 2005 15:18
It can also be a dll or DirectX problem I think. For me it comes often with loading of corrupted/non reliable objects.

Dom
21
Years of Service
User Offline
Joined: 31st May 2004
Location:
Posted: 31st Aug 2005 15:40
I am using Multisync, as for seeing meh codez Its not a lot, simply it looks for updates if there are none then call the login function which is where it fails. Just on the login function

"A book. I hate books. book is stupid." -- Some lame idiot
Formerly Saberdude --DFStudios--
re faze
20
Years of Service
User Offline
Joined: 24th Sep 2004
Location: The shores of hell.
Posted: 31st Aug 2005 16:41
@bouncy brick ???WTF??
the dbpro dll's are most definitely written in C++

"I am what I am and that is all I can be -J King"
APEXnow
Retired Moderator
22
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 31st Aug 2005 17:05
Agreed, some sample code will help. Although it could be that your Temp folder needs clearing out, if DBP is getting confused with pre-existing temporary build files.

Paul.


Home of the Cartography Shop - DarkBASIC Professional map importer
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 31st Aug 2005 21:55 Edited at: 31st Aug 2005 21:59
Quote: "the dbpro dll's are most definitely written in C++"

Soon find out.

Come to the third DarkBasic Pro Sci Fi Con - Be there and be square
Blog:http://spaces.msn.com/members/BouncyBrick/
Web Site:http://www.nicholaskingsley.co.uk
Alkaline
21
Years of Service
User Offline
Joined: 4th Dec 2003
Location: Seattle, Washington
Posted: 1st Sep 2005 02:59
if it is a windows problem i suggest (re)downloading the most current directx and patches for you OS.

768 DDR pc3200||ATI 9600xt 256mb||330 GB hard drive||Amd XP 3000+
InDex v2.0[url]http://forum.thegamecreators.com/?m=forum_view&t=58885&b=8 [/url]
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 1st Sep 2005 12:09
It is written in C++, so it possible DBPro may cause it.

Come to the third DarkBasic Pro Sci Fi Con - Be there and be square
Blog:http://spaces.msn.com/members/BouncyBrick/
Web Site:http://www.nicholaskingsley.co.uk
Dom
21
Years of Service
User Offline
Joined: 31st May 2004
Location:
Posted: 1st Sep 2005 13:28
@ Bouncy Brick:
Quote: "Be there and be square"
Lol
If it is DBPro causing it then how can I fix it

"A book. I hate books. book is stupid." -- Some lame idiot
Formerly Saberdude --DFStudios--
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 1st Sep 2005 16:43 Edited at: 1st Sep 2005 16:44
No idea, not without seeing the code and running the executable...

It might be worth visiting http://www.nichkk.plus.com/html/i_need_help.html - nothing better than helping via remote access...

Come to the third DarkBasic Pro Sci Fi Con - Be there and be square
Blog:http://spaces.msn.com/members/BouncyBrick/
Web Site:http://www.nicholaskingsley.co.uk
Dom
21
Years of Service
User Offline
Joined: 31st May 2004
Location:
Posted: 1st Sep 2005 17:02

Main Source Code.



Login function Code

"A book. I hate books. book is stupid." -- Some lame idiot
Formerly Saberdude --DFStudios--
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 1st Sep 2005 18:04
Can you make all the graphics availiable too ?

Come to the third DarkBasic Pro Sci Fi Con - Be there and be square
Blog:http://spaces.msn.com/members/BouncyBrick/
Web Site:http://www.nicholaskingsley.co.uk
Dom
21
Years of Service
User Offline
Joined: 31st May 2004
Location:
Posted: 1st Sep 2005 23:46
Here they are, I have also included the Music too, cos its good music!

"A book. I hate books. book is stupid." -- Some lame idiot
Formerly Saberdude --DFStudios--

Attachments

Login to view attachments

Login to post a reply

Server time is: 2025-06-02 14:20:25
Your offset time is: 2025-06-02 14:20:25