Valhalla Legends Archive

Programming => General Programming => Visual Basic Programming => Topic started by: Blaze on September 05, 2005, 04:32 PM

Title: ThunderVB
Post by: Blaze on September 05, 2005, 04:32 PM
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=62038&lngWId=1

Has anyone used it before, or know someone who has?
Title: Re: ThunderVB
Post by: R.a.B.B.i.T on September 05, 2005, 10:32 PM
OMG I want it!

[update]
Got it!
Title: Re: ThunderVB
Post by: PaiD on September 05, 2005, 10:54 PM
Wow... This looks nice
Title: Re: ThunderVB
Post by: Mangix on September 06, 2005, 12:09 AM
does it work with VB 2005?
Title: Re: ThunderVB
Post by: MyndFyre on September 06, 2005, 02:27 AM
Quote from: Mangix on September 06, 2005, 12:09 AM
does it work with VB 2005?

Most likely not, since VB6 and VB.NET are entirely different in terms of both compiled form and IDE.
Title: Re: ThunderVB
Post by: Mangix on September 06, 2005, 03:00 AM
bah that sucks

oh well then i guess i'll get it If and When it releases for VB 2005 then :)
Title: Re: ThunderVB
Post by: QwertyMonster on September 06, 2005, 05:26 AM
Sweet. Looks so nice, might get it.
Title: Re: ThunderVB
Post by: Blaze on September 06, 2005, 06:48 AM
Rabbit, is it any good?
Title: Re: ThunderVB
Post by: LivedKrad on September 06, 2005, 07:23 PM
I can't get it to work at all. But then again, I'm really horrible at life.

Edit: I set up a function as such:

Private Function TestVal() As Long
'#c' int TestVal() {
'#c' return 2;
'#c' }
End Function


I then called the function like so:

Sub Main()
MsgBox TestVal()
End Sub


The message box contained "0".
Title: Re: ThunderVB
Post by: MyndFyre on September 06, 2005, 09:23 PM
Quote from: Mangix on September 06, 2005, 03:00 AM
bah that sucks

oh well then i guess i'll get it If and When it releases for VB 2005 then :)

They'll probably never release it for VB 2005.  .NET provides language interoperability (if you want to use MS IL, that's close to assembly).  Native C and assembly are incompatible.
Title: Re: ThunderVB
Post by: R.a.B.B.i.T on September 06, 2005, 10:17 PM
I can't get any interaction between C/ASM code and VB, but I've gotten stuff to compile.  I get an assload of problems when I try any #includes though.
Title: Re: ThunderVB
Post by: Joe[x86] on September 07, 2005, 04:45 PM
2.1 MB. Nice!

*poke*
Title: Re: ThunderVB
Post by: UserLoser. on September 07, 2005, 08:06 PM
I thought it said somewhere in the documentation that you need to download and install something else for the C/ASM to work?  Have you guys tried reading the documentation?
Title: Re: ThunderVB
Post by: Joe[x86] on September 08, 2005, 06:51 AM
LivedKrad refered me to the autoinstaller. Omg, I dont see an autoinstaller!
Title: Re: ThunderVB
Post by: Hdx on September 08, 2005, 04:34 PM
http://prdownloads.sourceforge.net/thundervb/ThunderVB_1.0.0.rar?download
There you go and the patch is here:
http://prdownloads.sourceforge.net/thundervb/ThunDll_v1.0.1_bin.rar?download
I've used it, It works fine.. cept for it dosent like retx..
~-~(HDX)~-~
Title: Re: ThunderVB
Post by: LivedKrad on September 08, 2005, 04:45 PM
Thanks for the tip, UL. Except I downloaded the extra stuff it listed there to compile the additional C/ASM code. Anything else?
Title: Re: ThunderVB
Post by: Joe[x86] on September 08, 2005, 05:44 PM
Can someone post a step-by-step, or a link to one, and the links to needed 3rd party software? Thanks!
Title: Re: ThunderVB
Post by: R.a.B.B.i.T on September 08, 2005, 06:56 PM
Quote from: UserLoser on September 07, 2005, 08:06 PM
I thought it said somewhere in the documentation that you need to download and install something else for the C/ASM to work?  Have you guys tried reading the documentation?
I have MASM and the C linker, just like the instructions say, but it's still evil!
Title: Re: ThunderVB
Post by: Hdx on September 09, 2005, 01:53 AM
:/
Works perfectly fine for me, Cept you have to turn off creating the C linker files.
... but that dosent seems to effect much, I need a small program to write in C to test it..
~-~(HDX)~-~
Title: Re: ThunderVB
Post by: Tazo on September 10, 2005, 03:56 PM
thats amazing that they released this open source, they couldve made a lot of money off of a program like this
Title: Re: ThunderVB
Post by: Topaz on September 10, 2005, 06:48 PM
Doubt it, there's a lot of problems with it.
Title: Re: ThunderVB
Post by: LivedKrad on October 04, 2005, 10:13 PM

Private Sub Form_Load()
MsgBox testT(2)
End Sub

Public Function testT(ByVal k As Integer) As Integer
'#C' int testT(int x)
'#C' {
'#C' return x;
'#C' }
End Function


