Linking to VB .NET DLLs
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 246
- Joined: Tue Jun 30, 2009 11:15 pm
Linking to VB .NET DLLs
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.
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.
-
- Posts: 344
- Joined: Tue Feb 24, 2009 6:14 pm
- Contact:
Re: Linking to VB .NET DLLs
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...
-
- VIP Livecode Opensource Backer
- Posts: 246
- Joined: Tue Jun 30, 2009 11:15 pm
Re: Linking to VB .NET DLLs
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.
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.

-
- Posts: 344
- Joined: Tue Feb 24, 2009 6:14 pm
- Contact:
Re: Linking to VB .NET DLLs
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.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.

-
- VIP Livecode Opensource Backer
- Posts: 246
- Joined: Tue Jun 30, 2009 11:15 pm
Re: Linking to VB .NET DLLs
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.
Have you got any links for some screenshots of what this Eye Candy could look like? I'm intruiged.
-
- Posts: 344
- Joined: Tue Feb 24, 2009 6:14 pm
- Contact:
Re: Linking to VB .NET DLLs
Eye Candy is a definition.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.


-
- VIP Livecode Opensource Backer
- Posts: 246
- Joined: Tue Jun 30, 2009 11:15 pm
Re: Linking to VB .NET DLLs
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!!!