regfreecom

Registration Free COM - Manifest issues

I'm trying to use the registration free com method to "register" a DLL created with C#. The Visual Studio project type used was a class library. [ComVisible(true)] public class Report { public Report() { } public string display() { return "This is my report."; } } is what the current DLL has to offer (trying t...

RegFree DLL with CPython using win32com module

Hi, I am currently using the win32com module of CPython to use a DLL. I know some people using IronPython to automagically get the list of functions provided by this DLL. They don't need to register the DLL. I'd like to do the same as them but with CPython. 1) Is it possible to use CPython and win32com to connect to a dll reg-free. Ho...

Can ASP Classic use registration free components?

Like the topic says, can ASP Classic use registration free components? This is on Windows Server 2003. If so, how do I go about doing that? If not, could anyone please provide some alternatives? ...

multi-platform regisration-free COM with .NET app

I have a .NET application that uses a COM component. The application itself is "Any CPU", but the COM component has a 32-bit and 64-bit version. The article http://msdn.microsoft.com/en-us/magazine/cc188708.aspx is clear on what to do for registration-free COM. But what should one do for: "Any CPU" app dependent Assembly : Assembly1...

Isolated (Reg Free) COM component behavior

Hi, I have a rather awkward situation. I have one small COM exposed component (let's call it SmallCOM) which is a (Delphi) win32 dll, which I use from a managed C# assembly (through COM). I have one big COM exposed component (let's call it BigCOM) which is a (Delphi) win32 dll, and which I use from the same managed c# assembly (throug...

Registration-Free .net libraries with legacy VB6 applications

I've been searching for hours for resources on how to successfully use registration free Com interop. I've found some resources on using old COM libraries in .net applications, but allmost nothing on using new .NET libraries in COM applications (more spcecific: VB6 applications) Basically my search gave two useful resources: http://msdn...

Does .net calling COM which in turn calls other .net COM object works when using SxS and manifest files are used

I have a .net application calling to a COM component (C++) which in turn calls to another COM object implemented in .NET. This application is using Windows SxS capabilities and does not register any of it's COM components. Not the one written in C++, and not the one written in .net. This first call to the C++ COM component works fine. ...

Why is it not possible to call RegFree COM and .NET from the VB IDE (VB6 & VBA)?

Hi I have an example project with works when called from compiled VB6 but not from the IDE or from Excel's VBE. There are 3 DLLs QA.DLL, QB.DLL, QAW.DLL. QA is written in C#.NET, QB and QAW are written in VB6. QAW is a COM wrapper of QA. In the calling code I create an Activation Context and load a manifest file. All works fine from...

How to avoid manual editing of manifest file

My VB.Net application uses isolated activeX (outer), that depends on another activeX (inner), both are using registration-free-com. The generated manifest file contains only the information for the outer activeX. (probably because vs cannot know that the outer activeX is using inner activeX ) When I re-build my project, I always need t...

How to use Mozilla ActiveX Control without registry

I've been using the IE Browser component that is part of Windows. But I'm running into problems with security settings. For example, users get security warnings on pages with Javascript. So I'm looking at using the Mozilla ActiveX control instead. It's especially nice because it has a compatible interface. It works well if I let it inst...

Events not sent to WPF based ActiveX control (COM interop) when using Reg-Free-COM

I have a WPF based ActiveX control (COM interop). I am able to use it correctly by registering the control. When I tried to Reg-Free-COM (using manifest files) the control seems to be activated, but the events (such as mouse click, RequestBringIntoView etc) dont respond. Interestingly, Double click and tab key works. I read in the this ...

Activate a (COM Interop based) ActiveX contol using registration free com

I have a (COM Interop based) ActiveX contol that I am trying to use with registration free com. When the control loads the control is inactive (does not responds to events, control not fully rendered etc). After much search I discovered that COM objects using reg-free-com use the miscStatus attribute to set the initial state to get corr...

Probing .NET Assembly with Registration Free COM/.NET Interop

We have one assembly that is used by the VB6 executable via COM Interop. This assembly uses other .NET assembly (not available for COM). We have defined a .manifest for our VB6 application, so that we can use the .NET assembly without registration. We also defined a .config for our VB6 application, with probing settings, to look in subdi...

Is registration-free activation possible for EXE (out-of-process) COM servers?

I know that we can use CoLoadLibrary and DllGetClassObject to get the IClassFactory interface and get the COM component interface without registering the DLL. But what about a COM component in an EXE? Is there a way that I can get a COM component interface from an EXE-type COM server by just providing a different file path? ...

Registration free COM: VB6 Executable referencing VB6 DLL

So, I've got a single VB6 executable that references multiple VB6 COM DLLs. Is it possible for me to generate, on-the-fly, a manifest for the executable as well as a manifest for each of the referenced DLLs? If so, then how? I would like to perform this operation as part of our build process without having to register the COM DLLs a...

Setting up references to registration-free (isolated) COM DLLs in VC++

I have two VC++ projects: ProjectB which depends on ProjectA. I would like ProjectB to access ProjectA through ProjectA's COM interface only. I added a reference in ProjectB's "Framework and References" property dialog which creates an Interop DLL. How do I set up this reference to be in isolation mode? Do I need to make any modificatio...

Isolation mode (registration free) COM setting in VC++ 2008

How do I create a reference to an isolation mode (registration free) COM DLL in a VC++ 2008 project? In a C# project it is as easy as toggling an Isolated property on a reference. How do I do the equivalent in a VC++ project? ...

Can you use a manifest file to tell a VB6 app .EXE to access certain versions of OCXs?

I have a VB6 app .EXE which uses Microsoft-created OCXs such as RICHTX32.OCX and MSACAL70.OCX. I experience problems with both these OCXs. Essentially this is a DLL-Hell problem. If I use a .manifest file for the .EXE, can I instruct the .EXE to access specific copies of these OCXs in the application directory, thereby avoiding any is...