QueryCAT Logo
Search 5,000,000+ questions and answers.

Frequently Asked Questions

How do I use SDL with Visual C++?

Simple DirectMedia Layer
When using Visual C++ I get "fatal error C1083: Cannot open include file: 'windows.h': No such file or directory" When using Visual C++ 5, I get the following error message: SDL.lib : fatal error LNK1106: invalid file or disk full

Why can't I use Visual C++ debugger with SDL applications?

Simple DirectMedia Layer
You need to pass the SDL_INIT_NOPARACHUTE flag to your calls to SDL_Init() to make the msvc debugger work. Otherwise the debugger will be unable to trace exceptions, and other debugging features like run to cursor won't work. See similar questions...

How do I use SDL with Borland C++?

Simple DirectMedia Layer
SDL 1.2.5 and newer have projects for C++ Builder 5 and 6 for Windows, Kylix 3, and the free Borland C++ command line tools. Take a look at Borland.html in the source archive. For both Watcom C/C++ and Borland C/C++ the compiler option that makes enums having the size of an int must be enabled. This is "-b" for Borland C/C++ and "-ei" for Watcom C/C++ (v11). You still need the SDL_MAIN.LIB file, so that you don't need to define WinMain() and all that junky windows stuff. You have no . See similar questions...

How do I use SDL with Dev-C++?

Simple DirectMedia Layer
Try the Dev-C++ tutorial available at: http://cone3d.gamedev.net/cgi-bin/index.pl?page=tutorials/gfxsdl/tut1. If you have problems, please contact the author of the tutorial. There are also step by step instructions at: http://docs.deninet.com/sdl_on_dev_c.htm See similar questions...

Why does the Visual C++ debugger freeze at every breakpoint when debugging SDL apps?

Simple DirectMedia Layer
The DirectX drivers have a system lock while you have video surfaces locked. To avoid this, you can set the video driver to GDI by setting the SDL_VIDEODRIVER environment variable to: windib Since this changes video and mouse/keyboard input drivers, you'll see a difference in performance and features available, but you'll be able to debug your application more easily. See similar questions...

Should I use Visual C++ or Visual Basic?

MFC Visual C++ FAQ version 4.0 Windows Programming OLE VBX O...
Here's a funny analogy I saw posted->) Well, the principle is the same (create interface, add code to respond to events, add code to do something useful). But programming in VB is like riding a kiddy bike, while programming in C++ is like driving a Formula 1 racing car - be prepared for accidents. But seriously, VB is interpreted, MSVC is compiled, therefore MSVC programs should be much faster (if written well). See similar questions...

Why Visual C++?

Base One - Frequently Asked Questions about BFC
Visual C++ is Microsoft's premiere Windows programming environment. While there are several interesting, up-and-coming contenders in the client/server marketplace, C++ has proven itself to be the best tool available today for building large-scale, mission-critical applications. Although "Fourth Generation" programming environments offer features for rapid development, the end-results are often disappointing or impractical for large-scale implementations. See similar questions...

What is SDL?

VisualBoyAdvance Frequently Asked Questions
SDL stands for Simple DirectMedia Layer. It is a cross platform library for graphics, input, audio, threading, etc... that can be used for games, emulators, etc. VisualBoyAdvance has a special version that uses the SDL library and that provides the same behaviour on the different systems it as been ported to. The main difference with the Windows version is that it is command line driven, meaning you have to type arguments at the command line in order to run. See similar questions...

How do I use SDL with gcc on Windows?

Simple DirectMedia Layer
You can build and use SDL with gcc natively using either Cygwin or MinGW, or you can build a gcc cross-compiler targeting Windows from another platform. Once the build environment is set up, you can build your applications as though you are on UNIX. See the Linux FAQ for more details on building applications in this environment. See similar questions...

How do I use SDL with lcc-win32?

Simple DirectMedia Layer
From lcc-win32 IDE run "Utils->Import foreign library" specifying the path of SDL.lib taken from Visual C++ package, this will create a new lcc\lib\sdl.lib file Select "Compiler->Settings", in the "compiler settings" tab, " Path" add the path to SDL include files; in the "linker settings" tab, "additional files to be included in the link" add sdl.lib Select "Project->Add/Delete files...", "Add new file..." and add SDL_win32_main.c taken from the src/main/win32 directory in the SDL source code. See similar questions...

