Jump to content

How to use AutoIt V3 in Borland c++ builder 6


Guest RoWi
 Share

Recommended Posts

First i tried to use the standard dll version but i got this error:

[Linker Error] 'AUTOITX3.LIB' contains invalid OMF record, type 0x21 (possibly COFF)

This is what I did:

I included the autoit3 header file ( #include "AutoIt3.h" )

I added AutoItX3.lib to my project ( Project->Add to project )

I copied AutoItX3.dll to my project folder

I tried to do this with autoit2 and that works just fine.

Can someone please explain to me how I can use AutoIt3 in Borland c++ builder 6?

I doesnt matter if its done by using the com interface or the dll version or any other way.

Link to comment
Share on other sites

  • Administrators

First i tried to use the standard dll version but i got this error:

[Linker Error] 'AUTOITX3.LIB' contains invalid OMF record, type 0x21 (possibly COFF)

This is what I did:

I included the autoit3 header file ( #include "AutoIt3.h" )

I added “AutoItX3.lib” to my project ( Project->Add to project )

I copied “AutoItX3.dll” to my project folder

I tried to do this with autoit2 and that works just fine.

Can someone please explain to me how I can use AutoIt3 in Borland c++ builder 6?

I doesn’t matter if it’s done by using the com interface or the dll version or any other way.

Just replied to your other email. I think you need to convert the library with coff2oml.exe
Link to comment
Share on other sites

Just replied to your other email.  I think you need to convert the library with coff2oml.exe

<{POST_SNAPBACK}>

Thanks for the quick reply!

Knowing I had to convert the file I found it in my Borland help.

I used implib.exe located in Borland\bin. ( I used the option c )

Now I have a working solution, but Id rather use the com interface.

I never used a com interface before, but I heard by using it the dll is included in the output exe file.

Is that true? If so can someone please explain how I can use it?

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...