|
|
|
getAttribute returns E_NOINTERFACE
Thu, 18 Oct 2007 02:19:20 -0700
I'm using the dreaded MSMXL (3.0 to be precise). Somehow, I've managed to
teach myself a boggling amount of COM in the last 24 hours or so, but I've
run into a stumper.
My app calls the get_documentElement method of IXMLDOMDocument, then calls
the getAttribute method of the resulting instance of IXMLDOMElement ...
|
EnumClassesOfCategories not finding class under standard user, stops trying
Fri, 31 Aug 2007 12:01:55 -0400
i'm calling ICatInformation::EnumClassesOfCategories and it works fine,
except on this one machine when it logs in as a standard user.
At first i assumed that the user must not have access to those specific
registry keys, but if i log in as that user, i can see the keys without
problems.
HKEY_LOCAL_MAC ...
|
Threads in MTA creating STA objects strangeness.
Fri, 31 Aug 2007 09:54:41 -0400
i have multiple threads running in the MTA (multithreaded apartment). Each
thread constructs a single WinHttpRequest object, which is a single STA
(single threaded apartment) object. The thread then repeatedly fetches
content and when finished frees the object.
The strangeness is that even though i have t ...
|
problem in porting 32 bit application in x64...
Tue, 28 Aug 2007 02:22:28 -0700
hi...
i m using an 32 bit allication to load a driver ...but when i m trying
this application in X64,its failing at
SetupDiCallClassInstaller(DIF_REGISTERDEVICE,
DeviceInfoSet,
&DeviceInfoData)
with error code e0000235()....i compiled the application in
xp(professional 64 bit addition),but its still giv ...
|
IDispatch and word CheckSpelling problem
Mon, 27 Aug 2007 22:46:45 -0400
Hi,
I'm trying to use CheckSpelling method and have some problems.
I use code below:
CLSID clsid;
CLSIDFromProgID(L"Word.Application", &clsid);
IUnknown* pUnk;
HRESULT hr = ::CoCreateInstance( clsid, NULL, CLSCTX_SERVER,
IID_IUnknown, (void**) &pUnk);
ID ...
|
How to retrieve object instance from a specific instance of server
Mon, 27 Aug 2007 14:45:02 -0300
Hi
I have two activex based services. Server1 and its client Server2 (which is
an activex server too).
Server2 creates an object instance which is in Server1. The fact is my boss
asked me to make those servers multi instance on the same machine, so that
it allows Two or mor instances of Server2 comunicating ...
|
calling COM from c program
Wed, 22 Aug 2007 23:49:50 -0400
Hi,
Is there a way to write interface to interact with com object from regular
win32 c application (no mfc no nothing)?
what would it take?
thanks
...
|
|
|
ie can create a COM object, but i cannot?
Mon, 20 Aug 2007 15:58:16 -0400
i've stolen the code from ra.microsoft.com, where Microsoft uses local
ActiveX+javascript to program remote assistance to connect back to
Microsoft, so they can assist you.
If you put the following in an HTML file and open it, it loads without
incident.
<HTML>
<HEAD>
<OBJECT ID=PCHealth CLASSID="clsid: ...
|
Problems using CComBSTR.
Sun, 19 Aug 2007 14:55:32 +0100
Hi,l I have a problem, where my debug builds are working, but in release
comfiguration, my appliction crashes when I create a CComBSTR object.
I don't need to do much to make it crash, the following code always fails
for me..
CoInitialize(NULL);
CComBSTR MyString( "Apples" );
Now I know the Coiniti ...
|
CoRegisterClassObject() in an NT service
Fri, 17 Aug 2007 20:00:08 -0400
The platform is 32bit XP PRO SP2. I wrote a simple NT
service that uses CoRegisterClassObject() in its main
thread. More or less the pseudo-code is the following:
main_thread()
{
CoInitialize();
CoRegisterClassObject(CLSCTX_INPROC_SERVER,REGCLS_MULTIPLEUSE);
CoCreateInstance(CLSCTX_INPROC_SERVER ...
|
|
|