locked
Application Error: The instruction at 0x01657321 referenced memory at 0x01657321. RRS feed

  • Question

  • Hi,

    I have a windows application that loads a dll, to do certain things. afterwards the application unloads the dll. But just before it unloads the following errors occurs:  

              Application.exe Error: The instruction at 0x01657321 referenced memory at 0x01657321. The memory could not be read.

    Can anybody please have any clue for a solution !!

    Thank you in advance

    Tuesday, May 29, 2012 6:55 AM

Answers

  • You cannot unload a dll unless you terminate the AppDomain. Can you show us the code and little more description of the problem?


    Please mark this post as answer if it solved your problem. Happy Programming!

    • Proposed as answer by Mike Feng Wednesday, May 30, 2012 6:52 AM
    • Marked as answer by Mike Feng Wednesday, June 6, 2012 12:00 PM
    Wednesday, May 30, 2012 6:12 AM

All replies

  • Could you show some more code? As how you load/unload and manage the assemblies/types.

    Regards, MusicDemon

    Tuesday, May 29, 2012 11:00 AM
  • You cannot unload a dll unless you terminate the AppDomain. Can you show us the code and little more description of the problem?


    Please mark this post as answer if it solved your problem. Happy Programming!

    • Proposed as answer by Mike Feng Wednesday, May 30, 2012 6:52 AM
    • Marked as answer by Mike Feng Wednesday, June 6, 2012 12:00 PM
    Wednesday, May 30, 2012 6:12 AM