Hello - I have a question about inheritance and polymorphism in C++. If one is making heavy use of inheritance and using a lot of pure virtual and plain virtual functions, are there any common practices for avoiding having the virtual functions staggered in confusing ways. By that I mean having multiple classes in an inheritance chain and having overrides of virtual functions at different places along the chain. Thanks, Mike

Member Avatar
Member Avatar
+0 forum 1

I'm writing an application with Directx 9. Where I start the application in full screen mode, the image fills to fullscreen and then immediately reverts into a regular window. There aren't any problems when I run the application in windowed mode from the start. I was wondering if anyone has any ideas as to what may be causing this. Some things to note are that I am running the debug version of directx and I am doing everything on one monitor. The fullscreen mode problem still occurs if I "Run without debugging" Thanks, Mike

Member Avatar
Member Avatar
+0 forum 3

Hello, I have recently started learning how to write games in DirectX 9 and I have a few questions. The first is about backwards compatibility. Is it correct to assume that if someone has DirectX 10 installed that they can play DirectX 9 stuff without downloading DirectX 9? Also, I was wondering if anyone could tell me about loading PNG files with DirectX 9, as opposed to bitmaps. Thanks, Mike

Member Avatar
Member Avatar
+0 forum 2

I am planning on making games within the next few years. I have read a book on DirectX 7 (with excellent explanations), and right now I am going to start learning either DirectX 9 or DirectX 10. The advantage of DX 10 is that it is newer and better. However, DirectX 10 only works on Vista and later OS's (doesn't work on XP). DirectX 9 is also pretty good and it works on XP. The games I am planning to make will probably be mostly 2D, so they don't require cutting edge 3D graphics. I want the game to be …

Member Avatar
Member Avatar
+0 forum 2

Hello, I made a website using ASP.NET 2.0, and it mainly consists of articles I have written. I would like to add a "comments" section after every article, where guests can leave comments and discussions - this may boost interactivity for my website. Anyway, two things I have tried already are: InstaComment and Js-kit comments. Neither of them work properly. For example, InstaComment just gives me a blank box instead of a comments box (this is not related to the www forcing they mention on their website). When I paste the Js-kit code into the body, forms section of my …

Member Avatar
+0 forum 0

I recently added Video Units to my web page. For some reason, only a very low number o impressions are appearing. For example, I had 250 page impressions for Adsense Content and only 9 page impressions for video units. Is Video Units just slow at reporting the impressions, or is there some other issue?

Member Avatar
Member Avatar
+0 forum 3

I have been working through the book [U]Windows Game Programming for Dummies[/U] and so far it has been excellent. I am about half way through the book and I am planning on finishing. However, the books is from 2002 and it uses DirectDraw7 for the graphics component of DirectX. It is my understanding that DirectDraw has been depreciated and that now Direct3D is used for both 3D and 2D graphics. So the question is: If I want to make a 2D game, would it be better to use DirectDraw or Direct3D. Also, how similar are the syntaxes between the two …

Member Avatar
+0 forum 0

Hello, I'm trying to create a window with a C++ win32 app project. I am using creating the HWND object, setting its properties, and then registering the object. Also, there is a WindowProc function. What seems to happen is that the object registers but when I call CreateWindowA(...), this function call fails and no window is created. Also, it seems that Error 1407 is generated on the CreateWindowA call. Here is the code, any help is appreciated: **************************************************************************** [code=cplusplus] // INCLUDES #define WIN32_LEAN_AND_MEAN #include <windows.h> #include <windowsx.h> #include <stdio.h> #include <math.h> #include <iostream> // DEFINES #define WINDOW_CLASS_NAME "WINCLASS1" // GLOBALS …

Member Avatar
Member Avatar
+0 forum 1

I tried adding such a link to my ASP.NET website by using a Javascript:windows.addFavorites etc.etc. command (or something similar), but it doesn't work. Does anyone know how to create such a link or button in ASP.NET so that if someone clicks this link, the Add Favorites windows will pop up automatically. Thanks, Mike

Member Avatar
+0 forum 0

I know that 3D games have the advantage of being able to transfer graphics processing onto the graphics card. Does anyone know if 2D graphics can also be handled by the graphics card (hardware rather than software)? How do 3D and 2D graphics compare in terms of processing power usage?

Member Avatar
Member Avatar
+0 forum 1

Hi, this is my first post on this forum. I am attempting to learn how to work with DirectX and make a game (Visual Studio 2005, C#). I found an extensive tutorial on DirectX games, but I can't find a necessary reference. Here is a link to the tutorial: [url]http://blogs.msdn.com/coding4fun/archive/2006/11/02/938703.aspx[/url] As instructed on the tutorial, I brought in a class called dxmutmisc.cs. Then I wrote the following into that class: using Microsoft.Samples.DirectX.UtilityToolkit; There were a number of errors, so I added the Microsoft.DirectX, Microsoft.DirectX.Direct3D, and Microsoft.DirectX.Direct3DX references. However, it still gives me the following error: The type or namespace named …

Member Avatar
Member Avatar
+0 forum 6

The End.