Opened 10 years ago

Closed 10 years ago

#2507 closed Bug (No Bug)

Problem with ObjCreate() on a 64bit PC when compiled with AutoIT_64

Reported by: Tippex Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Cc:


This works on a 64bit PC, but only when compiled in 32bit:

$sqlCon = ObjCreate("ADODB.Connection")

$sqlCon.Open("DRIVER={SQL Server};SERVER=name.of.server,port_number;DATABASE=name_of_database;UID=logon_ID;PWD=password;")

If @error Then
 MsgBox(0, "Problem", "SQL Connection Failed")
 MsgBox(0, "Success", "SQL Connection OK")

On a 64 bit PC, the above script it will fail to work with:


but works OK with


Attachments (0)

Change History (1)

comment:1 Changed 10 years ago by Jos

  • Resolution set to No Bug
  • Status changed from new to closed

Why do you say the ObjCeate() has a problem?
Do you have the x64 bits SQL ODBC driver loaded?

Maybe stick to the forum before you post a bug report to confirm this is really a bug.

Closing for now.


Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

as closed The ticket will remain with no owner.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.