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.

DLL Talk / dll request

Author
Message
Cloggy
19
Years of Service
User Offline
Joined: 31st Oct 2004
Location: Rayleigh, Essex
Posted: 18th Apr 2005 07:38
In the DirectX 9 sdk there is a sample program 'Text3d'. In this program is code to draw antialiased text.

I have had a look at creating a dll to enable this command from DBPro, but you require .Net to compile Dx9 and I only have vc++ 6.

Could some kind soul out there have a look at creating something as it would obviously be very useful to many people.

There is a function to return the pointer in the DBProSetupDebug.dll called ?GetDirect3DDevice.

Cheers,

Cloggy
Cryptoman
20
Years of Service
User Offline
Joined: 24th Nov 2003
Location: Utah Mountains
Posted: 18th Apr 2005 12:03
I would, but open com interfaces are no fun for me.


IanG
19
Years of Service
User Offline
Joined: 25th Sep 2004
Location: Cyberspace
Posted: 19th Apr 2005 02:08
you can compile dx 9c in vc 6 if i remember - you download the sdk then there is an extra download - called sdk extras which contains the vc 6 lib

Used to be Phoenix_insane registered in september 2003 despite what the date says to the left <--
PC - amd athlon 2.0ghz, 512mb, GeForce FX 5200 128mb, 200gb, xp pro sp2
Cloggy
19
Years of Service
User Offline
Joined: 31st Oct 2004
Location: Rayleigh, Essex
Posted: 19th Apr 2005 08:47
Here is a very early version of my antialiased text dll. It's a bit slow at the moment but my c++ and directX knowledge is very limited.

I have compiled with April 2005 DirectX SDK.

Here is the sample program



The dll is attached.

Please bear in mind this is quite early code. There is currently no font name validation etc.

All comments welcomed.

Cheers,

Cloggy

Attachments

Login to view attachments
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 19th Apr 2005 14:15 Edited at: 19th Apr 2005 14:18
Testing

[edit] doesn't work for me as I get the dll error as with the first DBP 5.8 version

Cloggy
19
Years of Service
User Offline
Joined: 31st Oct 2004
Location: Rayleigh, Essex
Posted: 19th Apr 2005 16:28
I think this dll is compiled with Feb2005 sdk.

Could you give it a go.

Cheers,

Cloggy

Attachments

Login to view attachments
Cloggy
19
Years of Service
User Offline
Joined: 31st Oct 2004
Location: Rayleigh, Essex
Posted: 19th Apr 2005 18:21
I've tried this one on a no April 2005 SDK machine and it works.

Attachments

Login to view attachments
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 19th Apr 2005 22:43
I have the feb2005 sdk. I get cannot find d3d9x_25.dll error. For whatever reason (am using DBP 5.8 public release).

Cloggy
19
Years of Service
User Offline
Joined: 31st Oct 2004
Location: Rayleigh, Essex
Posted: 19th Apr 2005 23:22
I presume the error is still happening with the last dll posted.
Cloggy
19
Years of Service
User Offline
Joined: 31st Oct 2004
Location: Rayleigh, Essex
Posted: 20th Apr 2005 04:46
I have created this dll using the Feb 2005 DirectX 9 SDK.

It would appear that it will only work on machines with this SDK installed on them. as they install d3dx9_24.dll.

Can anybody tell me how I can get round this problem?
Should I use an earlier version of the SDK?

How was this solved by TGC for Dark Basic as I know it had previously been a problem?

Any help advice please?

Cheers,

Cloggy

Login to post a reply

Server time is: 2024-03-29 10:00:15
Your offset time is: 2024-03-29 10:00:15