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.

Dark GDK / Frequently Asked Questions

Author
Message
Mike Johnson
TGC Developer
21
Years of Service
User Offline
Joined: 13th Sep 2002
Location: United Kingdom
Posted: 2nd Dec 2004 02:05
Question - When using Visual C++ 6 and DirectX 9.0c I get an unresolved external symbol error upon compiling. How do I fix this?

Answer - Download the DirectX 9.0c extras files. This contains files that are compatible with Visual C++ 6. They can be downloaded from here http://www.microsoft.com/downloads/details.aspx?FamilyId=736585E1-10F0-4E85-B940-828CBA9971F1&displaylang=en
IanM
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 2nd Dec 2004 02:29 Edited at: 8th Jan 2005 21:13
The rest of the answer ...

Install the extras pack, then add the lib directory to the list of directories to locate lib files (Menu options Tools->Options, select tab 'Directories', select 'lib' from the 'Show Directories for' dropdown box, click the 'new' icon and add the directory. Make sure that this directory is first in the list)

[EDIT 2]
For VC++6, the last SDK that will work with the DarkSDK is the October DX SDK. It seems that Microsoft has finally stopped supporting VC6++.

The December DX SDK can be made to work with VC++2003. Just add a new .cpp file to your project (I call mine Guidfix.cpp) and paste the following two lines of code into it:



(Thanks to DanW for working that out)

*** Coming soon - Network Plug-in - Check my site for info ***
For free Plug-ins and source code http://www.matrix1.demon.co.uk
IanM
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 3rd Dec 2004 20:07 Edited at: 3rd Dec 2004 20:08
Q. How can I get rid of all those 'conversion/truncation from x to y' warning messages?

A. Put the following pragma at the top of the code that has these warnings, or put it in a header file that is included by that code:

#pragma warning( disable : 4244 4305 )

It disables just those warnings, leaving the more important warnings and errors a little more visible.

*** Coming soon - Network Plug-in - Check my site for info ***
For free Plug-ins and source code http://www.matrix1.demon.co.uk
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 3rd Dec 2004 23:07
Or alternatively cast to the required datatype, which would be better, ie :

float y;
int x=(int) y;

Walk softly... and carry a big gun...
IanM
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 4th Dec 2004 00:35
The reason I posted that was because of this:

dbMakeObjectPlane( Object, 1.01, 1.01 );

This will report a warning:

warning C4305: 'argument' : truncation from 'double' to 'float'

Of course, you could fix it by changing it to this:

dbMakeObjectPlane( Object, (float)1.01, (float)1.01 );

But it's extra work, and the compiler is supposed to help, not report inconsequential warnings.

*** Coming soon - Network Plug-in - Check my site for info ***
For free Plug-ins and source code http://www.matrix1.demon.co.uk
Mike Johnson
TGC Developer
21
Years of Service
User Offline
Joined: 13th Sep 2002
Location: United Kingdom
Posted: 4th Dec 2004 00:43
You can also fix the warning by changing the line like this -

dbMakeObjectPlane ( Object, 1.01f, 1.01f );
Erick G
Retired Moderator
19
Years of Service
User Offline
Joined: 2nd Oct 2004
Location: Texas, USA
Posted: 6th Dec 2004 22:30
Question: Is There support for Dev C++ ? http://www.bloodshed.net

Answer: Not yet, but it is being looked into.
CattleRustler
Retired Moderator
20
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 7th Dec 2004 01:16
When will the .NET version of the SDK be available?

(thats my daily question, therefore making it "frequently asked" )


DBP_NETLIB_v1.4.3 DarkTOPIA site coming soon!
SoulMan
21
Years of Service
User Offline
Joined: 22nd Nov 2002
Location: In a house somewhere on the planet earth
Posted: 7th Dec 2004 09:43
By the way, maybe you can help me out. What is .Net?
I still don't get what all the hype is about it.
SoulMan

This is as backwards as is This
APEXnow
Retired Moderator
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 8th Dec 2004 02:44
Q. Why do I get linker errors to do with DX diagnostics when compiling the samples.

A. Ensure that you have v9.0c of the DXSDK, although this may have been sorted out with the release version of DGSDK as this was a problem with the beta test.

Paul.


