I have recently noticed that QuickBasic does not give the programmer access to the address of user-defined subs or functions (I can find no equivalent to VARPTR / VARSEG).
Has anyone seen an example of a callback routine in QB? Perhaps in the form of an interrupt service routine, or a timer hook? If this doesn't exist, perhaps I'll fiddle around and try to get it going myself.
Callback Subroutines or Functions
I'm not a guest.
Sorry, my login session expired as I was composing the question.
Only using some hacking, in pure qb: http://www.geocities.com/av1ctor/files/PQBPPTR.ZIP or in asm: http://www.geocities.com/av1ctor/files/boostqb.zip
Examples inside.. You can create ISR's or whatever, but only if the module is compile, won't work inside the QB's IDE..
Examples inside.. You can create ISR's or whatever, but only if the module is compile, won't work inside the QB's IDE..
Thanks
Thanks v3cz0r! I was afraid it would require some trickery, and it makes sense that SUB and FUNCTION addresses are not available in "interpreted" mode (running without compiling).