Click here to Skip to main content
15,886,740 members
Home / Discussions / COM
   

COM

 
Questionusing com dll without registering it Pin
Ash_VCPP20-Jul-09 3:06
Ash_VCPP20-Jul-09 3:06 
AnswerRe: using com dll without registering it Pin
«_Superman_»20-Jul-09 19:56
professional«_Superman_»20-Jul-09 19:56 
GeneralRe: using com dll without registering it Pin
Md. Marufuzzaman25-Jul-09 18:52
professionalMd. Marufuzzaman25-Jul-09 18:52 
QuestionHow to Start Scanner and Camera wizard to import pictures by code? Pin
linova20-Jul-09 2:30
linova20-Jul-09 2:30 
QuestionObject doesn't support this property or method Pin
peace_smyle16-Jul-09 4:01
peace_smyle16-Jul-09 4:01 
AnswerRe: Object doesn't support this property or method Pin
Hristo-Bojilov16-Jul-09 9:12
Hristo-Bojilov16-Jul-09 9:12 
GeneralRe: Object doesn't support this property or method Pin
peace_smyle16-Jul-09 19:11
peace_smyle16-Jul-09 19:11 
QuestionID3DX10Mesh and ID3DXMesh Guids EXACTLY the same [modified] Pin
Klempie16-Jul-09 2:28
Klempie16-Jul-09 2:28 
I'm doing C# interop with Direct3D (I know about SlimDX and XNA so let's not get into the merits of this) and I'm calling D3DX10CreateMesh passing it my ID3DX10Mesh interface. I'm getting an error saying "No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE))". The D3DX10CreateMesh call comes while I am trying to create a 10 mesh to copy a 9 mesh into (after successfully loading an x file). I've looked at my C# definition of the ID3DX10Mesh and it follows the same structure as every other working interface I've defined.

But then I noticed something. The Guids for the 9 and 10 meshes are *exactly* the same (4020E5C2-1403-4929-883F-E2E849FAC195). I've double checked the d3dx9mesh and d3dx10mesh headers and this is the case. The 9 mesh interface works but the 10 doesn't (This maybe be instantiation-order dependent) I personally don't understand this as it would imply that even in C/C++ apps you couldn't use the two meshes together but we know that you can. I've seen it done in NVUT SDK. I can only think that the Runtime Callable Wrapper is getting confused byt the Guids?

Why would the mesh guids be the same (seems ridiculous to me) and how are C/C++ apps able to avoid the conflict?

PS. I've posted this in the COM forum because the problem is COM not Direct3D.

modified on Thursday, July 16, 2009 9:56 AM

AnswerRe: ID3DX10Mesh and ID3DXMesh Guids EXACTLY the same Pin
Randor 16-Jul-09 10:44
professional Randor 16-Jul-09 10:44 
GeneralRe: ID3DX10Mesh and ID3DXMesh Guids EXACTLY the same Pin
Klempie16-Jul-09 11:08
Klempie16-Jul-09 11:08 
GeneralRe: ID3DX10Mesh and ID3DXMesh Guids EXACTLY the same Pin
Baltoro16-Jul-09 15:03
Baltoro16-Jul-09 15:03 
GeneralRe: ID3DX10Mesh and ID3DXMesh Guids EXACTLY the same Pin
Klempie16-Jul-09 22:55
Klempie16-Jul-09 22:55 
QuestionLow Level Drive Hooks Pin
saif_saifi14-Jul-09 20:18
professionalsaif_saifi14-Jul-09 20:18 
AnswerRe: Low Level Drive Hooks Pin
Randor 15-Jul-09 13:00
professional Randor 15-Jul-09 13:00 
AnswerRe: Low Level Drive Hooks Pin
BrownCodeProject25-Jul-09 21:13
BrownCodeProject25-Jul-09 21:13 
QuestionQuestions on out-of-proc COM server Pin
WayneS13-Jul-09 3:12
WayneS13-Jul-09 3:12 
AnswerRe: Questions on out-of-proc COM server Pin
Rod_22-Jul-09 0:25
Rod_22-Jul-09 0:25 
QuestionDll Registration Problem Pin
Member 428319513-Jul-09 0:56
Member 428319513-Jul-09 0:56 
AnswerRe: Dll Registration Problem Pin
«_Superman_»13-Jul-09 3:38
professional«_Superman_»13-Jul-09 3:38 
GeneralRe: Dll Registration Problem Pin
Member 428319513-Jul-09 19:57
Member 428319513-Jul-09 19:57 
AnswerRe: Dll Registration Problem Pin
Md. Marufuzzaman24-Jul-09 23:12
professionalMd. Marufuzzaman24-Jul-09 23:12 
QuestionHook the drag and drop functionality of windows..... Pin
FSam12-Jul-09 21:11
FSam12-Jul-09 21:11 
AnswerRe: Hook the drag and drop functionality of windows..... Pin
FSam13-Jul-09 20:22
FSam13-Jul-09 20:22 
QuestionHow to raise Performance of COM Server of external API ? Pin
gehbitte12-Jul-09 3:17
gehbitte12-Jul-09 3:17 
AnswerRe: How to raise Performance of COM Server of external API ? Pin
Baltoro12-Jul-09 10:58
Baltoro12-Jul-09 10:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.