Home of the Cartography Shop - DarkBASIC Professional map importer
walaber
20
Years of Service
User Offline
Joined: 22nd Oct 2003
Location: Los Angeles, CA
Posted: 8th Dec 2004 14:02
I actually had 9.0c Summer version, and got a few compiler errors with that. I downloaded the absolute latest version, and it fixed it as well.

Go Go Gadget DBPRO!

Athlon XP 2400+ || DDR-SDRAM 1GB || Nvidia GeForce 4 Ti4200 AGP 8x 128MB
DarkBasic Pro Guy
19
Years of Service
User Offline
Joined: 4th Jun 2004
Location: Broomfield, Colorado
Posted: 9th Dec 2004 06:15
Q:Can I use Visual C++ 2005 Express Edition BETA1 with Dark Game SDK?

A:looking for an answer

Cellbloc Studios
20
Years of Service
User Offline
Joined: 15th Mar 2004
Location: Atlanta, GA
Posted: 16th Dec 2004 01:33 Edited at: 17th Dec 2004 00:44
Removed per moderator

-This...is my boomstick!
SoulMan
21
Years of Service
User Offline
Joined: 22nd Nov 2002
Location: In a house somewhere on the planet earth
Posted: 16th Dec 2004 02:33
Looks like they removed the posts from before. Interesting.
SoulMan

This is as backwards as is This
Erick G
Retired Moderator
19
Years of Service
User Offline
Joined: 2nd Oct 2004
Location: Texas, USA
Posted: 16th Dec 2004 13:42
This is a FAQ thread, Q and A only.
waffle
21
Years of Service
User Offline
Joined: 9th Sep 2002
Location: Western USA
Posted: 19th Dec 2004 22:09 Edited at: 20th Dec 2004 09:52
Compatibility with PellesC compiler?
I think it uses .lib files with a simular format as dev c++.
Dominus
20
Years of Service
User Offline
Joined: 6th Feb 2004
Location:
Posted: 27th Dec 2004 17:34
Regarding the first two items in this FAQ, I am encoutering a slightly different problem with Visual C++ 6.0 Enterprise Edition.

When I try to compile any of the sample programs I get the listed error:


I have installed the Microsoft DirectX 9.0c SDK and the 9.0 Extras Summer files. I've made what I believe are the appropriate entries to the library and include lists in the compiler.

I've checked the DirectX 9 SDK and the d3dx8.lib file doesn't even exist in this version of the SDK. The file isn't on my system anywhere at all.

Is there something else I have to change in the settings to get this to link?

Thanks.

Steve Abbott
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 27th Dec 2004 17:40
If it doesn't exist in the SDK - and it should do - then its either been deleted or you have a corrupt hard drive.

Beware the Christmas... The fattener... The drunkard...
IanM
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 28th Dec 2004 06:02
You probably have your new SDK paths in the wrong place. The best place for them should be the top of the list.

*** Coming soon - Network Plug-in - Check my site for info ***
For free Plug-ins and source code http://www.matrix1.demon.co.uk
Dominus
20
Years of Service
User Offline
Joined: 6th Feb 2004
Location:
Posted: 28th Dec 2004 14:29 Edited at: 28th Dec 2004 14:34
Deleted this post as I see the problem that I found with the December DirectX SDK was noted in an edited post further up in this list. No need to restate what has been said.
GKH
19
Years of Service
User Offline
Joined: 8th Jan 2005
Location:
Posted: 9th Jan 2005 04:56
HELP - VC++6 and DirectX 9 SDK installation oddity.
Running on Windows 2000 pro SP4. VC++6 works fine
Downloaded The DirectX 9.0 SDK and installed as an administrator (have to)
When I try to use DX9 from VC as any user, administrator or standard user, the SDK includes are not found.

Logged in as THE administrator I was when I installed the SDK it works fine.

Any clues why this is? How about how to fix it? Priveleges are fine, everyone is checked on all boxes. Tried explicit inclusion of the SDK path in VC. No go.
Cookie
19
Years of Service
User Offline
Joined: 1st Feb 2005
Location:
Posted: 1st Feb 2005 07:23
I have a question that I'm sure many of us may be interested in knowing the answer to;
Multi-texturing is being advertised as a feature of the Dark Game SDK (tho of course it was, and still is, advertised as a feature of DBPro ). Does this mean that if we use the 'Texture Object' command with texture index within Dark Game SDK, or load an object with multiple textures, or attempt to create an FVF mesh from memblock with multiple texture co-ords, any of these methods will now work?
Are there methods where we may now use the standard Directx commands in C++ for working with FVF formats (but on objects created with Dark Game SDK commands) to make use of multitexturing?

