Jump to content

  • Log In with Google      Sign In   
  • Create Account

FREE SOFTWARE GIVEAWAY

We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.


Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


MrSqweaky

Member Since 05 Feb 2012
Offline Last Active Feb 07 2012 02:49 PM

Posts I've Made

In Topic: C++ D3D9 window

06 February 2012 - 02:14 PM

The program stopped here in main.cpp


g_App.GetDevice()->CreateVertexBuffer(sizeof(aTriangle),D3DUSAGE_WRITEONLY,D3DFVF_CUSTOMVERTEX,D3DPOOL_MANAGED,&pTriangleVB,NULL);
g_App.GetDevice()->CreateVertexBuffer(sizeof(aQuad),D3DUSAGE_WRITEONLY,D3DFVF_CUSTOMVERTEX,D3DPOOL_MANAGED,&pQuadVB,NULL);

Can u try compile the code, my compiler having serious issues when it comes down to debugging(crashes)

In Topic: C++ D3D9 window

06 February 2012 - 11:19 AM

Hello Steve,

I have been busy with some pragma messages this is final result:

1>------ Rebuild All started: Project: twoking, Configuration: Debug Win32 ------
1>Deleting intermediate and output files for project 'twoking', configuration 'Debug|Win32'

1>Compiling...
1>capplication.cpp
1>-Public CApplication prototypes - CApp.h
1>-Public inline functions - CApp.h
1>-Declarations -CApp.h
1>-D3DVERTEX Structure
1>Loading Main.h
1>Loading CApplication::CApplication
1>Loading CApplication::~CApplication
1>Loading InitWindow()
1>Loading InitD3D()
1>Loading InitScene
1>Loading KillD3D
1>Loading LoadSettings
1>Loading SaveSettinfs
1>Loadin KillWindow()
1>main.cpp
1>-Public CApplication prototypes
1>-Public inline functions
1>-Declarations
1>-D3DVERTEX Structure
1>Loading Main.h
1>winproc.cpp
1>-Public CApplication prototypes
1>-Public inline functions
1>-Declarations
1>-D3DVERTEX Structure
1>Loading Main.h
1>Loading WinProc
1>Case ID_Start
1>Case ID_CANCEL
1>Case Escapekey
1>Case WM_DESTROY
1>Generating Code...
1>Linking...
1>LINK : C:\Users\Alx\Documents\Visual Studio 2008\Projects\twoking\Debug\twoking.exe not found or not built by the last incremental link; performing full link
1>Embedding manifest...
1>Build log was saved at "file://c:\Users\Alx\Documents\Visual Studio 2008\Projects\twoking\twoking\Debug\BuildLog.htm"
1>twoking - 0 error(s), 0 warning(s)
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========

In Topic: C++ D3D9 window

06 February 2012 - 10:31 AM

Can u please move it to Technical side -> DirectX and XNA, just realized that i posted in wrong section.

In Topic: C++ Linker error?

05 February 2012 - 04:35 PM

You don't seem to have a function definition for your CheckDeviceCaps() function.


The tutorial said we will be covering that on a later stage of our programming course.

What u saying is just add the function definition
CApplication::CheckDeviceCaps(void)
{
//Do Nothing.
}

Edit: Worked fine, tutorial actually didnt say u need to define that:)

PARTNERS