Unresolved external symbol referenced in function
<p>I realise this is a hard one to answer without providing you with huge amounts of code (which I'll try to spare you).</p>

<p>Essentially i'm getting this error in class X, which #includes the class Y header. The class Y header has three definitions for getters</p>

<pre><code>// Getters
static ID3D10Device* PDevice();
static ID3D10Buffer* PBuffer();
static ID3D10Buffer* IBuffer();
</code></pre>

<p>I get three identical errors, all occur in class X. so essentially the error is: Unresolved external symbol ID3D10Device* PDevice() referenced in function (constructor of class X)</p>

<p>sorry if that's a bit vague. Any idea why this might be happening? I've googled it but I can only really make an educated guess as to what this error is. </p>
