Skip to content

Migrate the x86 specific structures to AnyCPU for System.Data.OleDb #32509

@saurabh500

Description

@saurabh500

There are a few structs in https://github.com/dotnet/runtime/blob/master/src/libraries/System.Data.OleDb/src/OleDbStruct.cs which were built with a Pack attribute value of 2 for x86 architecture.

Problems with tagDBPARAMBINDINFO was fixed with #32207
However the usage of the other structs need to be fixed as well.

Some user reported problems on x86 as copied from #981

In initial tests the reported problem was resolved.
I noticed other problems in running x86 vs x64, the following commands do not work or return empty strings in x86 but work perfectly in x64:

  • command.Connection.ChangeDatabase (dbName);
  • connection.Database
  • connection.ServerVersion

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions