PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • 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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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. See I was using the external languages in WINDEV 5.5. How do I proceed with WINDEV 23? for more details

2nd mode: Programming in C

We are going to call the elements developed in WINDEV (project, windows, analysis, ...) 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 in the VC60.dsp project (in Visual C++ 6 format) supplied in the "ExternalLanguages\C" sub-directory of the setup directory of WINDEV.
See Use the external languages in C for more details.

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

This third method uses the notion of class inheritance to simplify the interfacing between a C++ application and WINDEV. This programming mode is recommended if you are already using an architecture based on classes for your developments (MFC for example).
The functions described in the 2nd method are used in background by the base classes supplied with this interface. See the chapter regarding the 2nd method for more details.
This mode is illustrated in the VC60API.dsp project (in Visual C++ 6 format) supplied in the "ExternalLanguages\C" sub-directory of the setup directory of WINDEV.
See Use the external language in C++ for more details.
Minimum required version
  • Version 9
Comments
Click [Add] to post a comment