Guest RoWi Posted January 13, 2005 Share Posted January 13, 2005 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 More sharing options...
Administrators Jon Posted January 13, 2005 Administrators Share Posted January 13, 2005 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 folderI 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 Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
Guest RoWi Posted January 13, 2005 Share Posted January 13, 2005 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now