You shouldnt get that if my original declaration for it is still
included before my ent_merge function.

Put this following above my function and it should be fine.
Click to reveal..
Code:
HRESULT WINAPI D3DXConcatenateMeshes
(	LPD3DXMESH		*ppMeshes,
	UINT				NumMeshes, 
	DWORD				Options, 
	void*				junk1,
	void*				junk2,
	CONST D3DVERTEXELEMENT9	*pDecl, 
	LPDIRECT3DDEVICE9			pD3DDevice, 
	LPD3DXMESH		*ppMeshOut
);


And also remember to have the "#include <d3d9.h>" at the top of you main script.


Otherwise post the whole of your script and we will see what we can see...


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial