I am developing a 32 bit application on a Windows 7 64 bit system. The following code on Visual Studio 2010 fails with an E_NOINTERFACE error on the call to get the IBurnVerification interface. My understanding is that Windows 7 should have everything needed to use the IMAPI2 interfaces. After looking around for possible solutions, I started thinking that maybe something wasn't registered properly. I browsed my registry to see if the GUID for the IBurnVerification interface (D2FFD834-958B-426d-8470-2A13879C6A91) existed and found that it did not (looking in HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\Interface).
I then found the IMAPI2.dll in the Windows\SysWOW64 and reregistered it. The key for the IBurnVerification interface was now added to the registry and the following code was able to get the IBurnVerification interface. I have looked on several different Windows 7 64 systems that we have here and found the key missing from the registry in all cases. We can go ahead and force a reregistration of this DLL within our software but I was wondering if this is an oversight in Windows 7?
HRESULT fHRESULT; IDiscFormat2Data *fDiscFormat2Data; fHRESULT = CoCreateInstance( CLSID_MsftDiscFormat2Data, NULL, CLSCTX_INPROC_SERVER, IID_IDiscFormat2Data, (void**)&fDiscFormat2Data); IBurnVerification* burnVerifier = NULL; fHRESULT = fDiscFormat2Data->QueryInterface( IID_IBurnVerification, (void**)&burnVerifier);
- Moved by Jesse JiangMicrosoft community contributor Thursday, March 10, 2011 6:41 AM (From:Visual C++ General)
Try the IMAPI forum at http://social.msdn.microsoft.com/Forums/en-US/windowsopticalplatform/threads
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
Visual C++ MVP
I think your issue should be raised in the Optical Platform Discussion forum. I believe they will know more information of this issue than us, and I will move this one to that forum.
Thanks for your understanding,
Jesse Jiang [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.