Search found 12 matches

by johnb
Tue Oct 11, 2005 11:35 pm
Forum: wxDev-C++
Topic: Public functions and data
Replies: 1
Views: 1169

Public functions and data

My conversion from dos 'C' to windows Console is causing me no end of frustration. I have a program which has grown too large to handle, so I broke it into four modules, with one common header file. Like dos 'c' I figured that I could call any function or access any data from any module using the he...
by johnb
Wed May 18, 2005 3:43 pm
Forum: General Development
Topic: 'LED' widget
Replies: 5
Views: 3278

I imported C:\Dev-Cpp\wx\contrib\samples\gizmos\led.dsp

The compiler returned the following error messages:

[resource error] can't open icon file 'sample.ico' No such file or directory
[Build Error] [led_private.res] Error 1

johnb
by johnb
Wed May 18, 2005 1:27 pm
Forum: General Development
Topic: 'LED' widget
Replies: 5
Views: 3278

'LED' widget

I finally got my multiport serial i/o program, including interrupt event handling into the testing stage (thanks upCASE for your direction). I would like to show the 'rts/cts/dsr/dtr' lines in the form of led's (red/green). Is there a widget for something like this or do I have to draw them in a pan...
by johnb
Fri May 06, 2005 1:04 pm
Forum: wxDev-C++
Topic: Console to Windows application
Replies: 4
Views: 2069

Thanks, The create an 'empty wxwidget project' direction sounds good. Will give it try. upCASE, I am still working on the CBT direction. While reading the spmdwx.pdf I found the the following: on page-13 of spmdwx.pdf "The w32-samples are under construction and not yet included" a 'red' ov...
by johnb
Fri May 06, 2005 12:17 pm
Forum: wxDev-C++
Topic: Console to Windows application
Replies: 4
Views: 2069

This ties in with my previous postings of 'where is main'. The imported project has an accessable 'main' and all I will have to do is insert my code (probably not as simple as that). upCASE pointed me in the the direction to CBT, which I am actively pursuing now. If I can import this MSVC project wh...
by johnb
Fri May 06, 2005 12:08 am
Forum: wxDev-C++
Topic: Console to Windows application
Replies: 4
Views: 2069

Console to Windows application

Is it possible to change a console application to a windows application.
I have imported a MSVC project (console) and want to add wxwidgets
to this project and run it as a windows application.

Thanks in advance for any suggestions.

Johnb
by johnb
Thu Apr 28, 2005 2:22 pm
Forum: wxDev-C++
Topic: Where is MAIN - additional info
Replies: 4
Views: 1955

upCASE, Thanks for your help. The CTB links seems to be what I am looking for. What kept confusing me was trying to relate DJGPP msdos 'C' routines to wxwidgets C++ routines. IE.. My 'C' main, after all initialization took place, entered an endless loop. Sort of a flow chart description. while(1) { ...
by johnb
Thu Apr 28, 2005 11:31 am
Forum: wxDev-C++
Topic: Where is MAIN - additional info
Replies: 4
Views: 1955

//--------------------------------------------------------------------------- // // Name: SiotestApp.cpp // Author: John Botterell // Created: 4/24/2005 5:33:55 PM // //--------------------------------------------------------------------------- #include "SiotestApp.h" #include "Siotes...
by johnb
Wed Apr 27, 2005 10:41 pm
Forum: wxDev-C++
Topic: Where is MAIN - additional info
Replies: 4
Views: 1955

Where is MAIN - additional info

I am using wxdevcpp that shows 4 serial ports. Ports 1&2 and 3&4 are looped back to each other via null modem adapters. A series of messages are the sent back and forth to verify that the ports on the card are good. This program is working in msdos (DJGPP) and want to update it to win32. I u...
by johnb
Tue Apr 26, 2005 2:13 pm
Forum: wxDev-C++
Topic: Where is MAIN ?
Replies: 6
Views: 8316

Where is MAIN ?

I have completed a wxform called Siotest. It complies and runs perfectly. The question now is, Where is the 'MAIN' proceedure (new to c++) and where do I enter my code. I think this might be the equivalent to 'MAIN' In 'Siotestapp.cpp' bool SiotestFrmApp::OnInit() { SiotestFrm "myFrame = new Si...
by johnb
Fri Apr 22, 2005 7:17 pm
Forum: wxDev-C++
Topic: WXDEV-C++, newbie, two questions
Replies: 2
Views: 1388

Tony,
Thanks for the answers. I can fully appreciate the time and effort
NinjaNL is devoting to this project. Perhaps a quart would be in order.
by johnb
Fri Apr 22, 2005 4:44 pm
Forum: wxDev-C++
Topic: WXDEV-C++, newbie, two questions
Replies: 2
Views: 1388

WXDEV-C++, newbie, two questions

I did a complete uninstall of DEV-C++, rebooted and installed WXDEV-C++. I am missing the Windows Application template icon for new projects. Should it be there or is it not not needed now? Also, I am just learning this and am a little disappointed that the ".wxform" files were not include...