Search found 18 matches

by jaxsin
Fri Apr 03, 2015 11:11 am
Forum: wxCode
Topic: wxFreeChart Updates
Replies: 7
Views: 2001

Re: wxFreeChart Updates

Well I managed to fix the axis labels so they center on the chart. I still have not managed to fix the combined axis demo. I'm afraid I do not understand enough about the code to implement a proper fix. As each plot is a separate object I don't know how to properly tell the other plot objects to use...
by jaxsin
Sat Mar 28, 2015 12:15 pm
Forum: wxCode
Topic: wxFreeChart build Error
Replies: 4
Views: 1210

Re: wxFreeChart build Error

I'm not entirely positive but I thought I read somewhere that wxFreeChart did not build on 2.9 error free Like I said, I managed to get it to build on 3.0 and getting it configured properly was the biggest hurdle. I don't know much about Makefile or gcc as I use VS. But the error sounds like it is a...
by jaxsin
Fri Mar 27, 2015 11:43 am
Forum: wxCode
Topic: wxFreeChart build Error
Replies: 4
Views: 1210

Re: wxFreeChart build Error

from what little experience I have, I would suggest that you double check how you built wxWidgets. I know when I built wxFreeChart I had to use multi lib. You can check to see by looking into your wx install and check to see if you built with monolithic or multilib. That will probably fix a lot of y...
by jaxsin
Mon Mar 23, 2015 3:01 pm
Forum: C++ Development
Topic: Can't create object of derived class wxFrame [SOLVED]
Replies: 2
Views: 399

Re: Can't create object of derived class wxFrame [SOLVED]

Yep, that was the problem. I just forward declared BaseWindow in dialog.h and all is well with the necessary includes.

Guess I was just missing out on the combination I needed of includes and forward declarations.
by jaxsin
Mon Mar 23, 2015 12:24 pm
Forum: C++ Development
Topic: Can't create object of derived class wxFrame [SOLVED]
Replies: 2
Views: 399

Can't create object of derived class wxFrame [SOLVED]

I'm not sure what my problem is exactly, what I want to do is make a private member variable accessible outside the class BaseWindow.h #include "Dialogs.h" class BaseWindow : public wxFrame { friend class PortSettings; public: // Constructor BaseWindow(const wxString & title); ~BaseWin...
by jaxsin
Mon Mar 16, 2015 6:07 pm
Forum: Announcements and Discoveries
Topic: Wizard for automatic project creation in Visual Express C++
Replies: 3
Views: 1479

Re: Wizard for automatic project creation in Visual Express C++

Thank you! very much appreciate this

Can you explain why I need to use multi-threaded DLL when I choose static in the setup? I take it the completed build is still static but it is just how I installed wxWidgets? I really don't understand all the intricacies of compiling and linking.
by jaxsin
Mon Mar 16, 2015 4:38 pm
Forum: wxCode
Topic: wxFreeChart Updates
Replies: 7
Views: 2001

Re: wxFreeChart Updates

I was wondering about two things: 2. Are the bugs I described fixed in the code you have? from what I can tell, the axis labels are still not centered on the chart, but rather seem to be centered to the wxFrame size. The other bugs you posted seem to be fixed. Can you post your code that fixed the ...
by jaxsin
Mon Mar 16, 2015 10:47 am
Forum: wxCode
Topic: wxFreeChart Updates
Replies: 7
Views: 2001

Re: wxFreeChart Updates

https://github.com/jasin/freechart I pulled it into github and you can clone the repo. If you want go ahead and setup git in an empty directory on your PC and do a git pull request. Then you can go ahead and apply your code changes. Then you can set up a merge request and we can start from there. I ...
by jaxsin
Sun Mar 15, 2015 12:32 pm
Forum: wxCode
Topic: wxFreeChart Updates
Replies: 7
Views: 2001

Re: wxFreeChart Updates

I'd be interested in helping with this on the windows side under vs2013. Send me a PM on here if you or anyone else is interested in doing this. The first thing we need done is to get this under GIT instead of SVN. Somewhere on these forums I read the owner of freechart had no intentions of updating...
by jaxsin
Sun Mar 15, 2015 1:00 am
Forum: wxCode
Topic: wxFreeChart built using VS2013 - migration issue
Replies: 1
Views: 783

Re: wxFreeChart built using VS2013 - migration issue

ok, so moving forward, I managed to build the library, but now when I try and build the demo app I get this error Error 1 error LNK1104: cannot open file 'wxmsw28ud.lib' E:\freechart\build\LINK wxFreeChartDemo Probably because I am using wxWidgets 3.0. So I tried changing the 28 to 30 and still no l...
by jaxsin
Sat Mar 14, 2015 11:20 pm
Forum: wxCode
Topic: wxFreeChart built using VS2013 - migration issue
Replies: 1
Views: 783

wxFreeChart built using VS2013 - migration issue

I am trying to build and use a charting library in wxWidgets for a project I am working on. I downloaded FreeChart 1.6 and opened up the WXFREECHART solution in vs2013 and it was migrated. There where some warnings but I managed to get the static unicode monolithic Static lib built. First off I real...
by jaxsin
Tue Mar 10, 2015 12:35 am
Forum: C++ Development
Topic: How to implement a loop to check for data recieved [SOLVED]
Replies: 9
Views: 1273

Re: How to implement a loop to check for data recieved [SOLVED]

I appreciate the help DenDev, Got me sorted and everything is working now. You are right, reading one byte at a time surely isn't going to speed up the reading speed.
by jaxsin
Fri Mar 06, 2015 10:04 pm
Forum: C++ Development
Topic: How to implement a loop to check for data recieved [SOLVED]
Replies: 9
Views: 1273

Re: How to implement a loop to check for data recieved [SOLVED]

DenDev, on another note you said Another recommendation is not to use a one-byte buffer, because it is highly inefficient and your buffer should at least be 1KiB (1024 bytes). are you talking about the ReadFile call I make where I grab 1 byte at a time in the do while loop? Or are you talking about ...
by jaxsin
Fri Mar 06, 2015 5:25 pm
Forum: C++ Development
Topic: How to implement a loop to check for data recieved [SOLVED]
Replies: 9
Views: 1273

Re: How to implement a loop to check for data recieved [SOLVED]

ok I am not sure we are on the same page here. I have a serial class that does asynchronous IO (using threads) and a buffer class that stores data and allows read/writes but only one at a time. The above codes seems to work fine in a c++ console app. This was all before I decided to add in a gui. At...
by jaxsin
Fri Mar 06, 2015 4:37 pm
Forum: C++ Development
Topic: How to implement a loop to check for data recieved [SOLVED]
Replies: 9
Views: 1273

Re: How to implement a loop to check for data recieved [SOLVED]

Now a question about threads, I was under the impression that you should avoid polling and idling in a loop, see the reference below under How to Pause a Thread or Wait for an External Condition - If a thread needs to wait for something to happen, you should avoid both polling and idling in a loop t...

Go to advanced search