
DLL recompile causes Client to fail
Quote:
> Under the tools options menu item, project tab, there is a little know field titled OLE compatible
> server, use it to point to your previous DLL (BTW, put the last DLL that you compiled the EXE with
> somewhere safe). This is SUPPOSED to truly keep the interface the same. Hope this helps!
Good reply. However, it should be noted that this will keep the clsid,
not the interface, for each class in your server the same. YOU are
responsible for keeping the 'interface' (ie public methods & variables)
the same. You can add methods, for example, that have new names, but you
can't change the parameter list of an existing method. See the Creating
OLE servers guide or Brockschmidt's Inside OLE for an explanation of this
is necessary. VB should stop you if you try to compile an EXE or DLL that
will break compatibility.
Andrew
----------------------------------------------------------------------------
Andrew Enfield
Senior, Computer Engineering University of Washington
----------------------------------------------------------------------------