Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Bug Reports
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Bug Reports Post about errors or bugs encountered.


BinaryFile Error


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-01-2007, 08:00 PM
Junior Member
 
Join Date: Apr 2007
Location: Olympia, Washington USA
Posts: 24
Default BinaryFile Error

I'm writing a program using the binaryfile.dll. It runs fine on the PC both in development, and when compiled. When I compile for the PPC and try to run that on the device, I get the following error message:
"Error Loading Program
NullReferenceException"

Apparently, the error occurs when the program is loading, not when it is executing. Any ideas here?

-dlfallen
Reply With Quote
  #2 (permalink)  
Old 05-01-2007, 08:05 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,185
Default

Have you copied BinaryFile.dll to the same folder of your compiled application?
Reply With Quote
  #3 (permalink)  
Old 05-01-2007, 09:34 PM
Junior Member
 
Join Date: Apr 2007
Location: Olympia, Washington USA
Posts: 24
Default

Yes, it is there but your question was the clue I needed to solve the problem. I had added the dll only to the desktop! So I went back to the IDE and added binaryfile.dll to the device and recompiled. Now it is just fine thanks.

I'm going to upload the application shortly. It is a tool for use in using image libraries so it could be posted in "Code Samples and Tips", but it is a completed app so I guess I'll post it in "Share Your Creations"

I have a couple of questions that would help improve the application, although I think it is useful as it stands now. I'll pose the questions when I post the app.

THANKS EREL!
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
Problem with Binaryfile Pim93 Questions & Help Needed 3 02-20-2008 06:10 PM
Selecting the Image to display in the BinaryFile batninja Questions & Help Needed 7 05-12-2007 01:18 PM


All times are GMT. The time now is 04:51 AM.


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