Re: Switching from console to Wxwidgets app?




<gordon.is.a.moron@xxxxxxxxx> wrote in message
news:1175578042.750389.13730@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx


Hello, I've grabbed a copy of VS2005 Express and the windows SDK. I'd
like
to develop the back end of my program in native C++, using a console
app
for simplicity. Then use wxwidgets for the GUI at a later point. How,
roughly, would I
do this? Can I just swap the linker subsystem from Console to Windows
native and then call my stuff through wWinMain? Would Expresses lack
of non console native support cause issues?

Sounds like an excellent plan. It's not a supported use case by Microsoft,
but it is well known that VC++ Express can compile pure Windows apps as long
as you download the Platform SDK (Windows SDK) as well.

Instead of changing the project properties from console to windows
subsystem, I would encourage you to separate the reusable code into a static
library. Then you can include that static library from multiple application
projects: console, wxWidgets, and unit tests.


.



Relevant Pages

  • Re: CreateProcessAsUser - Process starts then exits
    ... Windows XP Media Center ... public Int32 dwX; ... public IntPtr lpReserved2; ... parent's console. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: CreateProcessAsUser - Process starts then exits
    ... service most likely runs in a separate invisible session. ... the program I was trying to start was a windows forms app I ... public IntPtr lpReserved2; ... parent's console. ...
    (microsoft.public.win32.programmer.kernel)
  • Novell Client login form enables reading and writing from and to the clipboard of the logged-in
    ... Novell Client for Windows, ... Anyone with access to the computer's local operating system console, ... inject its own textual content into the clipboard of the currently logged-in ...
    (Bugtraq)
  • Re: New HDD Installation
    ... Right clicking on the partition or using the | Action> All Tasks menu at the top of the console should show the option, either greyed out or usable to make the partition active. ... Do the fixboot and fixmbr things in the Recovery Console then see if things change. ... There are other ways to mark the partition active, either with a Windows 98 startup disk or using the DISKPART command while in Windows XP. ...
    (microsoft.public.windowsxp.general)
  • Re: Cannot Correctly Preview Fax in Fax Console
    ... I no way do I doubt what you are saying, but until now, all known problems with previewing faxes have had one of two causes: incorrect file associations for TIF files or end user error using Windows Picture and Fax viewer. ... >>>I have used the fax printer Windows accessory many times. ... The Fax console comes>>> up. ...
    (microsoft.public.windowsxp.print_fax)