Returns 0? Maybe I didn't install the VC++ SDK or masm in the right locations? Forgot a setup step?

Edit: I also tried returning k, same result. Apparently it's still being seen as comments and thus is skipping it. I guess I'm not compiling right? Simply running VB does not do the trick?
Title: Re: ThunderVB
Post by: Mangix on October 04, 2005, 11:30 PM
darktype DID say it has a lot of problems with it.

anyways this programs sucks. if it wants to be useful, it would need to be in VB .NET cause VS 2005 will NOT have VB. only VB .NET(now named VB 2005). but then again .NET does have an Assembly namespace...
Title: Re: ThunderVB
Post by: K on October 05, 2005, 12:39 AM
Quote from: Mangix on October 04, 2005, 11:30 PM
darktype DID say it has a lot of problems with it.

anyways this programs sucks. if it wants to be useful, it would need to be in VB .NET cause VS 2005 will NOT have VB. only VB .NET(now named VB 2005). but then again .NET does have an Assembly namespace...

And the 'Assembly' namespace has absolutely nothing to do with the assembly you are thinking of.

Also, there wouldn't be much purpose in allowing inline assembly in a language that's compiled to byte code.
Title: Re: ThunderVB
Post by: MyndFyre on October 05, 2005, 10:52 AM
Quote from: K on October 05, 2005, 12:39 AM
Quote from: Mangix on October 04, 2005, 11:30 PM
darktype DID say it has a lot of problems with it.

anyways this programs sucks. if it wants to be useful, it would need to be in VB .NET cause VS 2005 will NOT have VB. only VB .NET(now named VB 2005). but then again .NET does have an Assembly namespace...

And the 'Assembly' namespace has absolutely nothing to do with the assembly you are thinking of.

Also, there wouldn't be much purpose in allowing inline assembly in a language that's compiled to byte code.

No, Mangix just thinks that whatever he is working on at the present time is the best, most uberleet thing in the world, and everything else is just dumb.
Title: Re: ThunderVB
Post by: LivedKrad on October 05, 2005, 04:54 PM
Sigh, nearly every time I ask for something in most of these forums someone always has to say something stupid, (like Mangix), and then everyone else starts replying to the idiocy of what was said by that person. I don't think anyone will ever tell me what I'm doing wrong :P.
Title: Re: ThunderVB
Post by: Explicit on October 05, 2005, 05:07 PM
Reinstall it from scratch.
Title: Re: ThunderVB
Post by: Topaz on October 05, 2005, 05:14 PM
ARE YOU COMPARING ME TO MANGIX??? OMGWTF>_<!!!
Title: Re: ThunderVB
Post by: Explicit on October 05, 2005, 05:20 PM
Quote from: daRktYpE on October 05, 2005, 05:14 PM
ARE YOU COMPARING ME TO MANGIX??? OMGWTF>_<!!!

Obviously, he is, ::) You and Mangix's relationship is so cute that it's nearly impossible to overlook. Opposites really do attract. ;D
Title: Re: ThunderVB
Post by: Mangix on October 05, 2005, 06:09 PM
Quote from: MyndFyre on October 05, 2005, 10:52 AM
Quote from: K on October 05, 2005, 12:39 AM
Quote from: Mangix on October 04, 2005, 11:30 PM
darktype DID say it has a lot of problems with it.

anyways this programs sucks. if it wants to be useful, it would need to be in VB .NET cause VS 2005 will NOT have VB. only VB .NET(now named VB 2005). but then again .NET does have an Assembly namespace...

And the 'Assembly' namespace has absolutely nothing to do with the assembly you are thinking of.

Also, there wouldn't be much purpose in allowing inline assembly in a language that's compiled to byte code.

No, Mangix just thinks that whatever he is working on at the present time is the best, most uberleet thing in the world, and everything else is just dumb.
im not working on anything. im lazy. and no. that would be just like saying that Linux, Wine, Windows, Mac, and everything else is dumb. do i think it is? no
Title: Re: ThunderVB
Post by: Topaz on October 05, 2005, 07:18 PM
nah mangix is a homo
Title: Re: ThunderVB
Post by: Joe[x86] on October 05, 2005, 08:53 PM
Opposites? I'm not big on flaming, but their both total idiots.

daRktYpE: Mangix is homosexual? Hm, well, if anyone knew, it would be you..
Title: Re: ThunderVB
Post by: Topaz on October 06, 2005, 01:08 AM
Explain how I'm an idiot plz.
Title: Re: ThunderVB
Post by: MyndFyre on October 06, 2005, 01:05 PM
Quote from: LivedKrad.fe on October 05, 2005, 04:54 PM
Sigh, nearly every time I ask for something in most of these forums someone always has to say something stupid, (like Mangix), and then everyone else starts replying to the idiocy of what was said by that person. I don't think anyone will ever tell me what I'm doing wrong :P.

Isn't it a SourceForge project?  Why don't you post on their message boards?
Title: Re: ThunderVB
Post by: LivedKrad on October 07, 2005, 05:20 PM
I wasn't aware they had any.. the only site I've seen is one defining their installation instructions.