If anybody has a similar story, please post details below!
I'm building an ASP.NET website which needs to support authentication against LDAP.
On windows, LDAP auth can be performed via Active Directory (I'm no expert, but AD seems to simply be a particular flavor of ldap). I don't control the AD and/or LDAP servers.
I've tried vario...
I have a normal windows forms program (Not VSTO) which deploys using click once. The issue is that loads of user are having problems with random errors generally stating (from the IClassFactory failed due to the following error: 80004005).
Im deploying Redemption by changing the mode to "Isolated" which appears to work for some users bu...
While running unit tests, I'm getting the MDA shown below.
In the error message, what is the hexadecimal value refered to as a 'COM context'?
Can I determine this value for a given STA thread? If so, how?
Managed Debugging Assistant
'ContextSwitchDeadlock' has detected a
problem in 'C:\Program Files\Microsoft
Visual Studio
...
I recently developed an interop user control in .NET (Visual Studio 2008, project targetting .NET 2.0) to be used in a VB6 application. The assembly exposes 1 control, 1 class, and a few enums and structs. I developed it using C# translations of the Interop Forms Toolkit 2.0 project template found here. The assembly has a strong name and...
I have a web application that uses an ActiveX COM component, for example:
<OBJECT id="SomeObject" style="VISIBILITY: hidden" etc...
classid="clsid:0A6AD658-F144-4412-AB94-9C8F298973E1"></OBJECT>
I've produced the ActiveX control myself, and I want to be able to determine in JavaScript the version of the control that is installed a...
Hi
Can any one tell me how to use the WinDbg .
I am created an Application it is works fine in one machine.when i try to run on another machine it fails how can i debug it using windbg.
...
Hello!
I'm having a little problem with Photoshop CS4 automation. When I want to add a reference to the COM API in my Visual Studio 2008 project, the Adobe Photoshop Object Library doesn't show up in the "Add References" panel under the "COM" tab. However, the Illustrator CS4 Type library show up just fine. Photoshop itself run perfectl...
I have an ATL/COM project, in VC++ 6. I want an existing class, that has never before been defined to raise events, to raise events. To do this, the class will have to implement a "connection point".
These events are of a type that no class has ever raised before, so I will have to create a new connection point, rather than reuse an...
After an interop call, I get back a COM object.
I know this object will be one of three possible COM classes (Class1, Class2, Class3), but do not know which one in runtime.
The reflection upon that object (interopObject.GetType()) returns the base RCW wrapper of System.__ComObject.
What I need is to set some properties on the object - ...
Given a managed COM object and an associated tlb file, I would like to access it from some unmanaged C++ code WITHOUT using the TLB/import command. But use a header file.
Is there a way to extract a header file from a TLB?
Thanks
...
I have created a COM componenet named as Test.dll in that i have created an interface IDiscover.
Now i came to 2 ways of allocating the memory as
IDiscoverPtr id(__uuid(TestClass)); and Test::IDiscover *id=NULL;
What is the differnce between these two....Any Information is appreciated..
Thanks in Advance
...
Hi what's wrong with my code I am trying to register the class in registry in the following way but while I am debugging it shows that class is not registered and application crashes.
What is wrong in this code please Help me.
Test::IDiscover *pICalc = NULL;
HRESULT hRes=CoCreateInstance(Test::CLSID_SqlClass, NULL,
CLSCTX_INPROC_SER...
Hi
Can any body tell me what is diff between regsvr32 and RegAsm and My Dll is C# dll so how can i import the classes to c++.
...
I'm currently working on a game and relaly want to add an external console to it (right now it's built into the main game window).
What I would really like is to create a new Window which acts as the console with maybe a text box in the bottom to add new commands into it and a larger text box on top which outputs information.
I'm using...
*****BLOCK_1****
if( strcmpi(appName.c_str(),MSSQL)==0 ||strcmpi(appName.c_str(),MSSQL2005)==0 )
{
if (FAILED(CoCreateInstance (CLSID_SQLDMOServer, NULL, CLSCTX_INPROC_SERVER,
IID_ISQLDMOServer, (LPVOID*)&m_pSQLServer))) {
DMOAvailable=false;
IDiscoverPtr pICalc;
HRESULT hRes=CoCreateInstance(Test::CLSID_SqlClass, NU...
Is there a way to compile a VB6 component into 64 bits?
My feeling is that the answer is "no", but I would like to confirm this.
Please, if you can, paste a link to an authorative source that would confirm.
...
I'm writing a COM add-in for Word, Excel and PowerPoint. This add-in has some user-configurable settings (about a page full of them actually... or perhaps even more than a single page). What is the standard way of presenting these to the user? Through a custom page under Tools->Options? (how?) Under a custom button on a custom toolbar? A...
The closest thing I've found is using Activator.CreateInstance, but you can't pass it a server name/account information.
What I would like to do is programmatically create a COM object on a different computer. (I know I can create it on a different computer by manipulating the component properties in the control panel, but I want to sta...
We have a COM api (Windows DLL file) that other systems want to access using SOAP. What would be the best choice for SOAP-enabling this?
Interesting parameters are:
License costs
Ease of setup and maintenance
Ease of configuration/development if needed
Compatibility
Security, security updates etc.
All suggestions are welcome, please...
I have a out of proc COM server (ATL based) and a Java app that instantiates objects from this COM server on the same machine.
What more is needed to DCOM enable it? Is work needed on the COM server only or server and client?
...