Aurigma Forums
»
Graphics Mill
»
Discussions – Graphics Mill
»
GraphicsMill.dll error initiallizing on WinXP
Rank: Newbie
Groups: Guest
Joined: 7/11/2014(UTC) Posts: 6
|
Hello,
I got an error when running a .NET4.0 application that is using the GraphicsMill Core (x86) version 8.1.43.
The error I receive is (Google translated from Dutch) : An imported procedure can not be loaded by Aurigma.GraphicsMill.dll. Normally when I get this error, I install the C++ Redistributable Package (2013) and everything runs as it should be. But on a WindowsXP 32-bit version this does not seem to work.
Are there limitations that the GraphicsMill Core version 8.1.43 is not compatible with WinXP or are there other dependancies?
.Net framework 4.0 is installed C++ Redistributable Package is installed (2013) I even installed C++ Redistributable Package 2008 and 2010 but nothing works.
Please advise.
|
|
|
|
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: 7/11/2014(UTC) Posts: 6
|
Hi Fedor, Thanks for the quick responce. I have changed the reference to the DOTNET3.5 version of the Aurigma.GraphicsMill.dll But now I get the following error: Error 16 'Could not load file or assembly 'Aurigma.GraphicsMill' or one of its dependencies. Could not find or load a specific file. (Exception from HRESULT: 0x80131621)' FYI: the dll is used in a custom control (GDI label), as part of a larger project. The main project raises this error. I have added a screendump of my project tree. The urigma.GraphicsMill.dll is referenced in Alabel. Alabel is used as control on several forms. I have added a app.config to Alabel and added '<startup useLegacyV2RuntimeActivationPolicy="true"/>' to the file as shown on the screendump. Grtz Patrick Vossen
|
|
|
|
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: 7/11/2014(UTC) Posts: 6
|
Yes, C++ 2008 SP1 is installed I am doing some testing. At first it seems that I've got the issue using VS2010. It seems to work using VS2015, but I am still testing... Edited by user Thursday, July 28, 2016 12:34:05 AM(UTC)
| Reason: Added first test results
|
|
|
|
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)
|
Patrick,
So does it work currently? |
Best regards, Fedor Skvortsov
|
|
|
|
Rank: Newbie
Groups: Guest
Joined: 7/11/2014(UTC) Posts: 6
|
Hi Fedor, Opening the project in VS2015 solved the 'Could not load file or assembly 'Aurigma.GraphicsMill' or one of its dependencies. Could not find or load a specific file. (Exception from HRESULT: 0x80131621)'-issue. But after building the new .exe and custom control dll's, and running it on a WinXP 32bit I get the error 'Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information.' I have also added the '<startup useLegacyV2RuntimeActivationPolicy="true">' to the main project and some extra options as discussed in this Stack-post but I did not got it to work... Grtz Patrick
|
|
|
|
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 Patrick, I created a simple .NET 4.0 application with referenced .NET 3.5 assemblies of Graphics Mill and reproduced the problem on Windows XP successfully. The installation of Microsoft Visual C++ 2008 SP1 Redistributable Package (x86) ( https://www.microsoft.com/en-US/...onfirmation.aspx?id=5582) solved the issue. I attached a sample project as well as sent (via PM) you a link with compiled binaries which you can test on your Windows XP instance. Please let me know if you run the sample project successfully. Edited by user Saturday, August 6, 2016 8:39:54 AM(UTC)
| Reason: Not specified File Attachment(s): Fedor attached the following image(s): |
Best regards, Fedor Skvortsov
|
|
|
|
Rank: Newbie
Groups: Guest
Joined: 7/11/2014(UTC) Posts: 6
|
Thanks Fedor,
I am going to give it a try..
Grtz Patrick
|
|
|
|
Rank: Newbie
Groups: Guest
Joined: 7/11/2014(UTC) Posts: 6
|
Hi Fedor,
It works! After struggling -I had to change the reference to the DotNet3.5 version of the Aurigma.GraphicsMill.dll using VS2015. Using VS2010 raises a License error in VS2010. - I forgot to distribute the <application name>.exe.config together with the application.exe I didn't know/never heard that this was necessary.. but I learn every day.
Your sample project solved everything.
Grtz Patrick
|
|
|
|
Aurigma Forums
»
Graphics Mill
»
Discussions – Graphics Mill
»
GraphicsMill.dll error initiallizing on WinXP
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.