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.

Work in Progress / VB.Net Dll's in DBP

Author
Message
ZKAT8IT
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location:
Posted: 20th Nov 2004 13:13 Edited at: 20th Nov 2004 13:14
I've written a program to allow you to use VB.Net Dll's in DBP using the 'call dll' command. What it does is create a new dll with an export table of the functions and subs of your choosing. I am currently working to get them to work as a 3rd party plugin. Here's a screenshot of the program.

IanG
19
Years of Service
User Offline
Joined: 25th Sep 2004
Location: Cyberspace
Posted: 20th Nov 2004 19:34
looks good - download?

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
CattleRustler
Retired Moderator
20
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 20th Nov 2004 20:30
I have tested this yesterday and it seems to be working perfectly!


DBP_NETLIB_v1.4.3 DarkTOPIA site coming soon!
IanG
19
Years of Service
User Offline
Joined: 25th Sep 2004
Location: Cyberspace
Posted: 21st Nov 2004 01:55
download please - i really want to see this in action

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
CattleRustler
Retired Moderator
20
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 21st Nov 2004 02:18
he's just tweaking some interface bugs...


DBP_NETLIB_v1.4.3 DarkTOPIA site coming soon!
Kentaree
21
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 21st Nov 2004 02:44
Very interesting

Will this only work with VB.NET dlls, or will it work with any .NET dll?

Desktop: AMD Athlon XP2800+,GeForce FX5200 128MB, 1.25GB DDR RAM
Laptop: AMD Athlon 64M 3000+,Mobility Radeon 9700 128MB, 512MB DDR RAM
CattleRustler
Retired Moderator
20
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 21st Nov 2004 03:25
currently VB.NET dll's but since the msil is the same it should be easily portable.

It converts the vbnet dll to dbp usable dll. He is also exploring the ability for this util to make the vb.net dll a plugin for dbp (hot).

stay tuned
(ZK sorry for answering for you, but I knew you were afk for a bit)


DBP_NETLIB_v1.4.3 DarkTOPIA site coming soon!
CattleRustler
Retired Moderator
20
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 21st Nov 2004 04:07 Edited at: 21st Nov 2004 04:08
also anyone seeing this who doesnt have .NET installed could you give this a try please, and post result in that thread? thanks.

http://forum.thegamecreators.com/?m=forum_view&t=42975&b=2


DBP_NETLIB_v1.4.3 DarkTOPIA site coming soon!
ZKAT8IT
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location:
Posted: 21st Nov 2004 07:39
CR, thanks for answering while I was gone. Just got home, heh. I'm now starting work on the ability to use the dll's as plugins. As far as I can tell, there is a good chance this program will also convert C#.Net dll's assuming you follow the same guidelines I have set for the VB.Net dll's to work. As for C++.Net, I'm not entirely sure and dont have either, C#.Net, nor C++.Net to test with.
ALPHA ZERO PRODUCTIONS
20
Years of Service
User Offline
Joined: 28th Sep 2003
Location: Mom ! I forgot where we live !
Posted: 27th Nov 2004 12:50
download plz ?


ALPHA ZERO PRODUCTIONS
NEW WEBSITE ONLINE
1tg46
20
Years of Service
User Offline
Joined: 1st Feb 2004
Location: I dont know!
Posted: 27th Nov 2004 23:42
I am also interested in this, download would be very nice

Thanks,
1tg46


Click the sig
CattleRustler
Retired Moderator
20
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 28th Nov 2004 01:49
I guess I should have posted here, but since you asked in dll forum I answered there...

This app will be for sale, not free download. When ZK is ready I think we will be embedding a demo trial version for download. He and I havent discussed all the details yet but ZK will be selling his app thru my company mod2software, LLC. So I guess I am the publisher in this


DBP_NETLIB_v1.4.3 DarkTOPIA site coming soon!
ZKAT8IT
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location:
Posted: 28th Nov 2004 04:32 Edited at: 28th Nov 2004 04:36
actually CR, plans have changed and I'm actually still undecided on how to go about selling this, as I have talked w/ my parents and nuclearglory and you of course giving me a couple of posiblities on how to do this. but you get your free copy for helping

[Edit]also, due to the lack of people wanting this from the DBP community and difficulty of the feature, i think i may just omit the DBP automation feature and have them type the stringtable in manually.
CattleRustler
Retired Moderator
20
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 28th Nov 2004 05:54 Edited at: 28th Nov 2004 06:00
right. I had a funny feeling that was going to happen. good luck in your endeavors.

id list all the things you need inplace to sell this yourself legally, then of course to protect it - but i wont waste any more of MY time...


rock on


DBP_NETLIB_v1.4.3 DarkTOPIA site coming soon!
1tg46
20
Years of Service
User Offline
Joined: 1st Feb 2004
Location: I dont know!
Posted: 28th Nov 2004 21:57 Edited at: 28th Nov 2004 21:59
Quote: "i think i may just omit the DBP automation feature and have them type the stringtable in manually. "


