Re: Accessing a DLL without registering it

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




"Thomas Malia" <tommalia@xxxxxxxxxxxxxxxx> schrieb im Newsbeitrag
news:ezuO2eoVHHA.4720@xxxxxxxxxxxxxxxxxxxxxxx
Actually, to be a little more specific, whenever
I recompile the DLL it ALWAYS tells me that the
interface has changed and will breakthe
compatability... I can compile it the DLL,
then immediately compile it again
and still gives me this message.
That's actually a problem inside your Dll-Project,
wich you have to solve first...
What you can do is:
Switch your Dll-Project to "no compatibility".
Compile the Dll.
Close the VB-Dll-Project.
Name this Dll to e.g. MyCompDll.Bin
Restart the VB-Dll-Project.
Switch to Binary-Compatibility again and set
'MyCompDll.Bin' as the "compare-source".
Now your Compiling-Problems should be
gone.
If not, look for any "Code-Inspector-Addins" or
something of that stuff and deactivate them, just
to look, if this is the reason. Or do a Registry-
Cleanup (by hand) for all Entries regarding
your Dll.

As soon as your BinComp-Dll-Project recompiles
without warnings, your other problems
(recompiling your dependent Projects)
are non-existent.

Olaf


.



Relevant Pages

  • Re: general strong name question
    ... You have a project that compiles to a dll. ... Each time you recompile this assembly, and attempt to run the other apps, ... When you compile an assembly, ... assemblies) into the config files of the applications that use the ...
    (microsoft.public.dotnet.general)
  • Re: VBA and VSTO
    ... If you compile in VB6 with Global MultiUse than all you have to do is set a reference in Excel to your dll via Tools, References and you can access your functions in the dll directly. ... You will have to register the dll as well with Windows with Regsvr32, but that can be done quite simply in VBA. ...
    (microsoft.public.excel.programming)
  • Re: Dotnet Assembly Versioning
    ... The reason you have to recompile is that when you compile, ... getting a copy of the .dll and bringing it locally into your application. ... This only happens when you compile so, if you want the newer assembly, you ... First i have to state this is my first entry ever in a forum. ...
    (microsoft.public.dotnet.general)
  • Re: HOW CAN I OPEN A COM PROJECT COMPILED IN VS2005, IN VS2003?
    ... I keep getting the .exe output when I compile in the VC7. ... the General Configuration Type to be .dll in the Project Property. ... Microsoft MVP, MCSD ... instead create my own folders for file grouping... ...
    (microsoft.public.win32.programmer.ole)
  • GlobalMultiUse component breaks its compatibility !!!
    ... I have a component (ActiveX dll) with only one class in it. ... compiled, even though the binary compatibility is set, a new UUID is ... Public Property Let MyStringProp(ByVal vNewValue As String) ... Compile the project. ...
    (microsoft.public.vb.com)