BinaryFile Error

Discussion in 'Bug Reports' started by dlfallen, May 1, 2007.

  1. dlfallen

    dlfallen Active Member Licensed User

    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
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Have you copied BinaryFile.dll to the same folder of your compiled application?
     
  3. dlfallen

    dlfallen Active Member Licensed User

    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!
     
Loading...