News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Inline in VB

Started by Bieb, January 01, 2005, 05:13:26 PM

Previous topic - Next topic

AeroASM

http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=24616&lngWId=1

The above VB add-in does inline ASM.

It is not truly inline, though It works by interrupting the compile process and generating an assembly listing of the module. Then you can add your own code and assemble it yourself. Then, when the compile process is allowed to continue, VB will link the .obj you created into the exe.

Xor Stance

The visual c preprocessor that has ml 6.15, I also had heard some guys inlining it with Masm32 and VC toolkit it's specialize for that too.

I have vb 6 enterprise version with sp5 and vcp5, now recently Installed.

Robert Collins

Quote from: AeroASM on February 22, 2005, 09:44:29 PM
http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=24616&lngWId=1

The above VB add-in does inline ASM.

It is not truly inline, though It works by interrupting the compile process and generating an assembly listing of the module. Then you can add your own code and assemble it yourself. Then, when the compile process is allowed to continue, VB will link the .obj you created into the exe.

Can you post a simple example of how one goes about doing this?

AeroASM

It comes with an example, read the documentation.

I do not have an example because when I last tried the add-in I didn't know anything about asm. Sorry

Xor Stance

Doesn't it with the preprocessor you get inline assembly? Or you can use the Visual C toolkit inline asm, to compile the source code. Visual C preprocessor has ml 6.15 but if you need for another, that I don't know.

AeroASM

He is using VB, not VC.

Xor Stance

Oh sorry, I wonder if there's going to be a release for vb.