If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Access Violation to ntdll.dll

In here, pDataObj and AdjacencyBuffer have an valid address.
MaterialBuffer, pSkin and pLoadMesh contains 0x00000000
and NumMaterials is on the stack, having initialized to 0
Any ideas why I have access violation to ntdll.dll?
Thanks
Jack

How do you know that the address of pDataObj is valid? And in any case, the documentation for that function implies that what is needed is the address of an existing item and you then pass this address, not just a pointer.

Re: Access Violation to ntdll.dll

I think the interface has changed, it accepted a IDirectXFileData * as a parameter before.
But it is now changed to LPD3DXFileData, not sure the later inherits from the former.
D3DX is an extension to plain vanilla DirectX
Thanks
Jack

* The Perfect Platform for Game Developers: Android
Developing rich, high performance Android games from the ground up is a daunting task. Intel has provided Android developers with a number of tools that can be leveraged by Android game developers.

* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.