Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

Error message: "Not correct version of dll"

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-17-2007, 09:57 AM
Senior Member
 
Join Date: Apr 2007
Location: Copenhagen
Posts: 173
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
  #2 (permalink)  
Old 09-17-2007, 11:30 AM
Senior Member
 
Join Date: Jul 2007
Location: Michigan Usa
Posts: 176
Awards Showcase
Beta Tester 
Total Awards: 1
Default

BjornF:

Are you using net 2, if so do you have yourfile.exe.config in the same folder with other programs.

dennishea
Reply With Quote
  #3 (permalink)  
Old 09-17-2007, 01:19 PM
Senior Member
 
Join Date: Apr 2007
Location: Copenhagen
Posts: 173
Default

Dear denishea,

no, I'm not using net 2. The compiled version of the program worked ok with the previous version of the Listview.dll, so I thought that I didn't need it for this one either. Do you, or anyone else, know if you need net 2 for the new listview.dll?

all the best / Björn
Reply With Quote
  #4 (permalink)  
Old 09-17-2007, 01:51 PM
Senior Member
 
Join Date: Jul 2007
Location: Michigan Usa
Posts: 176
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Yes you need cf 2.

dennishea

I don't know how to set up the link to the post. I found it in share code and filippo was author of listview.dll.
Reply With Quote
  #5 (permalink)  
Old 09-17-2007, 02:15 PM
Senior Member
 
Join Date: Apr 2007
Location: Copenhagen
Posts: 173
Default

Thanks dennishea, now that you have pointed it out I can see that it is a requirement in the thread you mentioned

Regards / Björn
Reply With Quote
  #6 (permalink)  
Old 09-17-2007, 03:16 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,734
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Quote:
Originally Posted by dennishea View Post
I don't know how to set up the link to the post. I found it in share code and filippo was author of listview.dll.
Just copy and paste the link: http://www.basic4ppc.com/forum/additional-libraries/593-new-listview-library-source.html
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
"Error saving file" N1c0_ds Bug Reports 0 09-14-2008 12:25 AM
cmd.ExecuteTable("table1",500) error dennishea Questions (Windows Mobile) 3 06-15-2008 03:17 PM
"Error loading program" on 29th Feb 08 WZSun Bug Reports 2 03-01-2008 05:43 AM
Problem with Serial. ("before loop" error) jesb4ppc Questions (Windows Mobile) 3 02-15-2008 05:41 PM
calling the device's "Programs" or "settings" screens HarleyM Questions (Windows Mobile) 0 12-05-2007 02:59 AM


All times are GMT. The time now is 11:12 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0