Exclamation[ERROR!!][Hans211 Base] Mistake on having put the code pDevice

Posts 1–6 of 6 · Page 1 of 1
[ERROR!!][Hans211 Base] Mistake on having put the code pDevice
Hello, I am s0n1k =), this way this serves also as my presentation xP

Good so it, the D3D me is OK as for " 4bytes, 2bytes, float ... ", but on having put codes D3D, since wireframe it gives me mistake.

Code wireframe

If (CH_wireframe)
{
PDevice -> SetRenderState (D3DRS_FILLMODE, D3DFILL_WIREFRAME);
}

Mistake:

Code:
 Mistake C2065: 'pDevice': not declared identifier
And

Code:
 Mistake C2227: operating left-handed of '-> SetRenderState ' it must indicate to the type class/struct/union/generic

Thank you in advance =)
If you are using this in DIP like you should be there shouldn't be a problem. Unless your LPDIRECT3DDEVICE9 is not named pDevice in your DIP.
That I put this way?

Code:
void ********(LPDIRECT3DDEVICE9 pDevice)
{
if (CH_stamina)
{
pDevice -> SetRenderState (D3DRS_FILLMODE, D3DFILL_WIREFRAME);
}
No, it belongs in DIP.
Why so many *s ?

Wtf lol
Also...

void ********(LPDIRECT3DDEVICE9 pDevice)
{
if (CH_stamina)
{
pDevice -> SetRenderState (D3DRS_FILLMODE, D3DFILL_WIREFRAME);
}

O.O
Posts 1–6 of 6 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us