Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed 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: 130
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
Posts: 144
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: 130
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
Posts: 144
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: 130
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: 2,956
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: New Listview Library (with source)
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
cmd.ExecuteTable("table1",500) error dennishea Questions & Help Needed 3 06-15-2008 03:17 PM
Is there any thing like Visual Basic "Tabbed dialog control" in Basic4ppc? mozaharul Questions & Help Needed 6 03-23-2008 11:07 AM
"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 & Help Needed 3 02-15-2008 05:41 PM
calling the device's "Programs" or "settings" screens HarleyM Questions & Help Needed 0 12-05-2007 02:59 AM


All times are GMT. The time now is 12:51 PM.


Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0