I want to learn to do some DirectX 9 and 10 programming in C++. Could anyone suggest me some good books to start with for a beginner in DirectX and at the same time, some reference books for DirectX 9 and 10?
I have a background in standard C++ programming and I want to know what are the prerequisites to be able to program with DirectX....
Hi,
I've ran into problems installing the LGPL version of the Qt SOAP component:
http://qt.nokia.com/products/appdev/add-on-products/catalog/4/Utilities/qtsoap/
I've followed the instructions in INSTALL but can't seem to get it to build the DLL.
Unpacking and installation
Unpacking the archive (if you have not done so already).
...
I'm using Visual Studio 2008.
I'm aware that std::vector has bounds checking with the at() function and has undefined behaviour if you try to access something using the operator [] incorrectly (out of range).
I'm curious if it's possible to compile my program with the bounds checking. This way the operator[] would use the at() function...
I need the characters/escape sequences that move the console's cursor position. It would be nice to know the left/right/up/down cursor controls, but if that's not possible, a home (go to the first character of the first line in the console). Thanks in advance.
...
Does anyone know I a can make C++ programs for the Blackberry platform?
In some old video they state that 3rd party applications can only be written in Java. Is this true. Or is it possible to write C++ applications if you flash the device?
If anyone has an hello world example in C++ for Blacberry please forward it.
/Thanks :-)
...
Is there a case where MessageBox can return 0 other than not enough memory? I have a case where I suspect the HWND I'm passing to MessageBox isn't valid or maybe it belongs to a window that is in the process of being destroyed.
In my case the MessageBox isn't displayed and returns 0, but I seem to have enough memory available.
...
I want to keep some global objects in an Apache C++ module persistent across Apache child process invocations. How do I do this?
...
In a doc/view project using VS2008, a MFCMenuBar seems to load the correct MENU resource (IDR_MAINFRAME) from the project, since adding and removing menu items is reflected in the menu's UI. It even appends the accelerators to the default menu items (e.g. Ctrl+O to the Open... item). However, the accelerator table (IDR_MAINFRAME) doesn...
Possible Duplicate:
A good book to understand WinAPI programming?
Please close; duplicate of 329776.
I just recently got involved with an open source project that uses Windows.h WinAPI extensively, and libraries such as Advapi32. I'm a real newbie when it comes to low level C++ stuff, since I've been a C# developer most of ...
Hi:
I have some .dll native C++ programs which mainly return int/double values, array structures and string values. These values should be taken by a Web Service program made in C#.
I would like to know if it is really necessary to modify my C++ programs and adapt to Web service, i.e. return values such as a XML string/file together wi...
I've a program that implements a plugin system by dinamically loading a function from some plugin_name.so (as usual)
But in turn I've a static "helper" library (lets call it helper.a) whose functions are used both from the main program and the main function in the plugin. they don't have to inter-operate in any way, they are just helper...
I've got a unit test I'm writing which seems to have some kind of a pointer problem. Basically, it's testing a class that, once constructed, returns information about a file. If all the files expected are detected, then the test operates correctly. If there are more files expected than detected, then the routine correctly reports error. ...
Just in general terms, for a noobie. I apparently need an 'SDK' to install something; what is this?
...
The following is a linked list header file:
// list.h
class list
{
public:
list(void); // constructor
virtual ~list(void); // destructor
void displayByName(ostream& out) const;
void displayByRating(ostream& out) const;
void insert(const winery& winery);
winery * const find(const char * const name) const;
...
I kept recieving error 12029 (ERROR INTERNET CANNOT CONNECT, The attempt to connect to the server failed.) when using the the MFC wininet classes on Windows Vista. The cause of the error was due to Windows Defender. Is there a better way to get around this than completely turning off Windows Defender? I tried turning off "real time pr...
Hi everyone.
I have just switched from Builder 6 to Builder 2009 and have a question.
How can I write unicode string to a file?
TBytes Preamble1 = TEncoding::Unicode->GetPreamble();
UnicodeString str1("string1");
int len = TEncoding::Unicode->GetByteCount(str1);
FileWrite( iFile,&Preamble1[0],Preamble1.Length );
FileWrite( iFile,str...
I have the following data structures:
struct Inner
{
int myValue;
};
struct Outer
{
Inner* inner;
};
Option 1
If I do the following:
Outer outer;
outer.inner = NULL;
outer.inner = new inner;
inner* pInner = outer.inner;
and then add a watch for the following 2 values:
outer.inner
pInner
then they are both non-NULL, a...
Hi,
Are there Visual C++ versions of the following (in GCC)?
__builtin_return_address
__builtin_frame_address
Reference - http://gcc.gnu.org/onlinedocs/gcc/Return-Address.html
If not, is there a way to emulate them?
Thanks.
...
Update: I get this warning when compiling: multiple '.text' sections found with different attributes
Hi,
I've compiled some libraries (.a and .dll) in Linux using the MinGW Cross Compiler. I can successfully link against them (.a) in Visual Studio 2008. However, when it runs (using .dll), it terminates with the address pointer pointing...
Hi there,
I've one application and two lib files. Application initialize a class object which need to pass to another class which is in the library. How can i do that? Here is what i did but it just crash
mainClass.h
@interface mainUIDelegate: NSObject<UIApplicationDelegate>
{
bla bla...
myCppClass myCppObject;
}
mainClass.mm
-(v...