Re: Deploying c# executables that uses dll's.
Is this library a .NET assembly, or are you accessing it via pinvoke or com
interop?
<Olaf.Baeyens@s kyscan.be> wrote in message
news:3f695679$0 $31727$ba620e4c @reader1.news.s kynet.be...[color=blue][color=green][color=darkred]
> > > SkyscanLibBase, Version=1.0.135 4.27798
> > > ctRepair, Version=1.0.135 5.22235
> > >
> > > But I do not think that these versions have anything to do with the[/color][/color]
> problem.[color=green][color=darkred]
> > > If I understand the version numbers correctly then ctRepair has
> > > Version=1.0.135 5.22235 and expects SkyscanLibBase with
> > > Version=1.0.135 4.27798[/color]
> >
> > Look at ctRepair with ildasm - in the manifest it should say which
> > version it's expecting.
> >[/color]
> I checked at my home computer and there it installed without troubles.
> When I copied the folder and the execute ctRepair (before using any
> installer) then the program started up without problems, but gave an error
> once I used a function found in this SkyscanLibBase. dll.
>[/color]
[color=blue]
> Then I installed the software using the installer and it worked perfectt!
> The dll was known.
>
> So far I can tell that computers that have VC++ .NET installed have no
> problems to run the program, but computers that never had VC++ .NET
> installed have this big problem not finding the dll.
> One thing comes to mind is that the DLL build in VC++ 2002, is build with
> MFC as dll, not static.
> Could this be the cause of it? And where can I find this mfc dll? Up[/color]
untill[color=blue]
> now I always used static linking of mfc.
> But in order to build the .NET managed dll, I had to build with mfc in a
> dynamic library.
>
> Thanks for any feed-back. :-)
> Olaf
>
>[/color]
Is this library a .NET assembly, or are you accessing it via pinvoke or com
interop?
<Olaf.Baeyens@s kyscan.be> wrote in message
news:3f695679$0 $31727$ba620e4c @reader1.news.s kynet.be...[color=blue][color=green][color=darkred]
> > > SkyscanLibBase, Version=1.0.135 4.27798
> > > ctRepair, Version=1.0.135 5.22235
> > >
> > > But I do not think that these versions have anything to do with the[/color][/color]
> problem.[color=green][color=darkred]
> > > If I understand the version numbers correctly then ctRepair has
> > > Version=1.0.135 5.22235 and expects SkyscanLibBase with
> > > Version=1.0.135 4.27798[/color]
> >
> > Look at ctRepair with ildasm - in the manifest it should say which
> > version it's expecting.
> >[/color]
> I checked at my home computer and there it installed without troubles.
> When I copied the folder and the execute ctRepair (before using any
> installer) then the program started up without problems, but gave an error
> once I used a function found in this SkyscanLibBase. dll.
>[/color]
[color=blue]
> Then I installed the software using the installer and it worked perfectt!
> The dll was known.
>
> So far I can tell that computers that have VC++ .NET installed have no
> problems to run the program, but computers that never had VC++ .NET
> installed have this big problem not finding the dll.
> One thing comes to mind is that the DLL build in VC++ 2002, is build with
> MFC as dll, not static.
> Could this be the cause of it? And where can I find this mfc dll? Up[/color]
untill[color=blue]
> now I always used static linking of mfc.
> But in order to build the .NET managed dll, I had to build with mfc in a
> dynamic library.
>
> Thanks for any feed-back. :-)
> Olaf
>
>[/color]
Comment