If it is already their than it will waste more time omitting it. And besides An extra feature to raise the price, (not to much hopefully, but still).

Post when it is released, I am very interested.

Regards,
1tg46

And if you need help with any aspects of the program, I could help. I have Visual Studio .NET 2003, and I am currently working with Visual BASIC .NET.

P.S. Good luck


Click the sig
Maleck
19
Years of Service
User Offline
Joined: 12th May 2004
Location: US
Posted: 29th Nov 2004 14:18
I like the idea of this also. Please keep us updated.
1tg46
20
Years of Service
User Offline
Joined: 1st Feb 2004
Location: I dont know!
Posted: 7th Dec 2004 20:14
How is the program coming along?


Click the sig
ZKAT8IT
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location:
Posted: 9th Dec 2004 12:38
Program was put on hold due to a massive load of homework from college. I should be able to get back to work on it this weekend since this semester is just about over and all that is left are finals.
IanG
19
Years of Service
User Offline
Joined: 25th Sep 2004
Location: Cyberspace
Posted: 9th Dec 2004 23:59
how does it work?

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
1tg46
20
Years of Service
User Offline
Joined: 1st Feb 2004
Location: I dont know!
Posted: 10th Dec 2004 04:11
keep the forums up to date. Do you know the expected price on the product since it isn't going through cattlerustler's web site?


Click the sig
ZKAT8IT
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location:
Posted: 10th Dec 2004 05:36
I was thinking of $35.
CattleRustler
Retired Moderator
20
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 10th Dec 2004 05:48
Yeah, and last I heard I was no longer involved in this.

ZKAT8IT
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location:
Posted: 10th Dec 2004 06:19
I never said you weren't involved in this. You decided to step out based off of me saying I was still thinking on how to market the product.
CattleRustler
Retired Moderator
20
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 10th Dec 2004 07:03
oh is that what happened? I beg to differ, but I also wont have this discussion in public, which is more of why I was pissed, not the fact of what you decided to do. You know where I am so we can discuss there if you like.

Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 10th Dec 2004 09:12
Kids..

CURRENT PROJECT: Chaos Hizzle Demo
1tg46
20
Years of Service
User Offline
Joined: 1st Feb 2004
Location: I dont know!
Posted: 10th Dec 2004 20:15
$35 is a bit high for my budget, but I still may get it once i learn more information on the plugin, and if I know where to get it from. If the plugin is going through cattlerustler's website or through TGC then I would definately consider buying it since I trust those sources. Keep up the good work ZKAT8IT !

Regards,
1tg46


Click the sig
ZKAT8IT
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location:
Posted: 11th Dec 2004 05:33
Ok, I had some extra time and I think I finally finished. I'm still got to run through to check for bugs though. Heres some shots of the new design.



IanG
19
Years of Service
User Offline
Joined: 25th Sep 2004
Location: Cyberspace
Posted: 11th Dec 2004 07:38
looks good, wish you were going to release it as freeware (i don't like spending money, mainly cause i don't have any)

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
1tg46
20
Years of Service
User Offline
Joined: 1st Feb 2004
Location: I dont know!
Posted: 11th Dec 2004 08:10
That would be nice, but I doubt it. Can only hope


Click the sig
ZKAT8IT
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location:
Posted: 12th Dec 2004 02:46
I have finished working out the bugs I think, and should be uploading a trial/demo version soon, as soon as I finish writing a readme on how to use it. The trial/demo version will allow you to only export 1 function or sub per dll though.
IanG
19
Years of Service
User Offline
Joined: 25th Sep 2004
Location: Cyberspace
Posted: 12th Dec 2004 04:41
atleast we can see how good it is then - what is it written in?

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
ZKAT8IT
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location:
Posted: 12th Dec 2004 04:45 Edited at: 12th Dec 2004 04:47
It's written in Visual Basic.Net. So, you will need the .Net framework installed. Also, you will need the .Net Framework SDK installed, because the application uses a few things from the SDK, which I'm not allowed to distribute with my program.
ZKAT8IT
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location:
Posted: 13th Dec 2004 01:22
I have to run into a bit of a problem. When exporting the dll as a plugin for DBP, and having a Function that accepts a string value, that string value is lost inside of the function, thus it cant be used. It works however if it's used in a Sub and not a Function, although Sub's cant return a value. I am currently working on this problem though, but due to this problem, it may take another day or two longer than expected to release the demo/trial version.
1tg46
20
Years of Service
User Offline
Joined: 1st Feb 2004
Location: I dont know!
Posted: 15th Dec 2004 04:33
Well as long as you keep us up to date, and try to figure out the problem, we can wait

Regards,
1tg46


