Jump to content

Help with C++ dll


Aruna
 Share

Recommended Posts

Hello,

I am a C++ newbie. I want to write a very simple C++ dll which can be called from an AutoIt script.

I have attached the very simple AutoIt script (posted by another member some time ago) along with the VC++ 2008 Express files which I am allowed to attach.

My .def C++ file has the following content:-

LIBRARY AutoItTestDll.dll

EXPORTS

TestFunc

The C++ code compiles and link successfully but I also get the LINK message:-

1>LINK : C:\Users\Admin\\Documents\Visual Studio 2008\Projects\AutoItTestDll\Debug\AutoItTestDll.dll not found or not built by the last incremental link; performing full link

When I run the AutoIt script I get the error message:-

"Error calling Dll:1"

Any and all help is appreciated.

Thank you.

AutoItTestDll.cpp

dllmain.cpp

stdafx.cpp

stdafx.h

targetver.h

stdafx.h

AutoItDllTest.au3

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...