Grateful for enlightenment!
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 19th Feb 2005 03:52
Quote: "SDK includes are not found"

Pathing is your best friend.

Visit http://homepages.nildram.co.uk/~nickk/
Questions are a burden to others, answers a prison for oneself.
Mnemonix
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: Skaro
Posted: 19th Feb 2005 10:16
My best friend is called Jeff

The 3d chat is coming...
Rights For Traffic Cones!
zao420
20
Years of Service
User Offline
Joined: 5th Aug 2003
Location: Canada
Posted: 2nd Mar 2005 08:03 Edited at: 2nd Mar 2005 10:40
hey every one, just one question for you guys, do i need to use a certain version of the direct x sdk, i used to have an older version installed but after i formatted i decided to install dxsdk_feb2005 and now when i try and run the same project i was working before i get access violation errors.

----update----

tried a new project with just the basic stuff thats need to run. and i got the error at if ( dbEscapeKey ( ) )
and the error is
Unhandled exception at 0x004f0bd9 in test.exe: 0xC0000005: Access violation reading location 0x00000000.

--edit--

ok ignore this looks like it was gfx driver problem

http://cavesoft.no-ip.com
WIP Version of my site. Usally it is offline.
http://dev-cavesoft.no-ip.com
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 2nd Mar 2005 14:01
Quote: " My best friend is called Jeff"

Ooooooohhhhhkkkkkkaaaayyyyy...

Visit http://homepages.nildram.co.uk/~nickk/
Questions are a burden to others, answers a prison for oneself.
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 5th Mar 2005 00:54
I thought I was his best friend..


"Lets migrate like bricks" - Me
preyx
19
Years of Service
User Offline
Joined: 1st Mar 2005
Location:
Posted: 11th Mar 2005 07:58
Using Feb 2005 DXSDK update on VC++ 2003. Still getting "unresolved external symbol..." error, even after IanM's fix.
Tak Wing
20
Years of Service
User Offline
Joined: 14th Apr 2004
Location:
Posted: 31st Mar 2005 23:59
I've checked the DirectX 9 SDK snd Extra files for Dec2004 and the d3dx8.lib file doesn't even exist. The file isn't on my system anywhere at all.

should d3dx8.lib be installed from the SDK or the Extra?
any help?
Tak Wing
20
Years of Service
User Offline
Joined: 14th Apr 2004
Location:
Posted: 3rd Apr 2005 01:53
Just an update to my previous post about the problem that I have in VS6.

By using Oct2004 DX SDK and Extra, I can use DarkBasic SDK. (Still not sure why people saying that they can use DaskBasic SDK w/ Dec2004 DX SDK installed)
Raven
19
Years of Service
User Offline
Joined: 23rd Mar 2005
Location: Hertfordshire, England
Posted: 21st Apr 2005 20:07
Question : Would I be allowed to use the Freeware version of the Dark Game SDK in order to product a License/Shareware-Based Plug-In for Dark Basic Professional and/or the Dark Game SDK?

The Licenses seem to state in both cases that you can't use it for non-games. I do need the functionality of the Dark Basic Professional DLLs in order to provide an easier interface, otherwise things get complicated in the plug-in. More to the point is I would *have* to expose some code that is linked in order for it to work, which I would rather not do.

I ask this given that I would assume using the same method that IanM did would be off-limits given he has been made to take down and stop upgrading his Interface, something which I would alternatively be using for this task.
Peter H
20
Years of Service
User Offline
Joined: 20th Feb 2004
Location: Witness Protection Program
Posted: 27th Apr 2005 22:39
Hey guys...not to be a terd...but is DarkSDK ever going to support Dev C++ ??

"We make the worst games in the universe."

OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 27th Apr 2005 22:56
Doubtful - Mike found it rather problematic...

