View Single Post
  #1 (permalink)  
Old 09-17-2007, 10:57 AM
BjornF BjornF is offline
Senior Member
 
Join Date: Apr 2007
Location: Copenhagen
Posts: 143
Default Error message: "Not correct version of dll"

I wrote a small program using the previous version of ListView.dll (an excellent dll by the way!). When the new version came out I tried updating the dll by first removing the old one, and thereafter deleting the object. Finally I added the new dll and a new object.

When I try the program the non-compiled version works perfectly, but when I try to make a compiled version I get an error message saying that "Error loading external library: The format of the file "Listview.dll" is invalid". (The compiled program is in the same folder as the non-compiled version so they should be using the same version of the dll.)

Am I missing something or is it impossible to update the dll once it has been assigned to a program? And if so why is it only for the compiled version?

all the best / Björn
Reply With Quote