|
-
July 19th, 2005, 10:22 AM
#1
Why is it locked?
Hello,
I have created a static C++ DLL and exported a function on it. The function creates a .gif file. I then interface the DLL in my C# project and I call the C++ function through C++.
I view the .gif file that has been created in a pictureBox. When I clear the pictureBox and try to view the .gif, an NullPointerException is thrown!
When I try to delete the .gif file manulaly, it says that another process is using the .gif file.
I figured that MyC#Project.exe is the one locking my .gif 
Is there a way to be able to view .gif, clear them, and then view them again in the pictureBox?
Help Gurus!!
Ali
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|