Valhalla Legends Archive

Programming => General Programming => Assembly Language (any cpu) => Topic started by: TheMinistered on June 05, 2003, 07:39 PM

Title: Visual Basic Class Modules!
Post by: TheMinistered on June 05, 2003, 07:39 PM
For those of you who use vb + assembly with a hack-around that involves the use of class modules (http://forum.valhallalegends.com/phpbbs/index.php?board=23;action=display;threadid=1515) here is some useful information:


%Define this [esp+04h]
%Define paramone [esp+08h]
%Define paramtwo [esp+0Ch]
%Define returnvalue [esp+10h]
.
.
.
mov eax, 0h ; hresult is returned in eax (0 = success; !0 = failure)


These are the parameters that will be passed into a function inside a class when it's called. (note: that is assembler using the nasm syntax)
Title: Re:Visual Basic Class Modules!
Post by: Arta on June 06, 2003, 09:31 AM
Using assembly with VB is silly.
Title: Re:Visual Basic Class Modules!
Post by: Yoni on June 06, 2003, 10:49 AM
Quite agree, quite agree! Silly, silly, silly! Right!
Get on with it.
Get on with it!

And now... Full frontal nudity.