Rank: Newbie
Groups: Guest
Joined: 2/5/2008(UTC) Posts: 6
|
Hello, I am evaluating Graphics Mill .Net 4.5 to process images in web application written in ASP.Net. I also have a back-office system writen in Visual Basic 6.0 which also does image processing currently using Adobe Photoshop CS2. Can I use services provided by Graphics Mill .Net 4.5 from Visual Basic 6.0 code i.e. can I create Graphics Mill .Net 4.5 object in Visual Basic 6.0 and do image processing. Help on this topic would be highly appreaciated. Regards, Sanket
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 8/3/2003(UTC) Posts: 1,070
Thanks: 1 times Was thanked: 12 time(s) in 12 post(s)
|
Hello, Yes, you can use Graphics Mill for .NET in Visual Basic 6.0 via COM Interop. |
|
|
|
|
Rank: Newbie
Groups: Guest
Joined: 2/5/2008(UTC) Posts: 6
|
Hi, Thanks for your reply. Do you know the steps on how to do it. I tried registering Aurigma.GraphicsMill.dll using the RegAsm utility in .Net. The tool also returned success reply and I could see the type library being registered in the Windows Registry. But when I add a reference to the type library Visual Basic 6.0 does throws error saying the 'ActiveX can't create object'. Help on this will be highly appreaciated. Regards, Sanket
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 8/3/2003(UTC) Posts: 1,070
Thanks: 1 times Was thanked: 12 time(s) in 12 post(s)
|
Hello, Sorry, I was wrong. I examined this question more carefully and it seems that Graphics Mill for .NET has some problems with packaging for COM - it gives empty tlb. It seems that it cannot be exposed to COM and you cannot use it with VB6 |
|
|
|
|
Rank: Newbie
Groups: Guest
Joined: 2/5/2008(UTC) Posts: 6
|
Hi, Thanks for the information. Will it help if I write a wrapper .Net dll around Graphics Mill and then expose the wrapper dll to COM for use in VB6. Regards, Sanket
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 8/3/2003(UTC) Posts: 1,070
Thanks: 1 times Was thanked: 12 time(s) in 12 post(s)
|
|
|
|
|
|
Rank: Newbie
Groups: Guest
Joined: 2/7/2008(UTC) Posts: 4
|
Hi, i wrote the com wrapper dll referring to Graphics mill 5.0 and built it on 32 bit PC with Run on Any CPU option. Now when i try to deploy the application on a 64 bit PC having Graphics mill 5.0 (x64) , VB application is unable to create the object of the wrapper dll. The wrapper dll is registered correctly but still com and .net assembly are not talking to each other on the 64 bit platfrom. There are no problems on the development pc Could please you help me figure out where the problem is Many thanks in advance Praveen
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 8/3/2003(UTC) Posts: 1,070
Thanks: 1 times Was thanked: 12 time(s) in 12 post(s)
|
Hello, You have two options: 1. Install Microsoft Visual C++ 2005 SP1 Redistributable Package (x86) on your x64 target computer (you can read the detailed information how to do it in the INFO: Could not load file or assembly Aurigma.GraphicsMill problem). 2. The second option is to place Microsoft.VC80.CRT and Microsoft.VC80.OpenMP folders containing CRT dlls near the Aurigma.GraphicsMill.dll. This solution is alternative way to deploy libraries from Microsoft Visual C++ 2005 SP1 Redistributable Package. I have attached sample project to this post. |
|
|
|
|
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.