Questions tagged [reg-free]

7 questions
4
votes
1 answer

Is it possible to choose a manifest to use when starting a process in windows?

I am trying to provide a COM object that can be used as a replacement for an object in an executable that I do not have control of. I have created an implementation of this COM object with all the same interfaces. I want to be able to use this…
dschaeffer
  • 618
  • 6
  • 15
2
votes
1 answer

How can I use a reg-free COM in a non-UI thread?

Ref: https://connect.microsoft.com/VisualStudio/feedback/details/457217/reg-free-com-fails-when-threaded#tabs When using a reg-free COM DLL (isolated = true) in a non-UI thread, I get "unable to cast COM object of type". This is not the case if the…
tofutim
  • 22,664
  • 20
  • 87
  • 148
1
vote
1 answer

Registration Free COM errors with EXE

I'm trying to use COM functions exposed by an EXE. I've created a C# project using Visual Studio 2010 (on a windows7/x64 machine) and added the reference to that EXE, then set the Isolated flag to true. When I build the solution, I get errors for…
Pete Shaw
  • 23
  • 2
1
vote
2 answers

How get "miscStatus" from vb6 ocx?

How I can get miscStatus for VB6 ocx from .net without need for register it on local computer? I use TLI (TypeLibInfo) for all other info about ocx but this property i do not know how get? Did someone know how regsvr32 generate MiscStatus when…
bojan
  • 11
  • 2
1
vote
0 answers

VB6 apps installed by NSIS, work on Windows 7 but '...not correctly registered...' on Windows 7 SP1

I am puzzled, I thought I had my NSIS installation packages tested and working on Windows 7 32Bit and 64Bit. Today I get failures to run on: my Laptop PC (Windows 7 Pro 32Bit SP1) VMWare Windows 7 Home Premium 64Bit SP1 Successful running on …
anderci
  • 31
  • 6
0
votes
0 answers

Side-bySide(regfree) problem with dynamic add control

We migrate our vb6 project to use sidebyside(regfree) tehnology ....but have problem with dynamic add control to form like: Private WithEvents tmpCtl As VBControlExtender Private Sub UserControl_Initialize() Set tmpCtl =…
bojan
  • 11
  • 2
0
votes
0 answers

How to make registration-free interface call from a DLL to a COM object implemented in EXE of the same process?

It is now well known how to make interface call to a DLL-implemented COM object in the registration-free environment. The question is the opposite: How to make interface call from a DLL to a COM object implemented in EXE? Which manifests and which…
Ilia
  • 425
  • 2
  • 10