Search found 236 matches

by ninja9578
Thu Feb 25, 2010 5:52 pm
Forum: C++ Development
Topic: undefined reference, where is it?
Replies: 4
Views: 1144

Oh crap, I should have known. This happened to me once before too. Hmm. This could be a problem because my file hander, thread handler, and DLL handlers all include <windows.h> Hmm. What if I move #include <wx/*> to the top of all my files, before everything else? Will that fix it? I don't want to j...
by ninja9578
Tue Feb 23, 2010 4:41 pm
Forum: C++ Development
Topic: undefined reference, where is it?
Replies: 4
Views: 1144

undefined reference, where is it?

I have a program that was working fine, but I replaced some wxWidgets classes with my own faster classes and now I get two linking errors: wxGDIObject::GetClassInfoA() const and wxObject::GetClassInfoA() const Where are these things? I have the following libraries linked: wxmsw28 wxmsw28_gl wxtiff w...
by ninja9578
Sun Feb 21, 2010 2:49 pm
Forum: C++ Development
Topic: How to make "break" in menu
Replies: 2
Views: 660

by ninja9578
Thu Feb 18, 2010 1:10 pm
Forum: Compiler / Linking / IDE Related
Topic: Compiling the samples\DLL
Replies: 20
Views: 6230

The DLL Sample doesn't work, it calls functions that don't exist in wxWidgets, even in 2.9. The author never tested it, trust me, I went through this myself.
by ninja9578
Tue Feb 16, 2010 1:15 am
Forum: C++ Development
Topic: Max window size 32768?
Replies: 8
Views: 1796

So, on X11 this is not an issue, and same app would work for sizes > 32768? I would guess that's correct. I don't know, I've never worked with X11 directly, but if it uses 32bit for sizing all the way through, then it should theoretically work. I had a problem with big windows too. What you should ...
by ninja9578
Mon Feb 15, 2010 11:39 pm
Forum: C++ Development
Topic: Max window size 32768?
Replies: 8
Views: 1796

I think I can shed some light on this. This is Windows right? Well, Windows' size events are 16bit. WM_SIZE gives you the new size in the LPARAM, which is 32-bit. Hiword is x, loword is y. There is no work-around, it's a limit in the Windows Operating system. The reason nothing over that size is wor...
by ninja9578
Wed Feb 10, 2010 4:38 am
Forum: General Development
Topic: What IDE do you use?
Replies: 21
Views: 7508

What IDE do you use?

Just curious as to why there is a wxDev-C++ forum (which I thought was deprecated,) and no Code::Blocks forum, which I thought was far more popular for wx developers. I use Code::Blocks on Windows and Linux and XCode on OSX. I guess this forum software doesn't allow multi-imput polls, so put which y...
by ninja9578
Wed Feb 10, 2010 4:10 am
Forum: C++ Development
Topic: how can i release an independent exe?
Replies: 4
Views: 1134

No, you can simply recompile your project again. :)
by ninja9578
Wed Feb 10, 2010 1:01 am
Forum: C++ Development
Topic: Suppressing command line windows
Replies: 35
Views: 5240

Oh, I didn't know that I had to use the wxArray version, I was using the command, flag version. Shouldn't that difference be noted in the Wiki?
by ninja9578
Tue Feb 09, 2010 4:06 pm
Forum: C++ Development
Topic: Suppressing command line windows
Replies: 35
Views: 5240

I'm well aware of wxExecute, but that doesn't answer my question. wxExecute doesn't suppress the cmd window, that was the first thing that I tried. Unless there is a flag that I'm missing that's not in the documentation?
by ninja9578
Tue Feb 09, 2010 2:26 pm
Forum: C++ Development
Topic: Suppressing command line windows
Replies: 35
Views: 5240

Suppressing command line windows

Is there a way to execute a commandline executable and waiting for it to complete without a cmd window showing up? I'm compressing pngs using pngcrush and my app currently just opens a ton of cmd windows, which is annoying.
by ninja9578
Sat Feb 06, 2010 7:14 pm
Forum: C++ Development
Topic: Open File
Replies: 12
Views: 2508

Maybe you should explain exactly what you're trying to do because it looks like a bunch of people all think you're trying to do completely different things. The way that I took your thread is this. I thought that you wanted to associate an image type with your program, meaning when you double click ...
by ninja9578
Fri Feb 05, 2010 11:07 pm
Forum: Compiler / Linking / IDE Related
Topic: help with starting?
Replies: 4
Views: 1001

Okay, that's true, I had it install on Mac the first time through, but he specified that he's using Windows :)
by ninja9578
Fri Feb 05, 2010 8:24 pm
Forum: Compiler / Linking / IDE Related
Topic: help with starting?
Replies: 4
Views: 1001

Compiling wxWidgets from scratch almost never works. I've tried at least a dozen times on different machines, the only one to ever fully compile was wxWidgets 2.9 and it didn't do so correctly. What you want is called wxPack. http://wxpack.sourceforge.net/Main/Downloads Download the 2.8.10 one and j...
by ninja9578
Fri Feb 05, 2010 7:27 pm
Forum: C++ Development
Topic: Make DLL file smaller
Replies: 6
Views: 1299

The UPX'd dll will run just as fast as normal, it gets uncompressed before it gets loaded. The compression system is very simple (but effective) so there is little overhead in decompression, maybe a few milliseconds, but well work it if it cuts down download time by a minute.