What's the difference between C++ and Visual C++?

Compiler dependencies Updated! , C++ FAQ Lite
Recall that when you delete[] an array, the runtime system magically knows how many destructors to run. This FAQ describes a technique used by some C++ compilers to do this (the other common technique is to use an associative array). If the compiler uses the "over-allocation" technique, the code for p = new Fred[n] looks something like the following. See similar questions...

Why can't I see the C-Sharpener For VB menu in Visual Studio .NET?

Frequently Asked Questions (FAQ) about C-Sharpener For VB
Assuming that you have successfully installed C-Sharpener For VB, the menu option should automatically appear. If it doesn't appear, then try the following: Turn on the checkbox to the left of C-Sharpener For VB and click the OK button. The menu option should now appear. See similar questions...

Are there any compatibility issues with Visual C++?

SGI STL: Frequently Asked Questions
Visual C++ provides its own STL implementation, and some of the other Microsoft C++ library headers may rely on that implementation. In particular, the SGI STL has not been tested in combination with Microsoft's new <iostream> header. It has been used successfully with the older <iostream.h> header. See similar questions...

Can I use OCXs in my 16-bit Visual C++ 1.5x applications?

ActiveX Control FAQ - General
The 16-bit version of Visual C++ (1.5x) only supports the development of OLE controls. It does not allow for the use of them in any way. Other 16-bit tools, such as Visual Basic 4.0 (16-bit) and Oracle's Power Objects, however, do allow their use. I think that Borland's 32/16-bit environment does allow their use too, but does not allow any "design time" configuration of the controls. See similar questions...

Can I use Visual C++ Toolkit 2003 for building sanos?

sanos FAQ
Microsoft has made their Visual C++ compiler available for free. It can be downloaded from Microsoft. You can use this compiler to build sanos. The sanos source distribution contains a Makefile which can be used to build sanos using the Visual C++ Toolkit 2003. However, some necessary tools are missing. The following files are missing: All tools but the MASM assembler (ml.exe) can be obtain freely from the Microsoft Platform SDK February 2003. MASM can be obtained from the Visual C++ 6. See similar questions...

How do I use the Visual C++ debugger without a project file?

AbiSource FAQ
Visual C++ can be used as a debugger. Select "Open Workspace" under the File menu. Select "Executable Files" under the dropdown box called "Files of type". Use the dialog box to locate the EXE you want to debug. After doing this, Visual C++ will allow you to debug that EXE, just as if it were built from a project. See similar questions...

edit] Q: Is it possible to use Visual C++ 6.0 with Code::Blocks?

FAQ - CodeBlocks
Yes. See Integrating Microsoft Visual C 6 with Code::Blocks IDE for a detailed description on using VC++ 6.0 with Code::Blocks. See similar questions...

How do I use devkitPro toolchains with Visual C++ Express?

devkitPro & FAQ
Start a new project and select makefile, on the general tab. Enter the name of the project and the folder where it will be located, leaving the ‘Create directory for solution’ box unchecked. Click OK. in the ‘Build command line:’ box. Under ‘Clean commands:’ type “make clean”. See similar questions...

Explore Other Topics

What is the difference between rhododendrons and azaleas? What about deciduous azaleas?
What hours are the polling places open?
How much alcohol can I bring into Canada?
Why do I need a power of attorney since my spouse and I own all our assets jointly?
Are there advantages to civil marriage celebrations over church marriage celebrations?
Can you assist with my Permanent Resident Card Application?
What is the difference between bodily injury coverage and personal injury protection?
What are your rates? What are standard consulting rates?
What is heart failure?
How much of my credit limit can I use for cash advance transactions?
How do you treat bile reflux and acid reflux together?
bull; What is a "Coupon Code," and where do I get one?
How do I add links, pictures, formatted text, etc.?
More Questions >>

© Copyright 2007-2012 QueryCAT
About • Webmasters • Contact