ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Developing and using .NET assemblies
  • 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.

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. If necessary, copy the "WDxxNET.DLL" library (from the "\Programs" subdirectory of the installation directory):
    • to the directory of the .NET assembly.
    • to the "Assembly" subdirectory of the Windows installation directory.
      • For .NET 2.0, copy wd290net2.dll.
      • For .NET 2.0 (64 bit), copy wd290net2_64.dll.
      • For .NET 4.0, copy wd290net4.dll.
      • For .NET 4.0 (64 bit), copy wd290net4_64.dll.
      • For .NET 5.0, copy wd290net5.dll.
      • For .NET 5.0 (64 bit), copy wd290net5_64.dll.
  2. If necessary, copy the WINDEV libraries:
    • to the directory of the .NET assembly.
    • to PATH.
Reminder: PATH lists the directories in which executables (".EXE" files) and libraries (".DLL" files) are searched for first.
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment

Last update: 09/04/2023

Send a report | Local help