ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Managing external languages / C language
  • The different types of programming
  • 1st method: Programming in WinDev 5.5 mode
  • 2nd mode: Programming in C
  • 3rd method: C++ programming (using the WDWDial interface)
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
The different types of programming
WINDEV proposes 3 types of programming to call WINDEV element from an external language. To illustrate these methods, we will be using the C/C++ language+.

1st method: Programming in WinDev 5.5 mode

This method must not be used for the new developments. It is available for backward compatibility with the version 5.5. If you did not develop any project with the external interface of WINDEV, go to mode #2 directly.
In this mode, we are going to retrieve an application developed with WINDEV 5.5 and C/C++. The existing code (C and WLanguage) can be kept entirely, except for management of menus and initialization of controls at window opening...
This mode remains available with minor modifications for backward compatibility only. For more details, see I was using the external languages in WINDEV 5.5. How to proceed with WINDEV 2024?

2nd mode: Programming in C

We are going to call the elements developed in WINDEV (project, windows, analysis, etc.) from the C language. This system is based on the use of the functions declared in the .h, .c and .cpp files of WINDEV. The WLanguage code used from the external language will be dynamically compiled and run during its call.
This mode is illustrated the VC60.dsp project (Visual C++ 6 format), available in the "External Languages\EN\C" subdirectory of the WINDEV installation directory.
For more details on this method, see Use the external languages in C.

3rd method: C++ programming (using the WDWDial interface)

This third method uses class inheritance to easily interface a C++ application and WINDEV. This programming mode is recommended if you already a class-based architecture (MFC for example) for your development projects.
The base classes provided with this interface use the functions described in the 2nd method in the background. See the chapter regarding the 2nd method for more details.
This mode is illustrated in the VC60API.dsp project (Visual C++ 6 format), available in the "External Languages\EN\C" subdirectory of the WINDEV installation directory.
For more details on this method, see Use the external language in C++.
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment

Last update: 09/05/2023

Send a report | Local help