# A lot of questions on root for windows

**URL:** <https://root-forum.cern.ch/t/a-lot-of-questions-on-root-for-windows/52983>\
**Category:** Newbie\
**Created:** [January 4, 2023, 1:26pm UTC](https://root-forum.cern.ch/t/a-lot-of-questions-on-root-for-windows/52983 "2023-01-04T13:26:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![germanocarella](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/g/b3f665/32.png) [@germanocarella](https://root-forum.cern.ch/u/germanocarella)\
**Post date:** [January 4, 2023, 1:26pm UTC](https://root-forum.cern.ch/t/a-lot-of-questions-on-root-for-windows/52983/1 "2023-01-04T13:26:37Z")

</div>

_ROOT Version_: 6.26  
_Platform:_ windows  
_Compiler:_ binary downloaded from the site.

* * *

Hello,  
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.  
Germano

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [January 5, 2023, 9:05am UTC](https://root-forum.cern.ch/t/a-lot-of-questions-on-root-for-windows/52983/2 "2023-01-05T09:05:23Z")

</div>

I think @bellenot can help you.

---

<div class="post-metadata">

**Author:** ![bellenot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bellenot/32/29217_2.png) [@bellenot](https://root-forum.cern.ch/u/bellenot)\
**Post date:** [January 9, 2023, 9:38am UTC](https://root-forum.cern.ch/t/a-lot-of-questions-on-root-for-windows/52983/3 "2023-01-09T09:38:51Z")

</div>

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` ?

---

<div class="post-metadata">

**Author:** ![germanocarella](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/g/b3f665/32.png) [@germanocarella](https://root-forum.cern.ch/u/germanocarella)\
**Post date:** [January 9, 2023, 12:57pm UTC](https://root-forum.cern.ch/t/a-lot-of-questions-on-root-for-windows/52983/4 "2023-01-09T12:57:11Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![bellenot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bellenot/32/29217_2.png) [@bellenot](https://root-forum.cern.ch/u/bellenot)\
**Post date:** [January 9, 2023, 12:58pm UTC](https://root-forum.cern.ch/t/a-lot-of-questions-on-root-for-windows/52983/5 "2023-01-09T12:58:15Z")

</div>

Well yes, AFAIK you must specify the full path
