Binary Compatiblity - Packaging and referencing of Dlls
Posted on 2004-11-23
I have a problem with a vb app that I'm working on. The app is a 2 tier thing, using COM. The problem is simply that I can't get it to work, and I think it lies with the Binary Compatibility issue. I've looked into this on various sites, but so far have had no luck. Currently the dlls are set to ActiveX dlls (in project properties) and have binary compatibility set to the old version of the app's dlls (which work). The 'back end' tier is set to an ActiveX exe project, and currently has compatibility set to project compatibilty (to the previous version of the app). I think it might need to be set to Binary compat but when this is set it doesn't compile and gives the error
"The Binary compatibility DLL or EXE contains a parameter type or return type whose definition can not be found"
If anybody knows what this error means that would be great!
The front tier is compiled as a Standard EXE (and so has no compatibility options - is this right??). I'm not sure how it works with regards to the references to the dll (in both the tiers) when I package it. Where does VB store the refernced dll info when it packages it?
Any help in providing info on how this should work would be much appreciated, as I've spent far too long trying to solve this problem!!