Global UDC include file

This forum is meant for questions and discussions about the X# language and tools
Post Reply
thilef
Posts: 14
Joined: Wed May 26, 2021 5:13 pm

Global UDC include file

Post by thilef »

Hi to all,
In VO, I'm using an .UDC file which is attached in applications in the UDC tab in the properties of each application.
The .UDC file has been renamed in .xh file for X#.
In X#, I can add a #include line at the beginning of each .prg, but is-it possible to specified it globally for the project rather than in each .prg ?

Thanks,
Thierry
User avatar
Chris
Posts: 4961
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

Global UDC include file

Post by Chris »

Hi Thierry,

Yes, you can add them globally in the file <Program Files>XSharpIncludeCustomDefs.xh!
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
thilef
Posts: 14
Joined: Wed May 26, 2021 5:13 pm

Global UDC include file

Post by thilef »

Hi Chris,
Thanks a lot ! That's exactly what I need. Works fine.
Best regards,
Thierry
Post Reply