Base64Encode HGLOBAL from clipboard
Wed, 11 Jun 2008 21:08:20 -0700 (PDT)
I am trying to base64 encode some binary data stored on the
clipboard. The resulting string will be stored in an XML file. The
data is a PNG image, and the string I get from ATL::Base64Encode seems
to be very wrong. The data on the clipboard seems to be fine, and I
believe that I am retrieving it correctly, b ...
|
solution by Microsoft
Mon, 09 Jun 2008 23:56:36 -0700
Microsoft proposes the following solution to the problem:
1) change the server to a 'Service' that will run under SYSTEM account. For a ATL COM server project, no source code changes are required for this. The only change is that the server should be registered with the /Service command line argument.
2) gran ...
|
Changed size of array in definition of external interface
Fri, 6 Jun 2008 06:49:01 -0700
Hello,
I am using Microsoft Visual Studio 2005, Version 8.0.507.27.42.
In my C++ project for server I have defined external interface for COM with
the following two methods:
[id(7), helpstring ("method GetArray")]
HRESULT GetArray(
[out] unsigned int *pLen,
[out, length_is(*pLen)] BYTE ...
|
simple solution
Wed, 04 Jun 2008 20:00:31 -0700
We solved this problem with the following minimal changes:
1) register the server to run as a service using the /Service command line argument. By default the service process will run under the SYSTEM account that is unaffected by UAC.
2) grant the access permission to the INTERACTIVE group using dcomcnfg.exe. ...
|
how to pass pDisp
Wed, 4 Jun 2008 16:12:01 -0700
Hello,
I added a reference to a com object (activeX) in C# application,
that allows me to access methods of an application running in internet
explorer.
But when reading out information, I need to wait until the application has
finished it's current instruction.
The class has the following method:
void ...
|
Com Error
Wed, 4 Jun 2008 14:05:44 -0700
I built Microsoft's example c++ program for accessing the fsrm data which I
found at:
http://msdn.microsoft.com/en-us/library/bb870619(VS.85).aspx
When I try to run the program I get this error:
CoCreateInstance(FsrmQuotaManager) failed, 0x80040154
I'm not very familiar with Com so I wonder i ...
|
Internet Explorer 7 BUG [???]
Wed, 4 Jun 2008 00:26:05 -0700
Hi,
I am using Internet explorer version 7.0.5730.13, I have implemented
COM object that periodically calls an asynchronous JScript callback
method, having this running for ~40min result an access violation exception,
an exception that is not directly related ( or not related at all ) to the
COM object use ...
|
|
|
Error: Automation type not supported in Visual Basic
Tue, 3 Jun 2008 12:14:02 -0700
I have the following typedef in an IDL file with a VC++ 2008 program:
typedef [public] IDispatch* MyDispatch;
typedef [public] IDispatch MyDispatch2;
When I declare a variable such as the following in Excel 2007 VBA, I get the
error "Automation type not supported in Visual Basic":
Dim X as MyTypeLib.MyDi ...
|
Re: How to embed OLE ActiveX Control from a dropped file in MS WOR
Sun, 1 Jun 2008 13:09:00 -0700
Hi Mento,
Thanks for your answer, I am exactly facing the same problem. I could able
to get the name of the dropped file in the function OnOpenDocument, but I am
unable to save that filename to enable me to draw in COleServerItem::OnDraw
method. Could you tell me how you could retain the file name you got ...
|
com programming help
Fri, 30 May 2008 06:21:00 -0700
hi...
i am new to the COM technology.
i know how to interface with com n basics...now i need to develop an
application that
it has to detect the keyboard as device n what ever i have given i/p from
keyboard it has to be appear in hyperteminal ..we have known that we can use
hypertemnal to access the com p ...
|