News:

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

Help about C++

Started by RuiLoureiro, August 25, 2010, 03:42:08 PM

Previous topic - Next topic

RuiLoureiro

Hi,
    I wrote a dll file:  File1.dll

    It contains some procedures:
     
                    ProcA  proto  DWORD, DWORD, DWORD
                    ProcB  proto  DWORD
                    ProcC  proto  DWORD, DWORD, DWORD, DWORD

    When i compiled File1.asm to dll i got:

                    File1.dll
                   File1.LIB

    Well, i know how to use it in assembler.

    My problem is how to use it with C++.

    If iam correct, to call ProcA we use something like this:

                   ProcA(Var1, Var2, Var3);

    What i need to do to compile it with a program in C++.

    Could you help me ?
    Thanks
    RuiLoureiro

MichaelW

Demo in the attachment, and hopefully I did everything right.
eschew obfuscation

RuiLoureiro

Quote from: MichaelW on August 25, 2010, 05:10:11 PM
Demo in the attachment, and hopefully I did everything right.
Thank you Michael !
I am trying to test and ...
Rui