Modify

Opened 6 years ago

Closed 6 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: 3.3.8.1 Severity: None
Keywords: Cc:

Description

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")
Else
 MsgBox(0, "Success", "SQL Connection OK")
EndIf


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

#AutoIt3Wrapper_UseX64=y

but works OK with

#AutoIt3Wrapper_UseX64=n

Attachments (0)

Change History (1)

comment:1 Changed 6 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.

Jos

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

Action
as closed The ticket will remain with no owner.
Author


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

 
Note: See TracTickets for help on using tickets.