#1 2025-12-10 16:04:20

larand54
Member
Registered: 2018-12-25
Posts: 116

New odbcdriver for MSSql win11

I've just installed windows11 on a new computer and had difficulties with mORMot1 and odbc-driver against latest MSSQL DB.

I had to add some code in SynOleDB:

{ TOleDBMSSQL2018ConnectionProperties }

procedure TOleDBMSSQL2018ConnectionProperties.SetInternalProperties;
begin
  if OSVersion>wVista then
    fProviderName := 'MSOLEDBSQL';
  inherited SetInternalProperties;
end;

Hope this is correct or...

Last edited by larand54 (2025-12-10 16:10:25)


Delphi-11, WIN10

Offline

#2 2025-12-10 16:23:19

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 15,327
Website

Re: New odbcdriver for MSSql win11

This class is for a OleDB driver, not a ODBC driver.

Offline

Board footer

Powered by FluxBB