• Welcome to Valhalla Legends Archive.
 

Visual Basic Class Modules!

Started by TheMinistered, June 05, 2003, 07:39 PM

Previous topic - Next topic

TheMinistered

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)

Arta

Using assembly with VB is silly.

Yoni

Quite agree, quite agree! Silly, silly, silly! Right!
Get on with it.
Get on with it!

And now... Full frontal nudity.