how to compile a code to .dll

Can someone tell me how can i compile my asm code to .dll so i can use a function i created in vb6 program.

Comments

  • : Can someone tell me how can i compile my asm code to .dll so i can use a function i created in vb6 program.
    :
    Inline asm is better and faster, use it!
  • [b][red]This message was edited by Gorthaur at 2006-8-22 14:3:25[/red][/b][hr]
    [b][red]This message was edited by Gorthaur at 2006-8-22 14:3:5[/red][/b][hr]
    Search for Masm32 and in the Bin directory, there is a nice little batch file that should help you out ;)

    Actually let me look, I think I have it on here somewhere...

    ...And I was wrong, its located in ComBinlddll.bat

    Here is the line they use:

    masm32inLink /DLL /SUBSYSTEM:WINDOWS /DEF:%1.def /LIBPATH:c:masm32lib %1.obj rsrc.obj

    Fixup /LIBPATH and you should be set :)

    They use:
    Microsoft (R) Incremental Linker Version 5.12.8078
    Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

    Good luck bro


    Ohh, and I'm the fool for 2 reasons, 1. I shouldn't have said such a hurtful thing in the firstplace, and 2. IDK is right



Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion