PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Overview
  • Install the .NET Framework or SDK
  • Checking whether .NET framework is installed on the current computer
  • Installing the .NET Framework on the current computer (.NET 2.0, 3.x, or 4.x)
  • Installing the .NET 5.0 SDK
  • Installing the LibC
  • Defining the .NET security level
  • Making the DLLs required to run the .NET assembly accessible
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Overview
To create and use a .NET assembly in WINDEV, you must:
Remarks:
  • By default, when using a .NET assembly, the most recent framework/runtime is used.
  • It is necessary to install the Runtime and LibC (standard library) on the computer, according to the .NET assembly to be used.
Install the .NET Framework or SDK

Checking whether .NET framework is installed on the current computer

To check whether the .NET framework is installed on the current computer:
  1. Open the control panel of Windows ("Start .. Settings .. Control panel") and select "Add/Remove programs".
  2. Find the ".NET framework" program in the list.

Installing the .NET Framework on the current computer (.NET 2.0, 3.x, or 4.x)

To install the .NET framework on the development computer:
  1. Go to Microsoft's website: https://dotnet.microsoft.com/download/visual-studio-sdks.
  2. In ".NET Framework", look for the setup of the desired .NET Framework (2.0, 3.x, or 4.x).
  3. Install the desired .NET Framework.
  4. Install the corresponding Runtime.
Versions 27 and later

Installing the .NET 5.0 SDK

To install the .NET 5.0 SDK on the development computer:
  1. Go to Microsoft's website: https://dotnet.microsoft.com/download/visual-studio-sdks
  2. In ".NET/.NET Core":
    • Download and install the desired .NET SDK (64-bit).
    • Download and install the corresponding "Runtime" (64-bit).
New in version 27

Installing the .NET 5.0 SDK

To install the .NET 5.0 SDK on the development computer:
  1. Go to Microsoft's website: https://dotnet.microsoft.com/download/visual-studio-sdks
  2. In ".NET/.NET Core":
    • Download and install the desired .NET SDK (64-bit).
    • Download and install the corresponding "Runtime" (64-bit).

Installing the .NET 5.0 SDK

To install the .NET 5.0 SDK on the development computer:
  1. Go to Microsoft's website: https://dotnet.microsoft.com/download/visual-studio-sdks
  2. In ".NET/.NET Core":
    • Download and install the desired .NET SDK (64-bit).
    • Download and install the corresponding "Runtime" (64-bit).
Installing the LibC
The .NET DLL requires the LibC. It does not load on computers where no other application has yet installed LibC.
The distributable version of LibC can be freely downloaded from the Microsoft website: https://docs.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170
Defining the .NET security level
To define the .NET security level, we advise you to check the Microsoft documentation. The security level must be set to "Full trust".
Making the DLLs required to run the .NET assembly accessible
To make the DLLs required to run the .NET assembly accessible:
  1. Copy (if necessary) the "WDxxNET.DLL" library (this library is found in the "\Programs" subdirectory of the setup directory):
    • into the directory of the .NET assembly.
    • into the "Assembly" sub-directory of the setup directory of Windows.
      • For a.NET 2.0 assembly, the DLL to copy is wdxxxnet2.dll.
      • For a .NET 2.0 assembly in 64 bits, the DLL to copy is wdxxxnet2_64.dll.
      • For a.NET 4.0 assembly, the DLL to copy is wdxxxnet4.dll.
      • For a.NET 4.0 assembly in 64 bits, the DLL to copy is wdxxxnet4_64.dll.
      • Versions 27 and later
        For a.NET 5.0 assembly, the DLL to copy is wdxxxnet5.dll.
        New in version 27
        For a.NET 5.0 assembly, the DLL to copy is wdxxxnet5.dll.
        For a.NET 5.0 assembly, the DLL to copy is wdxxxnet5.dll.
      • Versions 27 and later
        For a.NET 5.0 assembly in 64 bits, the DLL to copy is wdxxxnet5_64.dll.
        New in version 27
        For a.NET 5.0 assembly in 64 bits, the DLL to copy is wdxxxnet5_64.dll.
        For a.NET 5.0 assembly in 64 bits, the DLL to copy is wdxxxnet5_64.dll.
  2. Copy (if necessary) the WINDEV libraries:
    • into the directory of the .NET assembly.
    • into the PATH.
Reminder: The PATH lists the directories in which the executables (".EXE" files) and the libraries ("DLL" files) are sought in priority.
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment