fbpx
Welcome, Guest
Username: Password: Remember me
Welcome to the XSharp forum!

Tell us and our members who you are, what you like and why you became a member of this site.
We welcome all new members and hope to see you around a lot!
  • Page:
  • 1

TOPIC:

About SetNatDLL 03 Sep 2020 17:56 #15806

  • vzeljko's Avatar

  • vzeljko

  • Topic Author


  • Posts: 10
  • In X# runtime documentation there is sample of SetNatDLL usage for Visual Objects.
    For X# there is an explanation:
    "In Visual Objects the nation DLL is an external DLL. For X# there are no separate nation DLL. The nation support code is integrated in XSharp.Core.DLL. For compatibility you can still use the SetNatDLL() function to switch to another nation module."
    And there is no saple of that "switch".
    Should I write SetNatDLL("GERMAN.DLL") or SetNatDLL("GERMAN")

    Zeljko

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

    About SetNatDLL 03 Sep 2020 18:28 #15808

  • robert's Avatar

  • robert


  • Posts: 1862
  • Zeljko,
    You can use it with or without DLL extension. The runtime will strip the extension and will just use the name of file.
    See:
    github.com/X-Sharp/XSharpPublic/blob/df4...e/State/Set.prg#L282

    Robert
    XSharp Development Team
    The Netherlands

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

    About SetNatDLL 03 Sep 2020 18:30 #15809

  • vzeljko's Avatar

  • vzeljko

  • Topic Author


  • Posts: 10
  • Understood. Thanks Robert.

    Zeljko

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

    • Page:
    • 1