Search found 135 matches
- Thu Jun 23, 2011 9:26 pm
- Forum: C++ Development
- Topic: wxFreeChart
- Replies: 6
- Views: 1901
Re: wxFreeChart
Well it's saying it can't find the library that you compiled. You have to link the library to your project. How you do that in MSVC I don't know for sure, I haven't used msvc since the old 6.0. But you should see other libraries like other wxWidgets stuff mentioned in the list when you find it. just...
- Thu Jun 23, 2011 7:52 pm
- Forum: wxDev-C++
- Topic: Read and Save ini file.
- Replies: 36
- Views: 17995
Re: Read and Save ini file.
it actually needs: #include <wx/fileconf.h> just an fyi... ;) And I run codeblocks here and yes that is your main initializer routine for the app. However I usually put my initializing stuff just below the control creation stuff wxSmith has generated to keep everything in one file. and it won't save...
- Thu Jun 23, 2011 5:42 pm
- Forum: wxDev-C++
- Topic: Read and Save ini file.
- Replies: 36
- Views: 17995
Re: Read and Save ini file.
Sure you can use wxFileConfig if you want to take the fun out of it... lol I honestly thought that was to configure the File handling classes and never paid much attention to it. ;) But yeah it makes this really easy. Just use read to read the variable from the file, and write to write it. Doesn't g...
- Thu Jun 23, 2011 5:20 pm
- Forum: C++ Development
- Topic: wxFreeChart
- Replies: 6
- Views: 1901
Re: wxFreeChart
If I recall for msvc .lib files are typically static, and .dll files are dynamic. Which one you use will depend on how you compile your library. wxFreeChart in this case. But the directions on how to compile it usually come with the code somewhere. Some even have project files. You will have to look...
- Thu Jun 23, 2011 3:54 pm
- Forum: C++ Development
- Topic: wxFreeChart
- Replies: 6
- Views: 1901
Re: wxFreeChart
sounds like you forgot to compile it is all. Are you linking it statically or dynamically?
- Wed Jun 22, 2011 3:46 pm
- Forum: General Forum Issues
- Topic: Forums Upgrade - June 22, 2011
- Replies: 17
- Views: 35236
Re: Forums Upgrade - June 22, 2011
lol, the spam bots are already trying to take over. I see 2 bot posts already. phpbb forums are so hackable apparently. Seriously, I've yet to see one that isn't completely taken over, hacked, infested with spam bots, or that doesn't get corrupted losing posts. Why not use something else? There are ...
- Wed Jun 22, 2011 3:34 pm
- Forum: wxDev-C++
- Topic: Read and Save ini file.
- Replies: 36
- Views: 17995
Re: Read and Save ini file.
well to be honest there is a lot of ways to do something like this. but to keep it simple, load the file up with wxTextFile, use the getnextline feature of wxTextFile to get a line. Use wxStringTokenizer with the equal sign as the token. Use wxStringTokenizer's getnextstring feature to get the label...
- Tue Jun 21, 2011 7:22 pm
- Forum: wxDev-C++
- Topic: Read and Save ini file.
- Replies: 36
- Views: 17995
generally you don't need to tag anything in an ini file (the <> symbols that your using) You just need the word an equal sign and an value. But don't reinvent the wheel if you don't have/want to. there are plenty of open source ini libraries out there. you might also want to look at wxStringTokenizer.
- Tue Jun 21, 2011 2:58 pm
- Forum: wx.NET
- Topic: HELP! compilation error
- Replies: 3
- Views: 26619
quite obviously your missing setup.h... heh, basically you forgot to configure wxwidgets is all. in that directory there is a file called setup0.h make a copy of that and name it setup.h. then open that copy and set the settings up as you like, and re-compile. You may also need to copy that file to ...
- Mon Jun 20, 2011 9:18 pm
- Forum: Platform Related Issues
- Topic: wxWidgets windows are not resizable on OS X Lion
- Replies: 1
- Views: 754
- Mon Jun 20, 2011 9:15 pm
- Forum: C++ Development
- Topic: GetKeyCode Question
- Replies: 4
- Views: 1267
- Mon Jun 20, 2011 3:49 pm
- Forum: Forum Announcements
- Topic: Forum Downtime
- Replies: 6
- Views: 32511
- Fri Sep 04, 2009 7:27 pm
- Forum: General Development
- Topic: What flow of programming and tools do you use?
- Replies: 41
- Views: 74973
yep, you really can't go wrong with Code::Blocks, wxSmith (a default installed plugin) and MinGW. I honestly don't think wxwidgets can get any easier to use than that really. I use codeblocks on both my winxp and linux installs. it's a shame though that wxWidgets doesn't include codeblocks project f...
- Fri Sep 04, 2009 7:10 pm
- Forum: General Development
- Topic: errors building wx28 branch: ambiguous overload for...
- Replies: 0
- Views: 513
errors building wx28 branch: ambiguous overload for...
../../src/msw/ole/dataobj.cpp:1248: error: ambiguous overload for 'operator=' in 'url = buf' I'm trying to build with unicode and monolithic support. and I'm useing the makefile.gcc in build/msw to do so. oh, and I'm useing codeblocks/mingw in winxp. the wx290 branch compiles fine with the exact sam...
- Sat Jan 24, 2009 2:19 am
- Forum: Compiler / Linking / IDE Related
- Topic: Is working using wxDev-CPP, but not with mingw+wxwidgets
- Replies: 7
- Views: 1970