Click the sig
ZKAT8IT
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location:
Posted: 17th Dec 2004 01:47
I have been working for the past 4-5 days now trying to figure out how to pass strings to functions. I still haven't figured it out though. I did however find a bug which I'll be fixing as soon as i finish my 5 page essay. Once the bug is fixed I will release the demo. Everything is documented for the application in a Readme.txt file, even instructions on how to make a Dll for those of you with VB.Net Standard. However, there will be no documentation for passing strings to functions for plug-in Dll's since I haven't figured it out yet. So you will either have to wait for me to figure it out, figure it out yourself, or work around the problem.
1tg46
20
Years of Service
User Offline
Joined: 1st Feb 2004
Location: I dont know!
Posted: 27th Dec 2004 00:22
progress?


Click the sig
ZKAT8IT
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location:
Posted: 29th Dec 2004 13:42
I appologize for my lack of progress and updates. I have been busy christmas shopping, finals for college, then christmas, then I recently got a gf so I've been spending time with her, so all of my time has been consumed. I will try to however fix this last bug that I've recently encountered by the end of the week.
1tg46
20
Years of Service
User Offline
Joined: 1st Feb 2004
Location: I dont know!
Posted: 1st Jan 2005 00:42
Looks like you have some competition with the_winch's program which is freeware. Any comments?


Click the sig
ZKAT8IT
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location:
Posted: 2nd Jan 2005 08:26
Heres a trial, limit of 1 export per dll.
http://dse.dbspot.com/ftp/DLL_Func_Export_Trial.zip
You will need the MS .Net framework and the .Net framework installed. Please read the ReadMe included first as it will explain what you need to do to use the application, and what you cant do as of yet. And the reason for such a long delay is due to hollidays and the fact there is a problem with using strings as a parameter for functions which i have as of yet to fix. You may use them in subs but not functions.
IanG
19
Years of Service
User Offline
Joined: 25th Sep 2004
Location: Cyberspace
Posted: 2nd Jan 2005 20:08 Edited at: 2nd Jan 2005 20:09
your converter won't load any dlls here - it gives an unhandled exception error

[attached]


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

Attachments

Login to view attachments
ZKAT8IT
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location:
Posted: 3rd Jan 2005 02:03
Ok, first of all I can't help unless you click the details button to show me the real error. And second did you read the ReadMe.rtf?

It says,

Important!: Before using, you will need to copy the ilasm.exe and ildasm.exe's to the same folder as this program. The program will not work otherwise and will crash.
IanG
19
Years of Service
User Offline
Joined: 25th Sep 2004
Location: Cyberspace
Posted: 3rd Jan 2005 02:31
ildasm - can't find it, i can find ilasm though

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
IanG
19
Years of Service
User Offline
Joined: 25th Sep 2004
Location: Cyberspace
Posted: 3rd Jan 2005 02:40
found it - got another error though

the error this time


screeny attached

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

Attachments

Login to view attachments
ZKAT8IT
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location:
Posted: 3rd Jan 2005 02:50
Hmm, not sure why it would crash there. If you dont mind could you post the VB source?...or contact me on AIM or MSN or by email. I should be online all day today.
Dot Merix
20
Years of Service
User Offline
Joined: 15th Oct 2003
Location: Canada
Posted: 3rd Jan 2005 03:11 Edited at: 3rd Jan 2005 03:11
[edit] didnt notice there was two pages, heh.



WindowsXP Home(Service pack 2), Athlon XP 2400+(2.1Ghz), 1GIG Ram, Ati Radeon 9800Pro 128MB.
IanG
19
Years of Service
User Offline
Joined: 25th Sep 2004
Location: Cyberspace
Posted: 3rd Jan 2005 03:16 Edited at: 3rd Jan 2005 03:20
heres the code - if your observant you'll notice that it's the the_winch's example code



i'll add you to msn - don't block me!!

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
ZKAT8IT
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location:
Posted: 3rd Jan 2005 03:31
Ok, well, u dont need a namespace just so you know. And the problem is 'Add' is a keyword either of VB or ILASM so it's putting quotes around it, just change the name of the function and it should work.
Neil19533
20
Years of Service
User Offline
Joined: 30th Aug 2003
Location: England
Posted: 3rd Jan 2005 03:48
IanG is using c sharp

Any spelling mistakes are totally In tensional.
Neil19533
20
Years of Service
User Offline
Joined: 30th Aug 2003
Location: England
Posted: 3rd Jan 2005 04:00
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\ilasm.exe
then the other one is in your sdk folder
SDK\v1.1\Bin\ildasm.exe

if you copy both and put them in the same folder it still will not work as the ildasm.exe has crashed to get passed this you can just copy ilasm.exe and dll converter into the SDK\v1.1\Bin\ folder then run it from there

Any spelling mistakes are totally In tensional.
Shadow Robert
21
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 3rd Jan 2005 04:27


In C# you have to not only make sure you have the key function, but export functions in that way.
Another key thing you have to remember is placing the 'test' Namespace as the Base Namespace in settings, and make sure to save.

Also make sure to check can't remember which Tab, but check the Interop code as well as setting Unmanaged Exporting.


Login to post a reply

Server time is: 2024-04-19 21:52:39
Your offset time is: 2024-04-19 21:52:39