Hiya guys...

Ive got a bit of an odd one here. Im doing some LPD3DXMESH juggling and Ive hit a snag.
This is crudely what Im doing... (pseudo-code, not actual syntax)

LPD3DXMESH mesh0 = ent_getmesh(ent,0,0);
LPD3DXMESH mesh1 = D3DXCreateMesh(...);
ent_setmesh(ent,mesh1,0,0);
mesh0->Release();

All works fine, now here is the rub...

At home on my Win7 machine it works fine...
But here at work it crashes when it hits the Release() calls...
(Both computers are running 8.30.5 commercial, and both have Nvidia video cards)


Any ideas anyone?


Secondary to that issue... is 'Release" NECESSARY with gamestudio?
I will be running it quite often so these left-over meshes must
be cleared out during run-time, otherwise I will have problems...


Thankx muchly guys and gals...


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