Modify

Opened 12 years ago

Closed 12 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 by Jos, 12 years ago

Resolution: No Bug
Status: newclosed

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

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.