Frequently Asked Questions (FAQ)
wxDev-C++ FAQ
Please note that we have a robust wxforum where someone has probably asked your question already. We also have several online tutorials that are a great help to the beginner. Finally, SofT has written a book called "Programming with wxDev-C++".If you have web access, please consult our online FAQ.
- What is wxDev-C++?
wxDev-C++ is an extension of Dev-C++ with a Form Designer for the amazing cross-platform framework wxWidgets. It contains all the features of Dev-C++ alongside a recent wxWidgets distribution along with a form desinger for rapid application development (RAD).
- Where can I get help for wxDev-C++?
- Which language is wxDev-C++ written in?
- Where do I obtain the wxDev-C++ source code?
- Will there be a release for Linux?
- Why does wxDev-C++ take a long time to compile, and the binaries produced so large?
Large binaries are produced because of static linkage with libstdc++ (which is said to be bulky) and the static, monolithic build of wxWidgets that we include in wxDev-C++. Dynamic linkage to wxWidgets can be done if desired (see the tutorial on building your own wxWidgets library), and switching to STLport is advised if you need to reduce the binary size.
Most people assume that large binaries are a sign of waste and inefficiency. This may be true. However, remember that GUI programs are necessarily large due to the intensive use of graphics (even if you don't take advantage of all that the graphics can do). It's unlikely you'll produce a useful GUI for under 100 Kb or even under 1 Mb (even for a "Hello World!" program). So you can build you own wxWidgets library as a DLL that just includes wxTextCtrl and wxButton, BUT it's not going to be a very useful library for your other programs (which may need more components).
Dev-C++ FAQ
NOTE: This part of the FAQ is a holdover from Dev-C++ 4.9.9.2 and may no longer be up-to-date or relevant.- Why can't I use conio.h functions like clrsrc()?
If you really canot live without them, you can use Borland functions this way:
Include conio.h to your source, and add the following file to your project : C:\Dev-C++\include\conio.c (where C:\Dev-C++ is where you installed Dev-C++).
Please note that conio support is not complete.
- My console window keeps closing, how do I change that ?
You can do it this way:
#include <iostream> |
- After linking, i get an error like C:\DEV-C++\LIB\\libmingw32.a(main.o)(.text+0x8e): undefined reference to `WinMain@16'
- How can i provide a .def file for my DLL ?
- I am having strange problems under Windows XP
- How do I enable Debugging mode ?
- When I launch Dev-C++ I get the message saying 'WININET.DLL' or 'MSCVRT.DLL' or ‘SHFOLDER.DLL’ not found
- How to use assembly with Dev-C++ ?
Here's an example of such a syntax :
// 2 global variables
|
- I am using Windows 98 and I cannot compile
* 47569us.exe - labeled as Windows98SE shutdown
* dcom98.exe - see also this page
* DX81eng.exe - latest version of DirectX (this is 11MB, and cannot be uninstalled without reinstalling Windows 98. You might want to try this one last in case the other above didn't work, as it should update many parts of the system).