Aurigma Forums
»
Graphics Mill
»
Discussions – Graphics Mill
»
CreateFormatReader fails on win8 64bit (ver. 5.5.6)
Rank: Advanced Member
Groups: Guest
Joined: 5/10/2006(UTC) Posts: 32
Thanks: 6 times
|
We are moving our application to support x64 OSs due to our direct driver to the printers, so the app has to run 64bit on 64bit OSs. I've run up against a wall though, when I call Aurigma.GraphicsMill.Codecs.FormatManager.CreateFormatReader It throws "Arithmetic operation resulted in an overflow." Code: at System.IntPtr.ToInt32()
at Aurigma.GraphicsMill.Codecs.BmpReader.OnCheckForSupport(Stream stream)
at Aurigma.GraphicsMill.Codecs.FormatReader._CheckForSupport(Stream stream)
at Aurigma.GraphicsMill.Codecs.FormatReader.CheckForSupport(Stream stream)
at Aurigma.GraphicsMill.Codecs.FormatManager.CreateFormatReader(String fileName)
at AGx64Test.Program.worker.GetPixelDimensionsOfImage(String imageFilename)
at AGx64Test.Program.DoWork(String filename)
It also happens when I call new Aurigma.GraphicsMill.Bitmap(filename) Code: at System.IntPtr.ToInt32()
at Aurigma.GraphicsMill.Codecs.BmpReader.OnCheckForSupport(Stream stream)
at Aurigma.GraphicsMill.Codecs.FormatReader._CheckForSupport(Stream stream)
at Aurigma.GraphicsMill.Codecs.FormatReader.CheckForSupport(Stream stream)
at Aurigma.GraphicsMill.Codecs.FormatManager.CreateFormatReader(String fileName)
at Aurigma.GraphicsMill.Bitmap.Load(String fileName)
at Aurigma.GraphicsMill.Bitmap._Load(String fileName)
at Aurigma.GraphicsMill.Bitmap..ctor(String fileName)
at AGx64Test.Program.worker.OpenFile(String filename)
at AGx64Test.Program.DoWork(String filename)
This happens on Window 8, 64bit. If I set the target to x86, it works, which makes sense as System.IntPtr.ToInt32() should fail on 64bit. What is weird though is that these calls work just fine with platform target x64 on Windows 7, 64bit. I have several clean virtual machines, and they consistently fail on Win8 64bit, but not Win7 64bit. We are using the latest 5 series, 5.5.6. I've attached my test app. Edited by moderator Saturday, July 19, 2014 2:15:24 AM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 7/28/2003(UTC) Posts: 1,660
Thanks: 5 times Was thanked: 76 time(s) in 74 post(s)
|
Hey Todd, We have reproduced the problem. Our engineers will check it next week. I will keep you informed of the status. BTW, please consider to upgrade to the latest of Graphics Mill. The versions 6.x-7.x are actively developed and maintained. Edited by user Saturday, July 19, 2014 5:17:35 AM(UTC)
| Reason: Not specified |
Best regards, Fedor Skvortsov
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 7/28/2003(UTC) Posts: 1,660
Thanks: 5 times Was thanked: 76 time(s) in 74 post(s)
|
Todd, We have the internal build which fixes the error, however we need to make an additional testing before the release. I will let you know about the status by Thursday. |
Best regards, Fedor Skvortsov
|
1 user thanked Fedor for this useful post.
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 7/28/2003(UTC) Posts: 1,660
Thanks: 5 times Was thanked: 76 time(s) in 74 post(s)
|
Todd, I have sent you a private message with the download link of the updated assemblies. It should fix the problem on Windows 8.0 x64. Please note you need to install the recent version of Microsoft Visual C++ 2005 Redistributable Package to get it run: http://www.microsoft.com/en-us/...ad/details.aspx?id=26347 Edited by user Thursday, July 24, 2014 2:34:40 AM(UTC)
| Reason: Not specified |
Best regards, Fedor Skvortsov
|
1 user thanked Fedor for this useful post.
|
|
|
Rank: Newbie
Groups: Guest
Joined: 2/9/2015(UTC) Posts: 1
|
Fedor, We are running into the same problem while trying to move a legacy app based on 5.x to Server 2012 R2. Can you PM me the updated assemblies that fixes this issue? I would really appreciate it! I'll ask the customer to consider upgrading to your latest version as well. thanks!
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 7/28/2003(UTC) Posts: 1,660
Thanks: 5 times Was thanked: 76 time(s) in 74 post(s)
|
Hi Arking, Originally Posted by: arking We are running into the same problem while trying to move a legacy app based on 5.x to Server 2012 R2. Can you PM me the updated assemblies that fixes this issue? I would really appreciate it! I have PMed to you. Edited by user Monday, February 9, 2015 11:37:51 PM(UTC)
| Reason: Not specified |
Best regards, Fedor Skvortsov
|
|
|
|
Rank: Newbie
Groups: Guest
Joined: 3/20/2009(UTC) Posts: 5
|
Fedor, We are running into the same problem while trying to move a our app based on 5.5.6 to Server 2012 R2. Can you PM me the updated assemblies that fixes this issue? I would really appreciate it! thanks!
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 7/28/2003(UTC) Posts: 1,660
Thanks: 5 times Was thanked: 76 time(s) in 74 post(s)
|
I have just sent you the updated version. If you have any questions please let me know. |
Best regards, Fedor Skvortsov
|
|
|
|
Rank: Newbie
Groups: Guest
Joined: 9/25/2015(UTC) Posts: 1
|
We're having a similar problem. We're upgrading to Windows2012 and we're seeing this error: Aurigma.GraphicsMill.Codecs.BmpReader.OnCheckForSupport(Stream stream) +459 Aurigma.GraphicsMill.Codecs.FormatReader.CheckForSupport(Stream stream) +65 Aurigma.GraphicsMill.Codecs.FormatManager.CreateFormatReader(Stream stream) +190 We're running version 5.X. Can we get the updated version of the assemblies? thank you, John Edited by user Friday, September 25, 2015 1:02:27 PM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 7/28/2003(UTC) Posts: 1,660
Thanks: 5 times Was thanked: 76 time(s) in 74 post(s)
|
|
Best regards, Fedor Skvortsov
|
|
|
|
Rank: Newbie
Groups: Guest
Joined: 9/28/2015(UTC) Posts: 4
|
That url reroutes me to the login/registration page ... even after logging in.
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 7/28/2003(UTC) Posts: 1,660
Thanks: 5 times Was thanked: 76 time(s) in 74 post(s)
|
We have fixed the problem. Please try to download again. |
Best regards, Fedor Skvortsov
|
|
|
|
Rank: Newbie
Groups: Guest
Joined: 9/28/2015(UTC) Posts: 4
|
Thanks, I got the updated dlls. Unfortunately, I'm getting an that says the trial period has expired. [TrialPeriodTimeException: Evaluation time period has expired. Please, purchase full version of the product.] Aurigma.GraphicsMill.Thread.FireStoppedEvent(Object object, ErrorEventArgs args) +295 Aurigma.GraphicsMill.Thread.TimerEventProcessor() +1029 Aurigma.GraphicsMill.Thread.ChangeActivityStatus(ActivityStatus status) +205 Aurigma.GraphicsMill.Thread.EntryPoint() +289 Aurigma.GraphicsMill.Thread.Start() +570 Aurigma.GraphicsMill.Codecs.FormatReader._FrameLoadBitmap(Frame frame) +1006 Aurigma.GraphicsMill.Codecs.Frame._GetBitmap(Bitmap bitmap) +706 Aurigma.GraphicsMill.Codecs.Frame.GetBitmap(Bitmap bitmap) +465 What's the way around this?
|
|
|
|
Rank: Newbie
Groups: Guest
Joined: 9/28/2015(UTC) Posts: 4
|
Nevermind. I figured out my license key issue. I don't know yet if my other problems are solved....
|
|
|
|
Rank: Newbie
Groups: Guest
Joined: 9/28/2015(UTC) Posts: 4
|
My problems have been resolved. Thanks for providing the updated dlls.
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 7/28/2003(UTC) Posts: 1,660
Thanks: 5 times Was thanked: 76 time(s) in 74 post(s)
|
|
Best regards, Fedor Skvortsov
|
|
|
|
Aurigma Forums
»
Graphics Mill
»
Discussions – Graphics Mill
»
CreateFormatReader fails on win8 64bit (ver. 5.5.6)
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.