Where does MSXML IXMLDOMDocument::save save? I mean when it's called with a file name argument.
CComPtr< IXMLDOMDocument > doc;
p->get_doc( &doc );
doc->save( CComVariant( L"C:\\pathto\\mydoc.xml" ) );
Where will "C:\pathto\mydoc.xml" be?
Consider that the XMLDOMDocument is out of process, in this case located on a different physica...
I have zero experience with COM. I actually never thought, I'll need to do something with COM, thinking it's something that I luckily managed to avoid. Oh, well.
I need to create a wrapper for Web Services, which could be used from COM. I was hoping, that it's a solved problem, but failed to find an easy solution (for example: just gene...
Hi - I've got a PowerBuilder project that calls my .Net class library exposed to COM. I'm very new to PowerBuilder and just starting to pick it up. Id like to create some simple tests for my COM calls and I've looked for quite a while and can't find anything that is similar to the VS Diagnostics methods.
Does this functionality exist?
...
I have a 32 bit COM component that is used mostly by ASP, we also have the 64 bit version.
The 64 bit version is functionally identical and it also uses the same ProgID (and as far as I know the same CLSID's etc).
Can I install/regsvr the 64 bit version on the same machine as the 32 bit version (obviously in a different folder) and hav...
I have a managed (asp.net, actually) project that references a COM DLL. Right now, the reference in the .csproj looks like this:
<COMReference Include="thenameinquestion">
<Guid>{someguidhere}</Guid>
<VersionMajor>1</VersionMajor>
<VersionMinor>0</VersionMinor>
<Lcid>0</Lcid>
<WrapperTool>tlbimp</WrapperTool>
</COMReference>
...
I'm creating a Browser Helper Object using VS2008, C++. My class has been derived from IDispEventImpl among many others
class ATL_NO_VTABLE CHelloWorldBHO :
public CComObjectRootEx<CComSingleThreadModel>,
public CComCoClass<CHelloWorldBHO, &CLSID_HelloWorldBHO>,
public IObjectWithSiteImpl<CHelloWorldBHO>,
public IDispatc...
Hi
Generally we import a tlb file at the starting of the program like
#include < stdio.h >
#import " sql.tlb "
But i need to import a tlb file when certain condition meets in the middle of the program
how can i do this. to load dll there is LoadLibrary() but to load tlb can i use LoadLibrary().
Since tlb is generated by using .dl...
I have a COM object I imported in my test C# solution.
Everything works fine and continues to do so.
Then I imported the same COM object in my actual solution and as a test implemented the exact same lines as in the test project.
When I run the real project I get an InvalidCastException
Unable to cast COM object of type 'CTWebReport.We...
We had a bit of a problem where we have lost some source code for a very old ActiveX component we had. We've got a Delphi7 program that calls the Active X component. Thats a bit of a moster and can't be changed too much. However, some of the functionality in the Active X component needs to be updated. Since we've been moving our apps to ...
I have written an Office shared Add-in with C# and .NET 2.0. It uses the same COM Shim for all office apps. Currently, every instance creates its own instance of my class -- they have no knowledge of the fact that the add-in is running on another application.
Is it possible to make it so that, say, when the Word add-in launches it can ...
Hello everybody,
Anyone knows if there is any Delphi component or library that I could get all the classes, properties and types of an Com Object (something like a parser).
i want to programmatically enumerate classes, properties and types.
Bye.
...
Greets,
When working with DirectX, you get this nice header to #include called DxErr9.h which has really helpful functions like:
DXGetErrorString9
and
DXGetErrorDescription9
They tell you everything you need to know about the error given the HR.
But now working with COM and OLE, I find I'm kind of on my own with the HRESULTS th...
Possible Duplicate:
Create a C# DLL That Can Be Imported in a Delphi App Using stdcall - Possible?
I am creating a c# library and like to make this library as com component which can be accessed from delphi. Please tell the how to achieve this.
...
I have created a class in c# and made the com visible property is true. But, i could not see the its properties at visual basic 6.0. what could be a problem? please help me
...
I have DLL running in IE context and it crashed on UnLoad under ApplicationVerifier.
The error states that COM proxy was called from wrong context or in other words, COM object was accessed from a wrong apartment.
A COM Proxy was called
from the wrong context.
75a867c0 - Pointer to
IID of interface being called
on.
2 - ...
We use MapInfo MapX mapping engine in our ASP.NET application. After server (Windows Server 2003 SP2) reinstallation we encountered a strange problem - web app hangs when accessing ActiveX instance.
For example:
MapXLib.Map _mapXMap =
(MapXLib.Map)HttpContext.Current.Server.CreateObject("MapX.Map.5");
_mapXMap.MapUnit = MapXLib.M...
Heya,
I'm working on a toolbar for IE using .NET. Currently, I insert my .NET assemblies with gacutil, and register my COM assembly with regasm.
I want to create a setup (MSI) for the project, but I can't seem to register the types. I have everything in GAC folder of the setup project, but I can't find a way to essentially run regasm ...
Good afternoon,
I have been trying to load a OCX file into one of my VB6 projects for most of the day today. I've tried checking the COM registration in the registry the best that I know how, and have attempted several times using REGSVR32 on the file to no avail. All I keep getting from VB6 when I try to load the component (Under Pro...
Hi
I have a DLL in unmanaged C++ :
EditArticleManagerFactory.h:
class __declspec(dllexport) EditArticleManagerFactory : public NamedClassFactory<SCEditArticleManager>,
public SCBLEditArticle:ICOMEditArticleManagerFactory
{
public:
STDMETHODIMP CreateManager(BSTR bstrName, SCBLEditArticle::ICOMEditArticleManager** pEditArticleMan...
I have a COM inproc DLL that we are using in our product.
Now if someone finds out which interface and APIs we have exposed from the DLL then those APIs can be called easily.
Is there a way to stop unknown applications from calling my APIs?
Can we add some signature in COM?
...