|
-
Mar 12th, 2002, 06:50 AM
#1
Thread Starter
Fanatic Member
Writing ASM library to work with QB...
I get assembled and libbed procedure to work with QB...
But not with exchanging parameters or variables or datas...
I tried:
Public testme
Proc testme
Push BP
Mov Bp,SP
Mov DL,[BP+06] ;Get the variable passed from QB...
Mov Ah,06h ;I think this function is used to display a byte...
Int 21h ;OKay, I passed one variable to it and interrupt it...
Mov [BP+06],000Ah ;Well, I wanna pass back some parameters
;Is it passed to the function as a return value or a variable???
POP BP
RETF ;Should I put any value behind Retf,if yes, what is it?
testme ENDP
;Heck it won't work
Anyone willing to help me? Pls Write a demonstration version...
ASM,C,C++,BASIC,VB,JAVA,VBS,HTML,ASP,PHP,mySQL,VB.NET,MATLAB
Programming is fun, but only if you're not on a tight deadline 
So I consider all those working engineers sad people
VB FTP class
3 page PHP crash course
Crash Course on DX9 Managed with VB.NET covering basics till terrain creation
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|