LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-19-2006, 03:41 AM   #1
bianchi
Member
 
Registered: Nov 2005
Location: Italy
Posts: 36

Rep: Reputation: 15
Unhappy console app + wxInitialize + wxMemoryDC


Hi ,

I have a simple console app , which has a main function :

int main ()
{
::wxInitialize();
::wxInitAllImageHandlers();
wxMemoryDC * pdc = new wxMemoryDC();
.
.
.
.
return 0;
}

this app does not work.
What should I do to initiate graphics or dcs in
a console app ?

Regards,
Bianchi

Last edited by bianchi; 01-19-2006 at 05:45 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
console app + dc bianchi Programming 0 01-18-2006 04:29 AM
assign wxDC to wxMemoryDC bianchi Programming 0 01-11-2006 11:36 PM
How to Run Win32 Console App in linux Console Lokie Linux - Software 2 08-12-2004 10:00 PM
Fullscreen console app with C or C++ scottbrown4b Programming 3 05-10-2004 06:03 PM
running a console app cratos Programming 8 11-06-2003 09:58 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration