Search Forums
-
[quote user="zzzzyu"]try do it IDirect3DDevice9** d3ddevTmp[/quote]
use pointer pointer, compile no error, but it appears one message as below when it is running.
An unhandled exception of type 'System.AccessViolationException' occurred in Operationview.dll
-
That is my partial source code:
public ref class PreviewView : public System::Windows::Forms::UserControl
{
LPDIRECT3DDEVICE9 d3ddev;
private: void initD3D(HWND hHandle)
{
d3d = Direct3DCreate9(D3D_SDK_VERSION); // create the Direct3D interface
ZeroMemory(pd3dpp, sizeof(*pd3dpp)); // clear out the struct ...
-
It depends on how your "customized user control" is implemented. However, it comes down to using the windows handle (HWND) and passing that to your DirectX device.
If you're using MFC, everything derives from CWnd. You'll want to use CWnd::m_hWnd.
If you're using Windows Forms with C++/CLI, everything will derive ...
-
My CLR project have many Split Containers, one Container has a customed user control.
I want to Render a cylinder with DirectX9 on the user control.
Could somebody tell how to get windows handle of user control or render with DirectX?
-
But gameTime.ElapsedGameTime is read-only.
-
My project is WinForms+XNA. So I want to calculate the GameTime by myself.
But I use the Add fucntion to do that. It still does not work.
Could somebody tell me how to calculate the GameTime and add TimeSpan to GameTime?
TimeSpan t1 = new TimeSpan(0, 0, 0, 0, (int)TimeDelta);
Microsoft.Xna.Framework.GameTime gameTime = new ...
-
Game Graphics Programming's page 411 talks about the light mapping and its calculation.
-
It is so sad. I live in Taiwan. So I only can purchase Xbox LIVE Indie Game at the web of Xbox LIVE Marketplace.
-
[quote user="Jim Perry"]Both.[/quote]
But I cannot see the Indie Game on Xbox360. Must I join the Creators Club Premium Membership? Where are the Indie Games on the Xbox360?
-
Where can I buy the Indie Games? Must be at http://www.xbox.com/en-US/games/community/default.htm ? Or on the Xbox360?