Hi

if the interface does not change in VB6
they can set the binary compatitbulity to on

another option is that when you use tblimp,
perhaps you can set the GUID to a value.

and if you set it to the same value again, the problem should be solved


with kind regards
Ruben Willems

On Tue, Mar 17, 2009 at 4:48 PM, Mark Levison <[email protected]> wrote:

>
>
> On Tue, Mar 17, 2009 at 11:44 AM, Ruben Willems <[email protected]>
> wrote:
> > Hi
> >
> >
> > you already compile the VB6 code, correct?
> > so this provides you with a dll, or exe or something that has to be
> called
> > by .Net, correct?
> >
> > you can create the interop by hand, and sign it also
> > the utility you need is : tlbimp
> > you can find it under C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin
> >
> > tlbimp VB6.dll /primary /keyfile:"myKey.snk" /out:theNewOne.dll
> >
> >
> > copy this one in your lib folder, and it should go
>
> Ruben - thanks kindly for the speedy reply. This is half of the problem,
> but the other half is extracting the GUID from the "theNewOne.dll" and
> updating the reference in the csproj file to reflect the dll's new GUID.
>
> The underlying problem is that VB6 dll's regen their GUID's everytime
> they're built - a primitive form of versioning I suppose.
>
> Gross
>
> Mark
>
> Blog: http://www.notesfromatooluser.com/
> Recent Entries: Agile/Scrum Smells:
> http://www.notesfromatooluser.com/2008/06/agilescrum-smells.html
> Agile Games for Making Retrospectives Interesting:
> http://www.notesfromatooluser.com/2008/10/agile-games-for-making-retrospectives-interesting.html
>
>

Reply via email to