Linking to VB .NET DLLs

Interested adding compiled externals from LiveCode and third parties to your LiveCode projects? This is the place to talk about them.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
SirWobbyTheFirst
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 246
Joined: Tue Jun 30, 2009 11:15 pm

Linking to VB .NET DLLs

Post by SirWobbyTheFirst » Mon Sep 20, 2010 4:28 pm

Hi guys, this is kinda out of my depth but I was wondering if there is anyway to link Revolution to a .NET 2.0 Visual Basic DLL, I have tried setting the externals property to the .net dll and reopening the stack and Process Explorer states that the dll gets loaded into revolution but none of the functions are available.

I also tried adding the System.dll file to the externals property too so that it would load before my VB dll in case it was a missing dependency and nothing is happening there. I'm asking because in my increasingly daft mind, a .NET/Revolution hybrid would be pretty cool and useful.

Any light for the situation would be most appreciated. Michael.

shadowslash
Posts: 344
Joined: Tue Feb 24, 2009 6:14 pm
Contact:

Re: Linking to VB .NET DLLs

Post by shadowslash » Mon Sep 20, 2010 7:03 pm

Having something like that would be truly superb. The only problem is, I don't think anybody's done something like that before. The approach I'm seeing is to make your custom Windows exxternal for LiveCode and have that external deal with calling the functions and whatnot contained in the vb .NET dll...
Parañaque, Philippines
Image
Image

SirWobbyTheFirst
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 246
Joined: Tue Jun 30, 2009 11:15 pm

Re: Linking to VB .NET DLLs

Post by SirWobbyTheFirst » Mon Sep 20, 2010 7:10 pm

Hi Shadowslash (Its nice to hear from you again).

The thing is though, other than Visual Basic and Revolution I have no knowledge whatsoever of C and/or C++. I also have a phobia of them two as that Hello World tutorial nearly drove me to insanity. Hence some of the mad ideas I come up with are the result of that warped mind. :lol:

shadowslash
Posts: 344
Joined: Tue Feb 24, 2009 6:14 pm
Contact:

Re: Linking to VB .NET DLLs

Post by shadowslash » Mon Sep 20, 2010 7:18 pm

mickpitkin92 wrote:Hi Shadowslash (Its nice to hear from you again).

The thing is though, other than Visual Basic and Revolution I have no knowledge whatsoever of C and/or C++. I also have a phobia of them two as that Hello World tutorial nearly drove me to insanity. Hence some of the mad ideas I come up with are the result of that warped mind. :lol:
Thanks and just as well as you are, reading through that "Hello World" also almost made me die a little inside for not knowing how it works. I have been waiting for that certain rev (or LiveCode) user who has the potential as I also need SkinCrafter's capabilities. With SkinCrafter and RunRev, my apps would be eye candies. Image
Parañaque, Philippines
Image
Image

SirWobbyTheFirst
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 246
Joined: Tue Jun 30, 2009 11:15 pm

Re: Linking to VB .NET DLLs

Post by SirWobbyTheFirst » Mon Sep 20, 2010 7:31 pm

My mam and dad even said I looked slightly less normal (Which was an insult at the time). I could think of a lot of ways normal Revolution application could be expanded, for one you could tap into some of the deeper functions of the OS like starting processes as another user, something which can only be done with RUNAS, SU and SUDO.

Have you got any links for some screenshots of what this Eye Candy could look like? I'm intruiged.

shadowslash
Posts: 344
Joined: Tue Feb 24, 2009 6:14 pm
Contact:

Re: Linking to VB .NET DLLs

Post by shadowslash » Mon Sep 20, 2010 7:36 pm

mickpitkin92 wrote:My mam and dad even said I looked slightly less normal (Which was an insult at the time). I could think of a lot of ways normal Revolution application could be expanded, for one you could tap into some of the deeper functions of the OS like starting processes as another user, something which can only be done with RUNAS, SU and SUDO.

Have you got any links for some screenshots of what this Eye Candy could look like? I'm intruiged.
Eye Candy is a definition. Image It's used to describe something that looks really pleasing to the eyes or tend to get attnetion. Not sure if I'm giving a right example but Windows 7, compared to Windows 2000, Windows 7's interface is more of an eye candy than Windows 2000. Image
Parañaque, Philippines
Image
Image

SirWobbyTheFirst
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 246
Joined: Tue Jun 30, 2009 11:15 pm

Re: Linking to VB .NET DLLs

Post by SirWobbyTheFirst » Mon Sep 20, 2010 7:47 pm

Ah right I was just wondering whether you had any examples of the sort of eye candy you were going to give Revolution and in comparison with Windows 2000, Windows 7's eye candy is the SEX!!!

Post Reply