COM
|
|
 |

|
Hi!
I want to edit a exists interface,so I need get INTERFACEDATA from ITypeInfo for edit.But I don't know how to do it.
Can you help me?
Thanks.
|
|
|
|

|
Sorry, my English sucks, I hope I can express clearly.i want to add a bar to the windows explorer,after a long time searching,i'v made a bar using BandObjectsLib(a C# library) and added it in to the Explorer window.but i have to open it through "Menu-View-Explorer bar",and the bar also came out in IE :<.my question is how to make it opened automaticly when Windows Explorer is opend.Or any other way to do this,i want to add a big horizontal bar actually a region in the bottom (or somewhere else) of Windows Explorer,so i can put my code and usercontrols into it.i use C#,vs2012,windows 7.thank you!
|
|
|
|

|
Please do not post the same question in multiple forums.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|

|
To differentiate between various COM components and Interfaces, GUIDs have to be unique. They should not match other COM components.
Didn't understand your requirement of "final COM call is 'dynamic'"
|
|
|
|

|
Thanks,
Regarding the last bit, I have to call another third-party COM component. But as the third-party app might be replaced, if possible I'd like to be able to configure the name of the component and method called? (assuming the new and old method are similar in parameters etc)
|
|
|
|

|
There are two scenarios:
1. Replace the 3rd party COM component and consequently use a different COM Interface (with a different signature).
This scenario is independent of COM programming. I would use Adaptor design pattern for this problem.
2. Replace the 3rd party COM component but use same COM Interface (i.e. the Interface's GUID is same).
In this case there will be no change in your program. All you need to do is to unregister the old COM server and register the new COM server.
|
|
|
|

|
Using C++ I want to discover which interfaces can be obtained from calls to QueryInterface() off a given COM interface I didn't write in the first place.
This old and brief CodeProject article seemed to provide a solution:
How to find the name for interfaces implemented by a COM object[^]
But its code fails to find interfaces that I know to be supported for sure.
I have only superficial knowledge of COM and could use the advice of experts.
Thanks in advance.
modified 22 Oct '12 - 12:42.
|
|
|
|

|
I suppose there's no COM expert around right now
By the way:
*bump*
I still need help on this. Thanks.
|
|
|
|

|
I am trying to run a Simple CUDA program which queries the numbers of GPUs in the nodes using Open MPI v1.6.1 (64 bit) in Windows 7 Professional 64 bit Machines. When I run the application in root node, the correct GPU count is getting. But when the same application is tried to run in different nodes remotely using Open MPI, the GPU count is getting as 0, ie, it is showing as No CUDA capable GPU is present in the node.
The root and the nodes having Compute Capability 2.1 capable GPUs. I have built the code with CUDA 4.2. When a normal MPI application is running, it is working correctly.
Is there any special settings required for running a CUDA application in Windows 7 using Open MPI v1.6.1?
|
|
|
|
 |
|
|
General
News
Suggestion
Question
Bug
Answer
Joke
Rant
Admin