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 / VB .NET Dll Wrapper

Author
Message
Komayo
19
Years of Service
User Offline
Joined: 30th Apr 2005
Location: Porto
Posted: 3rd Aug 2006 21:21
Can someone plz give me a link to a VB.NET DLL C++ .NET Wrapper DLL source or example, since the links provided in the topic "Visual Basic Plugins for DBP - Support Resource" arent working for some reason for me.
Thank you
General Reed
18
Years of Service
User Offline
Joined: 24th Feb 2006
Location:
Posted: 4th Aug 2006 00:20
I also want these, and have asked the same question but not got a reply

AMD Athlon 64 3200+, 1GB ram, Geforce 6600 GTX, 250GB HDD
Vist www.scratchyrice-dev.co.uk
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 4th Aug 2006 03:24 Edited at: 4th Aug 2006 03:25
what exactly isnt working?
maybe Dave (Exeat) can help, he wrote the c++ wrapper for my dbp_netlib plugin

I no longer use that method to make .net plugins - converters are way less hassle, especially ZK's awesome tool

Science, Mathematics, and Physics do not lie - only people do.
Komayo
19
Years of Service
User Offline
Joined: 30th Apr 2005
Location: Porto
Posted: 5th Aug 2006 00:16
the problem with my dll itself, is that the function is not reconized by DBP.
i tryed to download the source examples from the topic i sad above, but they are broken, dead, it gives a error " arquive not found in server"
The Steps i followed to create the DLL:
VB .NET -> New Class Library Project
Created the Namespace, the Class and a simple add Function as method.
Then in C++ -> New Class Library Project, #using bla bla, then created the string table, but for some reason it inst working, puted both in plugin folder in dbp install dir.
Komayo
19
Years of Service
User Offline
Joined: 30th Apr 2005
Location: Porto
Posted: 5th Aug 2006 22:36
Any help here?
John Y
Synergy Editor Developer
22
Years of Service
User Offline
Joined: 4th Sep 2002
Location: UK
Posted: 5th Aug 2006 22:51
Komayo
19
Years of Service
User Offline
Joined: 30th Apr 2005
Location: Porto
Posted: 8th Aug 2006 00:16
that is of help for sure, but iam looking for a source of a wrapper, there were some links in the topic i mentioned above, but are broken, someone must have it in the pc downloaded...i think.
thank you for the link anyway
EgoAnt
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Canada
Posted: 16th Aug 2006 01:00
I tried to make a dll using visual studio 2005 and for some reason it didn't recognize any of my functions. I only put in two because I wanted to make sure I was below the limitations of the trial version.

Are there any special steps I need to take? This is the first time I've tried creating a dll to be used with DBP.
EgoAnt
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Canada
Posted: 16th Aug 2006 01:00
I tried to make a dll using visual studio 2005 and for some reason it didn\'t recognize any of my functions. I only put in two because I wanted to make sure I was below the limitations of the trial version.

Are there any special steps I need to take? This is the first time I\'ve tried creating a dll to be used with DBP.
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 16th Aug 2006 04:24
in c++? did you make a string table?

Science, Mathematics, and Physics do not lie - only people do.
EgoAnt
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Canada
Posted: 16th Aug 2006 07:10
Sorry for the double post above... No, I was trying to use VB.NET, and honestly I'm not sure where to start.
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 16th Aug 2006 15:19
if you use vb.net then you make your dll like you would for any .net app to use, but then theres a whole c++ project you'll need to make to wrap each function and all other sorts of horsesh*t that I don't know about. There's info on these forums if you search for it, but my advice to you would be to spring for the 25$ and get ZK's dll converter. It builds the string tables and recompiles IL to the format needed by dbp for plugins with a few clicks. The only diff is that you need to code everything in the vb.net dll code as "Shared", thats it.

If you code in vb.net you may want to know that Apexnow has written a wrapper for the DGDK which lets you code your games straight away in vb.net or c#, using any of the available ide's, even the free ones like sharpdev and the express versions from ms. That product pricing should be inline with the dgdk itself and is being sanctioned and sold by TGC. If you go that route you wont need any conversions for you dll's to plugins, they can be just dll's in the vb.net project assembly - everything will compile to pure .net assemblies as normal c#/vb.net projects do already, only the dgdk wrapper piece uses com-interop.

might be worth looking into either of these solutions

Science, Mathematics, and Physics do not lie - only people do.
EgoAnt
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Canada
Posted: 16th Aug 2006 22:32
Thanks! I'll look into that.

Login to post a reply

Server time is: 2024-11-22 12:29:51
Your offset time is: 2024-11-22 12:29:51