I'm not entirely sure what I want to use this for, but it'd be kinda nice to
know nonetheless...
--
================================================================================
Kas Robson,
Artificial Intelligence & Computer Science 2,
Edinburgh University.
>Is there any way of getting Access BASIC to call Assembler Routines?
>Preferably internally - I mean I guess you could do it by writing the assembly
>as a seperate program and calling it (?). But there must be a slicker way,
>like something along the lines of an asm{...} command in C. Maybe this could
>be hacked in (would that be in breach of the MS license? Would anyone care?).
>I'm not entirely sure what I want to use this for, but it'd be kinda nice to
>know nonetheless...
Access Basic is not compiled to machine code. So putting assembly
instructions in-line inside an Access Basic routine kind of defeats
the purpose of using assembly code (you have transform the assembler
instructions back into the Access Basic engine's internal psuedo-code
format.)
That leaves us with only two options: create a dll file using assember
and call the functions from Access Basic, --OR-- embed _asm{...} in a
C function and compile it to a dll.
--
Weiqi Gao
weiq...@crl.com
>Is there any way of getting Access BASIC to call Assembler Routines?
>Preferably internally - I mean I guess you could do it by writing the assembly
>as a seperate program and calling it (?). But there must be a slicker way,
>like something along the lines of an asm{...} command in C. Maybe this could
>be hacked in (would that be in breach of the MS license? Would anyone care?).
>I'm not entirely sure what I want to use this for, but it'd be kinda nice to
>know nonetheless...
No.
the closest you'll get is write a Dll and embed the assembler routines
in there, or even write the Dll in assembler if you're ambitious.
\|||/
/ \
C o o D
-----------------ooO--u--Ooo-------------------------------
10 Gosub 10
tre...@microprism.com - Microprism (UK) Limited