FindConnectionPoints returns invalid access to memory location
Fri, 16 Nov 2007 09:33:01 -0800
I have LOCAL_SERVER and a test client. When I run the
client under the debugger and run the LOCAL_SERVER I see that
h = IConnectionPoint* p->FindConnectionPoints(IID, &pp)
returns h = 0x800703e6 "Invalid access to memory location"
and a NULL pp.
When I run the LOCAL_SERVER under the debugger and run the
clie ...
|
CoInitialize/CoUninitialize
Thu, 15 Nov 2007 12:13:01 -0800
Hi...
Never being too clear on the details under the covers, I've always been told
that you only needed to call CoInitialize() once per process lifetime...
I'm at a new place and was dumped in the legacy ISAPI code; they
CoInitialize/CoUninitialize in every function call. The general rule of
thumb is
C ...
|
Starting COM server under a fixed account
Thu, 15 Nov 2007 04:19:49 -0800 (PST)
I have the following case:
-Program A is a COM server, procgram B wants to use objects provided
by program A.
-I start A and then I start B. B creates a COM object, which is served
by A. The 'A' program is not started again, but COM uses the instance
(process) of 'A' that was already running.
-Now I start A ...
|
Need help with compile error LNK2019
Wed, 14 Nov 2007 14:05:00 -0800
I have a C++ COM component built using only win32 lib. I added a couple of
files from MMC help sample files to my projects and now I'm getting these
link error when I compile. Can someone tell me how to correct this? Thank
you.
Error 36 fatal error LNK1120: 3 unresolved externals .\Debug/extProp.dll
Err ...
|
Enumerating classes in all categories causes install programs to run
Wed, 14 Nov 2007 13:07:43 -0500
Can anyone explain why install programs start to run when I enumerate all
the classes in all categories?
(I've attached my page of code that demonstrates the behavior.)
Thanks a lot.
David Liebtag
LPCATINFORMATION ICatInformation = 0 ;
CLSID CatInfoClsID = CLSID_StdComponentCategoriesMgr ...
|
IID_IDropTarget
Wed, 14 Nov 2007 09:40:42 -0800
Hi all,
I download a very simple source code for an OLE application, but when
I compile and link it on Windows Vista I get an error about an
undefined symbol "IID_IDropTarget". The only library I use when
linking is ole32.dll.
Is there a library I am still missing?
Thanks,
Giuseppe
...
|
Application Event Log security issue on Windows 2003
Wed, 14 Nov 2007 07:31:04 -0800
Hi,
Does anyone know how to get this to work?
Application Event Log does not work with (C++ COM) components that I call
from ASP pages on Windows 2003 (security issue), or on XP Professional.
The two following tricks are not helping either (published on the Internet).
1.Manually pre-creating the event so ...
|
|
|
Ole Calculator
Tue, 13 Nov 2007 10:25:34 -0700
XP
I always thought the Microsoft Calculator would have an OLE capability, but
as I need it now, I cannot find it! Is there a decent OLE calculator I can
use to embed into my application?
Jason Lipman
...
|
OLE 1 to OLE 2
Tue, 13 Nov 2007 01:23:18 -0800
Hi to all,
I have a set of xxxxxxxx.ole files extracted from an old Lotus Notes
db.
I need to convert them into ole 2 format: I am following instructions
here http://msdn2.microsoft.com/en-us/library/aa380055.aspx
but I don't know hot to complete task 3. "Read from the file, using
the OLE 1 procedure for readi ...
|
WinWord.exe can not exit after automation in VB.
Tue, 13 Nov 2007 16:22:19 +0800
WinWord.exe can not exit after automation in VB. Here is the step:
1. Execute the following code in VB:
Private Sub Command1_Click()
Dim wrdapp As Word.Application
Set wrdapp = CreateObject("Word.Application")
wrdapp.Visible = True
Set wrdapp = Nothing
End Sub
2. ...
|