void DrawBox(LPDIRECT3DDEVICE9 pDevice, int x, int y, int w, int h, D3DCOLOR Color)
{
struct Vertex {
float x,y,z,ht;
DWORD Color;
};
Vertex V[4];
V[0].Color = V[1].Color = V[2].Color = V[3].Color = Color;
V[0].z = V[1].z = V[2].z = V[3].z = 0.0f;
V[0].ht = V[1].ht = V[2].ht = V[3].ht = 0.0f;
V[0].x = V[1].x = (float)x;
V[0].y = V[2].y = (float)(y + h);
V[1].y = V[3].y = (float)y;
V[2].x = V[3].x = (float)(x + w);
pDevice->SetTexture(0, NULL);
pDevice->SetVertexShader(NULL);
pDevice->DrawPrimitiveUP(D3DPT_TRIANGLESTRIP,2,V,sizeof(Ve rtex));
}
void D3D9Menu::Boarders(LPDIRECT3DDEVICE9 pDevice)
{
DrawBox(pDevice,1,20,Mxofs+45,Mmax*Mysize+15,BackG round);
DrawBox(pDevice,1,1,Mxofs+45,15,BackGround);
DrawRectangle(pDevice,1,1,Mxofs+45,15,1,BoarderCol or);
DrawRectangle(pDevice,1,20,Mxofs+45,Mmax*Mysize+15 ,1,BoarderColor);
}
Error :
Fehler 2 fatal error LNK1120: 1 nicht aufgelöste externe Verweise. .\Release/D3D.dll
Fehler 1 error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""public: void __thiscall D3D9Menu:

rawBox(struct IDirect3DDevice9 *,int,int,int,int,unsigned long)" (?DrawBox@D3D9Menu@@QAEXPAUIDirect3DDevice9@@HHHHK @Z)" in Funktion ""public: void __thiscall D3D9Menu:

rawBorderedMenu(int,int,int,int,int,unsigned long,unsigned long,unsigned long,struct IDirect3DDevice9 *)" (?DrawBorderedMenu@D3D9Menu@@QAEXHHHHHKKKPAUIDirec t3DDevice9@@@Z)". d3dmenu.obj
some1 could help me? (and check if code correct/post correct code? )
plss^^