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 / Speed delay with dll calling dll?

Author
Message
Hayer
19
Years of Service
User Offline
Joined: 4th Nov 2005
Location: Norway
Posted: 1st Sep 2007 15:46
Hi!
Is it a big speed delay if i make a c# dll that call my vb 6 dll's and return their values?

CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 1st Sep 2007 19:45 Edited at: 1st Sep 2007 19:46
prolly not too bad, a few milli's maybe, but why not ditch the vb6 dll's altogether, and put the code in the c# dll straight away? Better yet make the c# dll a plugin while youre at it.

If you need a converter you can use ZK's .net dll converter which will generate the string table and convert the dll to be dropable into dbp plugins-user folder.

My DBP plugins page is now hosted [href]here[/href]
Hayer
19
Years of Service
User Offline
Joined: 4th Nov 2005
Location: Norway
Posted: 1st Sep 2007 20:43
yea, was just wondering if it was possible..

CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 1st Sep 2007 21:45
oh. yeah actually it is.
your c# dll will have to instance the vb6 dll thru com interop. just ref the the dll, then create the instance, then away you go.

but then youll need dbp to "see" the c# dll which is another matter entirely

My DBP plugins page is now hosted [href]here[/href]
Hayer
19
Years of Service
User Offline
Joined: 4th Nov 2005
Location: Norway
Posted: 1st Sep 2007 23:19
no, i just use whinchens(or whatever he is nameds) .dll tool

CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 2nd Sep 2007 17:51
right, thats what i mean, youll need a converter of some sort.
I recommend ZK's

My DBP plugins page is now hosted [href]here[/href]
Hayer
19
Years of Service
User Offline
Joined: 4th Nov 2005
Location: Norway
Posted: 4th Sep 2007 13:46
ok... but ZK's converter costs money...

CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 4th Sep 2007 14:59
its well worth it

My DBP plugins page is now hosted [href]here[/href]

Login to post a reply

Server time is: 2024-11-22 22:46:39
Your offset time is: 2024-11-22 22:46:39