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.

Program Announcements / .Net Dll Converter

Author
Message
ZKAT8IT
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location:
Posted: 4th Aug 2006 04:46 Edited at: 6th Aug 2006 14:37
The .Net Dll Converter v1.0 is completed and for sale for [Edit] $24.99 at
http://www.virtualdarkarts.com ( site requires flash 7.0 or higher )

What this program does is allow you to create a DLL in .Net and expose the functions so that they can be used in any non managed language. Your DLL's may be coded in C++.Net ,C#.Net, or VB.Net.

Here are some screenshots of the what the program is capable of allowing by combining .Net and DBP.


http://dse.lanejump.com/ftp/SG_Test4.PNG
http://dse.lanejump.com/ftp/Land_Water.PNG

The entire program in the above screenshots was coded in VB.Net by calling the DBP commands from within VB.Net. The same can apply for C#.Net and C++.Net if used properly.

adr
21
Years of Service
User Offline
Joined: 21st May 2003
Location: Job Centre
Posted: 4th Aug 2006 11:38 Edited at: 4th Aug 2006 11:38
Hi,

I'm no expert in DLL writing. I've managed to write a Regex plugin in C++, but that's about it. I've got 3 questions; they're pretty generic DLLy questions, but I'd appreciate your input, with a view to your .NET DLL Converter.

1. I understand that the "globStruct" is like the doorway into DBPro. I can find out engine level stuff (like an object's position). Is it possible to modify that object's position directly from the DLL? Pretty generic question, but I'd much rather do all the manipulation in .NET that I can

2. Does your DLL actually "convert" the .NET DLL, or does it just create a "wrapper", therefore requiring the original DLL somewhere. I assume it's the latter, because otherwise you'd have to rewrite a lot of the framework

3. When you say "calling the DBP commands from within VB.Net" does that mean you ran DBPro's DLLs through the converter? Wouldn't DBPro's DLLs have to be available to the application somehow?

[center]
But you see, I have the will of the warrior. Therefore, the battle is already over. The winner? Me!
ZKAT8IT
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location:
Posted: 4th Aug 2006 12:02
Ok, to answer your questions.

1: I added support for the ReceiveCoreDataPtr, Constructor, Destructor functions. As for "globStruct" I haven't fully tested that in C++.Net but I'm pretty sure you can use it though it might need to be modifed. I think it was giving me weird errors last time I tried including "globStruct.h". I haven't messed around with it that much. If you wondering about doing something like globstruct->positionobject(..) then no. Not unless you somehow manage to get "globStruct.h" working. Although, I have included with the program Include files for C++.Net, C#.Net and VB.Net to call the DBP command from within .Net. Here's a screenshot.

http://img.photobucket.com/albums/v82/ZKAT8IT/DBP_Net_SDK.jpg

2: It actually converts the DLL. It is not a wrapper.

3: No, calling the DBP command from within .Net is just like any other TPC. You just link you're dll to the DBP dll's and access their command set. So after the .Net DLL is converted, you toss it into the plugins-user folder and use it as if it were any normal TPC. There's also a .dba file included with the program ( thanks to APEXNow ) to force inclusion of DBP dll's if you use any commands in your DLL that are not being used in your DBP exe.

I hope I explained that right, lol.

Kentaree
22
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 4th Aug 2006 12:06
Quote: "It actually converts the DLL. It is not a wrapper."


Does this mean you don't need .NET to run the DLL?

ZKAT8IT
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location:
Posted: 4th Aug 2006 12:08 Edited at: 4th Aug 2006 12:16
Well, no. Maybe I missunderstood the question. Lol. You still need .Net to use the DLL.

[Edit] And for those wondering. the programsupports .Net 1.1 and .Net 2.0. Probably .Net 1.0 also, but you'll need to manually configure the locations of the compiler and decompiler yourself for that one. I am also working on adding support for passing Array's and Structures as parameters for functions.

[Edit] To clarify my original post about the level editor. The entire thing was written in VB.Net as a DLL, which I then called from DBP.

John Y
Synergy Editor Developer
22
Years of Service
User Offline
Joined: 4th Sep 2002
Location: UK
Posted: 5th Aug 2006 19:24
I like how it works, but it is a little expensive. I would purchase if it were cheaper

Get the new DarkBasic Professional IDE free until October!
Http://synergyide.thegamecreators.com
Http://omegabasic.thegamecreators.com
ZKAT8IT
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location:
Posted: 6th Aug 2006 01:36 Edited at: 6th Aug 2006 13:19
John Y. Yeah, I was thinking of dropping it also. After some consideration it did seem a little steep. I was reconsidering between 25-30.

ZKAT8IT
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location:
Posted: 6th Aug 2006 13:20
After careful consideration I've decided to change the price to $25.

CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 6th Aug 2006 14:36
congrats ZK!


Science, Mathematics, and Physics do not lie - only people do.
APEXnow
Retired Moderator
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 7th Aug 2006 01:00
Nice job ZK

Paul.


Home of the Cartography Shop - DarkBASIC Professional map importer
The Wendigo
22
Years of Service
User Offline
Joined: 13th Sep 2002
Location: A hole near the base of a tree in the US
Posted: 11th Aug 2006 04:27
Awesome! Goodluck with that, Zkat!

PS - I have only slightly emerged from my TGC hibernation


Home of DOOP, Strata Works, and Seva. djpeterson83@_!@hotmail.com
APEXnow
Retired Moderator
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 11th Aug 2006 14:31
@The Wendigo, long time no see

Paul.


Home of the Cartography Shop - DarkBASIC Professional map importer
Silvester
18
Years of Service
User Offline
Joined: 7th Dec 2005
Location: Netherlands
Posted: 11th Aug 2006 15:31
Zkatit,it seems i cant download your DBP-VB.net toolkit...

HowCome?

e-Drome Productions website,we renewed one with 1GB of webspace and Paypal!w00t!

e-Drome website
ZKAT8IT
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location:
Posted: 11th Aug 2006 23:43
Accel Leon: I'm not sure, the download link on my site works here. Try this link.

http://virtualdarkarts.com/ftp/DBP_VBNET_Toolkit.zip

If that one doesn't work try this one.

http://dse.lanejump.com/ftp/DBP_VBNET_Toolkit.zip

Silvester
18
Years of Service
User Offline
Joined: 7th Dec 2005
Location: Netherlands
Posted: 12th Aug 2006 17:10
Now i got it.



e-Drome Productions website,we renewed one with 1GB of webspace and Paypal!w00t!

e-Drome website
Bob da reaper
18
Years of Service
User Offline
Joined: 25th Mar 2006
Location:
Posted: 21st Aug 2006 14:06
Absoloutely brilliant, i'm coding away with the demo right now and I think this will be on my christmas list

n00bish games

Login to post a reply

Server time is: 2024-11-23 00:35:22
Your offset time is: 2024-11-23 00:35:22