Welcome, Guest
Username: Password: Remember me
Visual Objects

Please use this forum to post questions about Visual Objects and Vulcan.NET
  • Page:
  • 1

TOPIC:

UDC 06 May 2020 17:41 #14402

  • Serggio
  • Serggio's Avatar
  • Topic Author


  • Posts: 45
  • I'm afraid to ask... we have a bunch of own UDCs, any chance for them to work in XSharp? How do I install them?

    Please Log in or Create an account to join the conversation.

    UDC 06 May 2020 18:07 #14405

    • Chris
    • Chris's Avatar


  • Posts: 3844
  • They should work; if they don't, then it's most probably a bug.

    At first, try them by simply including them on top of a test prg and see if they work as you expect them in it. Then you can put all your UDCs in a separate file again (like MyUDC.xh) and add #include statements to this file in every prg that needs them.

    Alternatively, you could put them directly in the file XSharpDefs.xh that the compiler automatically includes in every app, but be warned that this file will be reset the next time you install a new X# build. You can find this file and many others with sample UDCs in the folder <Program files>\XSharp\Include
    XSharp Development Team
    chris(at)xsharp.eu

    Please Log in or Create an account to join the conversation.

    UDC 06 May 2020 18:33 #14410

    • Serggio
    • Serggio's Avatar
    • Topic Author


  • Posts: 45
  • This is some good news, Chris. Thank you.

    Please Log in or Create an account to join the conversation.

    UDC 06 May 2020 19:10 #14411

    • Chris
    • Chris's Avatar


  • Posts: 3844
  • You're welcome! If any of your UDCs doesn't work, please post it here for Robert to have a look. In general, the preprocessor should be much more powerful even than that of VO, supporting almost everything (I think) that Clipper did.
    XSharp Development Team
    chris(at)xsharp.eu

    Please Log in or Create an account to join the conversation.

    • Page:
    • 1