Omgili - forum search, search forums  
  

Discussions about vc com object

Displaying 1 - 10 out of 653 discussions.  
Time Frame: (Any time)   Minimum number of replies: (2)   Minimum number of discussing users: (0)
  |  

Page: 1   2   3   4   5   6   7   8   9   10  
Keep this page open to be updated with the newest discussions automatically.
I have an MFC wrapper over a COM object. There is a function that takes a large number of options, which are mostly optional. How do I pass some arguments but not others? For what it's worth, the optional arguments are listed as VARIANT*. Below is the...
Started by on , 3 posts by 3 people.  
To skip an optional parameter in a COM method.
Written the CDocuments and CApplication wrappers around the COM interfaces, so you could specify the optional parameters as having default value of vtEmpty.
Hi How to return List from c# method and Use the List return values in c++ can u give guidance how to do it?? I going like following way my complete scenario: in c# DemoLib.cs usng System;using System.Collections.Generic; public interface IDiscover { ...
Started by on , 4 posts by 4 people.  
The object type of c# C# exported as COM public void GetList(ref object list) { String[] dummyWhen you import a tlb in VC++ and compile it, an intermediate file is generated with extension .tlh;, therefore, it won't get translated....
I have a dynamic link library written in VC++6. I wrote some code with VC++2005 which calls the native VC++6 library. Whenever I pass std::string to the native library, the result is always garbage. However, this does not happen if I pass other types ...
Started by on , 4 posts by 4 people.  
Writing a COM server in ATL is probably a better choice to provide an object....
A C++/CLI wrapper may be needed if p-invoke alone can not handle the interop .
You can write a wrapper DLL with a C interface .
Types), or COM objects.
Ask your Facebook Friends
Hi, Can somebody please explain how the memory allocation/de-allocation occurs when we passing values between COM object and VB. My Concerns are: 1. IMyInterface::Method1 ([in] BSTR* pVal, [in] SAFEARRAY(BSTR)* pArray); do we need to free the allocated...
Started by on , 4 posts by 4 people.  
The is no in-only....
Also note that BSTR.
For BSTR in C/C++ COM you would use SysAllocString and SysFreeString (on a VC) class that has params declared as out-only or any other IDL supported way.
Is then responsible for freeing the memory.
What is the difference between the two lines of code below: CComPtr< IInterface > m_interface; IInterface* m_interface; I know that CComPtr help eliminate memory leaks, but I am getting inconsistent results. When declaring the pointer with CComPtr...
Started by on , 4 posts by 4 people.  
When the last reference to an object has been Release() ed, the COM object destroys itselfCComPtr<....
Instance->Release(); instance = 0; Each COM object implements reference counting.
Release the object...
I'm trying to send a COM object over a MSMQ message in C++. This is my object : class ATL_NO_VTABLE CAnalisis : public CComObjectRootEx, public CComCoClass, public ISupportErrorInfo, public IDispatchImpl, public IPersistStreamInit { private: typedef struct...
Started by on , 6 posts by 6 people.  
The COM layer code that unpacked it on the far to get the current....
Was not compiled for unicode, but rather as an ANSI project .
The length came through OK.
To a VC++ app.
To pass a VB string under VB6 and VC++6(pro) from a VB app.
I want to add a VC++ DLL reference into my C# Visual Studio project. But when I try to add it I see, "It is not a valid assembly or COM component". Please suggest how I can use the VC++ DLL as a reference in a C# project.
Started by on , 5 posts by 5 people.  
You can use the COM object like a C# object (for the most part written....
COM Interop involves creating a COM object in your C++ DLL, and then adding it as a reference.
From C#: either COM interop, or P/Invoke.
I am a vc++ developer but I spend most of my time learning c++.What are all the things I should know as a vc developer.
Started by on , 8 posts by 8 people.  
Here's a link on vc....
There are several other with learning the VC Debugger - spend as much time as you can with it - it can be your best friend.
You could learn ATL + COM if you are into developing COM Components.
Development.
HI I have a application developed in VC++6.0 ,now I want use some new features from .NET and developed a library, to develop this library I have to use the CLR-VC++ now I packaged this in a DLL.Now I need to call the routine of this DLL in my MFC application...
Started by on , 3 posts by 3 people.  
I have a native C++ application which uses a managed C++ assembly^ ResolveHandler(Object^ ....
Then use it like any other COM type.
Use ClrCreateManagedInstance to create a COM-Callable-Wrapper for the object you want to call.
Hi i have got a ScreenCameraSDK and it comes with a 11kb dll file, it has a documentation too which lists the functions which can be used. It says ScreenCamera SDK ActiveX Reference Documentation ActiveX Reference The ActiveX ID on the system is: ScreenCameraSDK...
Started by on , 3 posts by 3 people.  
First of all you have to do this is #import the dll, and the compiler will automatically generate all required definitions from... .
If you want to create wrapper class you could read to this article .
Use this manual to add ActiveX control in your project .
Page: 1   2   3   4   5   6   7   8   9   10  
More Information


Forum Search About Omgili Help Plugins Forum/Board Owners Privacy

i
In Title
In Topic
In Reply
Exclude
Boost