A lot of questions on root for windows

ROOT Version: 6.26
Platform: windows
Compiler: binary downloaded from the site.

I just downloaded and successfully installed root 6.26 for visual studio 2022.
I have some questions that I can’t find answers to:

  1. On my system I installed visual studio 2022 preview with clang version 15.0.1, but writing the .include command, I detect that root uses clang version 9.0.1 located in c:\root/etc/cling/lib/clang/9.0.1. How can I change this behavior and replace the folder with clang version 15.0.1 installed with visual studio?
    I couldn’t find any .rootrc file, or logon.c; and there is nothing in the system.rootc file to help me.
  2. If I wanted to load a dll, for example sqlite3.dll, how can I do it in a root session? Do I have to create a macro that loads the library?
    Thank you for the information.

I think @bellenot can help you.

As I previously said, Clang used by cling is independent of the one installed on your system. And to load a dll, did you try .L sqlite3.dll ?

Yes, I tried it, but it works only if I specify the correct path. By default, root searches in c:\root\macros folder.

Well yes, AFAIK you must specify the full path