How do you get DirectX 7 for VB to give you access to the object behind that 'unknown' interface?
-
Is There a way to use the DirectX7 object provided by VB without creating a reference to the DirectX7 for VB Library in your project. I am a huge fan of COM Automation and scripting and I'd prefer not to reference ANYTHING in any of my VB projects. When I use CreateObject to get an instance of the DirectX7 class, I get an object of type 'unknown'. From what I know, the IUnknown interface isn't documented much and isn't really supported in VB! Help! Again!
-
Answer:
Let's resolve this overdue question by bringing it to a vote.
egblackknight at Yahoo! Answers Visit the source
Other answers
Let's resolve this overdue question by bringing it to a vote.
Roscoe01...
IUnknown is the generic Com interface for all Com objects. In genreal you do a QueryInterface on the object and get the interface you need. You can't do anything with the IUnknown interface. Unfotunally you will probably have to reference the DirectX7 Lib to get the needed interfaces, after all that is what it is there for. You may want to check out Managed DirectX in VB.NET
neo2600
IUnknown is the generic Com interface for all Com objects. In genreal you do a QueryInterface on the object and get the interface you need. You can't do anything with the IUnknown interface. Unfotunally you will probably have to reference the DirectX7 Lib to get the needed interfaces, after all that is what it is there for. You may want to check out Managed DirectX in VB.NET
neo2600
Related Q & A:
- How to give local access to Intranet site in Сhrome?Best solution by Super User
- How do I create a guest ftp user and give access to specific sub-folder with SSH?Best solution by Server Fault
- How can I get hands on nursing experience? My dad wouldnt give me any money for a CNA program?Best solution by Yahoo! Answers
- How do I get that 'give so and so a valentine' thing to come up on Facebook?Best solution by Yahoo! Answers
- How do I get rid of yahoo 7?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.