Application Developer Guide > Interapplication Communication for Windows > Console vs. Windows Subsystem Applications
  

Console vs. Windows Subsystem Applications
You may use PV-WAVE within your application in one of two ways:
*The “PV-WAVE Console” (wave.exe)
*The “PV-WAVE Home Window” (wavewin2.exe).
The wave.exe executable is built as a console-mode application, whereas wavewin2.exe is a Windows application.
The libraries provided in the PV-WAVE DLLs are built as Windows Subsystems and thus will support either type of application you wish to write (using cwavec(), for example).
PV‑WAVE As a Console Application
As a console application, the wave.exe command supports standard I/O redirection and can be used in batch files. Pipes for standard I/O are also supported, and you can run PV-WAVE over a network (using telnet or remote login, for example) for non-graphical applications.
Running wave.exe from either the Program Manager or from Windows Explorer, a console window is automatically created to facilitate I/O.
PV‑WAVE As a Home Window Application
The PV-WAVE “Home Window” (wavewin2.exe) is a Windows application. Therefore, it always runs in its own window. This allows more flexibility in communicating to other applications—the Clipboard, for example. However, this type of application does not support standard I/O redirection and cannot be run from a batch file or across a network.
Sample Applications are Available
For sample programs and makefiles demonstrating both console- or Windows-subsystem applications, look in the directory:
(WIN) <wavedir>\demo\interapp\win32
Additional Documentation
Consult the Win32 Tool User’s Guide and the Win32 Programmer’s Reference if you have any question about the linker, changes to the linker flags, or the initial application entry points.
 

Version 2017.0
Copyright © 2017, Rogue Wave Software, Inc. All Rights Reserved.