I want to make a message box show a few fixed strings and a few class members but when i tried the following code i got told .dwHeight and .dwWidth need a type or something on the left which is really confusing me..
MessageBox(NULL, "Width: " && ddsDesc.dwWidth & "
Height: " && ddsDesc.dwHeight, "Compatible display mode", MB_OK);
The program is a simple test program to enumerate display modes using direct draw 7. The .dwWidth and .dwHeight are both DWORDs.
If anyone can tell me what i've done wrong then please do! If you need more code to work out whats wrong ask for it and i'll tell you