Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
meriturva  
#1 Posted : Monday, February 4, 2008 5:37:33 PM(UTC)
meriturva

Rank: Newbie

Groups: Member
Joined: 2/4/2008(UTC)
Posts: 6

Hi to everybody,

sometimes i got this error when i try to load a bitmap:

"The process cannot access the file 'FileName' because it is being used by another
process."

We use this command to load a bitmap file:

_bitmap = new Aurigma.GraphicsMill.Bitmap(fileName);


i just ask if there is some ways to load the bitmap in share mode and read only just to avoid this kind of errors.

Thanks.

Meriturva
Alex Kon  
#2 Posted : Monday, February 4, 2008 10:44:42 PM(UTC)
Alex Kon

Rank: Advanced Member

Groups: Member
Joined: 1/31/2005(UTC)
Posts: 458

Was thanked: 5 time(s) in 5 post(s)
Hello,

Graphics Mill for .NET uses read-only access while reading files. So it is unlikely lock the file it reads.

Could you describe the issue in more details? Do you open more than one thread? How often you get this exception? I've just tried to reproduce this issue loading one file in 10 threads simultaneously, each thread performed 100 iterations. But it worked fine for me...

Try to download the most recent version of Graphics Mill for .NET (we have updated it today) and let me know whether the problem can be reproduced with it.
sviluppophotosi  
#3 Posted : Tuesday, February 5, 2008 4:46:56 PM(UTC)
sviluppophotosi

Rank: Advanced Member

Groups: Member
Joined: 2/5/2008(UTC)
Posts: 30

We are try to reprocude the error, anyway we don't find the update versione:
we have a license for graphmil and on our download page we see only version: 4.5.16.0

Thanks.
Meriturva
Alex Kon  
#4 Posted : Tuesday, February 5, 2008 5:26:01 PM(UTC)
Alex Kon

Rank: Advanced Member

Groups: Member
Joined: 1/31/2005(UTC)
Posts: 458

Was thanked: 5 time(s) in 5 post(s)
Hello,

Hm... It seems that the version sign was not updated correctly. It is actually version 4.5.17 of Graphics Mill for .NET.
sviluppophotosi  
#5 Posted : Tuesday, February 5, 2008 5:56:16 PM(UTC)
sviluppophotosi

Rank: Advanced Member

Groups: Member
Joined: 2/5/2008(UTC)
Posts: 30

Where can i find version 4.5.17.0 ?

Sorry but i want to be sure.
Alex Kon  
#6 Posted : Tuesday, February 5, 2008 10:12:57 PM(UTC)
Alex Kon

Rank: Advanced Member

Groups: Member
Joined: 1/31/2005(UTC)
Posts: 458

Was thanked: 5 time(s) in 5 post(s)
Hello,

Yeap, I understand. You can download version 4.5.17 here: http://www.aurigma.com/P...illdotNET/FreeTrial.aspx
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.