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
Related Questions

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.
Related 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
Related 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 .
Related 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.
Related Questions

How can I use TVideoGrabber with Visual C# .NET?

Video capture component for Delphi, C++ Builder and ActiveX ...
browse the list, and near the end check the "VideoGrabberNET control" component, click "OK" now the TVideoGrabber component appears in the ToolBox, select it and place it on the form (wait a few seconds before the control appears) double click on the button, and put this code in the button1_click event: "axVideoGrabberX1.StartPreview();"
Related 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).
Related 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.
Related 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.
Related Questions

Dalek Chess Project: Frequently Asked Questions (FAQ)
SDL stands for Simple DirectMedia Layer. It provides the graphics and sound API's used in the game. It is used by many popular games in the gaming industry today.
Related 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.
Related 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.
Related 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.
Related 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.
Related 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.
Related Questions

Can I use Sh with Microsoft Visual C++ 6?

Frequently Asked Questions - ShWiki
Unfortunately no. Microsoft Visual C++ 6 has many severely broken language features. Sh is written with a standard C++ compiler in mind, and supporting Visual C++ 6 would have a significant impact on the maintainability, readability and potentially performance of the Sh code. However, Sh support Microsoft Visual C++ .NET (also called Visual C++ 7 by some) and up out of the box. We recommend you upgrade to this compiler.
Related 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.
Related Questions

Can I use SpeechStudio Suite for Visual Basic? C#? .NET?

SpeechStudio Inc. Frequently Asked Questions
Yes! SpeechStudio provides tutorials for C++, VB, VB.NET and C#. You can use any language that supports automation.
Related 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.
Related 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.
Related 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.
Related 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”.
Related Questions

Can I use SpeechStudio Suite for any Visual C++ program, even if I don't use MFC or ATL?

SpeechStudio Inc. Frequently Asked Questions
Yes. SpeechStudio Suite offers slightly easier initial integration with MFC since it can utilize the MFC framework. Once the initial integration is completed, SpeechStudio Suite is easy to use with any C++ program.
Related Questions

How Are Generics Similar to Classic Visual C++ Templates?

Generics FAQ: Fundamentals
Generics are similar in concept to classic C++ templates: both allow data structures or utility classes to defer to the client the actual types to use, and both offer productivity and type-safety benefits.
Related Questions

How Are Generics Different from Classic Visual C++ Templates?

Generics FAQ: Fundamentals
There are two main differences: in the programming model and in the underlying implementation. In the programming model, .NET generics can provide enhanced safety compared to classic Visual C++ templates. .NET generics have the notion of constraints, which gives you added type safety. On the other hand, .
Related Questions

For whom is Visual C# 2008 Express intended?

Frequently Asked Questions
Visual C# 2008 Express is designed for hobbyists, first-time developers, and students looking for a fun and easy way to build Windows applications.
Related Questions

Frequently Asked Questions (FAQ)
Visual C# 2005 Express is intended for hobbyists, students, and novices developing Windows applications.
Related Questions

Got A Question? Ask Our Community!


More Questions >>

© Copyright 2007-2008 QueryCAT
About • Webmasters • Contact