Visit http://homepages.nildram.co.uk/~nickk
Calm down dear! Its only an election...
Peter H
20
Years of Service
User Offline
Joined: 20th Feb 2004
Location: Witness Protection Program
Posted: 18th May 2005 08:49
*sigh*
It doesn't support any Free/Cheap C++ compilers does it?

"We make the worst games in the universe."

Keaz
20
Years of Service
User Offline
Joined: 22nd Sep 2003
Location: Somewhere in south Texas
Posted: 24th Jun 2005 03:57
It can be modded to work with Vis C++ Express (currently in beta), but what about C#?

Breaking Stuff=Fun!,Bug Testing<>Fun!, Bug Testing=Breaking Stuff, so...
Bug Testing=Fun! Hmmmm....
DOES NOT COMPUTE! SYSTEM MALFUNTION!
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 24th Jun 2005 06:35
JimB
21
Years of Service
User Offline
Joined: 21st Sep 2002
Location: UK
Posted: 4th Jul 2005 18:38
I have MSVC++ 6.0 introductory edition,will this work with Dark Game SDK?
Lampton Worm
21
Years of Service
User Offline
Joined: 4th Sep 2002
Location: United Kingdom
Posted: 8th Jul 2005 20:07
Q: Is syntax highlighting and context help available within VS .Net 2003 for DGSDK commands?
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 8th Jul 2005 21:02
To which the answer is currently "not as standard"...

ThomasFN
19
Years of Service
User Offline
Joined: 26th Aug 2004
Location:
Posted: 9th Jul 2005 22:54
Q: Is there a trial version availible?

A: Looking for one...

http://www.bbfree.com/FortFN/
Lampton Worm
21
Years of Service
User Offline
Joined: 4th Sep 2002
Location: United Kingdom
Posted: 9th Jul 2005 23:29
@Bouncy Brick, ahh, so are you hinting there is whatever the VS equiv. of a "DBP keyword ini file" for DGSDK somewhere..? Wish the help was integrated.
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 10th Jul 2005 00:32
Someone may be working on adding context-sensitive help into VS - dont know whether its true or not though...

OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 10th Jul 2005 03:51
I've put all these queries on my web site now.

Eddie B
19
Years of Service
User Offline
Joined: 10th Apr 2005
Location:
Posted: 10th Jul 2005 21:36 Edited at: 10th Jul 2005 21:37
It's a set of libs etc, You can't get a trial version lol

Edit: ( it was for the last post on page one , Didn't see there was 2 Pages )

TheOneRing
20
Years of Service
User Offline
Joined: 28th Aug 2003
Location: Right here.
Posted: 31st Jul 2005 01:41
Lots of information supporting VC++ 2003, but does it work in VC++ 2001... I would imagine so, but I would like some solid confirmation before purchase, eh?

Thanks!
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 31st Jul 2005 10:56
VC 2001 ? You mean VS6 ?

AtomZ - its got an A. Its got a Z. Now its just needs U
Blog:http://spaces.msn.com/members/BouncyBrick/
Web Site:http://www.nicholaskingsley.co.uk
TheOneRing
20
Years of Service
User Offline
Joined: 28th Aug 2003
Location: Right here.
Posted: 31st Jul 2005 18:53
My apologies... I meant 2002. Doh!
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 31st Jul 2005 22:38
Didn't know there was ever a 2002 version - I thought it jumped directly from VS6 to 2003

AtomZ - its got an A. Its got a Z. Now its just needs U
Blog:http://spaces.msn.com/members/BouncyBrick/
Web Site:http://www.nicholaskingsley.co.uk
TheOneRing
20
Years of Service
User Offline
Joined: 28th Aug 2003
Location: Right here.
Posted: 1st Aug 2005 05:40
No. The first version, 2002, was .NET Framework version 1.0. 2003 some in with 1.1 support. I just bought DarkSDK, so I hope it works with 2002 (should). This outta be fun, as I used to use IanM's library.
TheOneRing
20
Years of Service
User Offline
Joined: 28th Aug 2003
Location: Right here.
Posted: 1st Aug 2005 21:06
Just a quick note to anyone who may have wanted to know, Dark SDK works fine in VS .NET 2002. Cheers!

Login to post a reply

Server time is: 2024-04-26 14:40:44
Your offset time is: 2024-04-26 14:40:44