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

Notification

Icon
Error

Options
Go to last post Go to first unread
Sanket  
#1 Posted : Tuesday, February 5, 2008 10:04:20 PM(UTC)
Sanket

Rank: Newbie

Groups: Member
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

Dmitry  
#2 Posted : Wednesday, February 6, 2008 9:38:28 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Member, Administration, Moderator
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.

Sincerely yours,

Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!

Sanket  
#3 Posted : Thursday, February 7, 2008 2:17:43 AM(UTC)
Sanket

Rank: Newbie

Groups: Member
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

Dmitry  
#4 Posted : Friday, February 8, 2008 6:35:40 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Member, Administration, Moderator
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 Eh?

Sincerely yours,

Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!

Sanket  
#5 Posted : Tuesday, February 12, 2008 6:54:42 PM(UTC)
Sanket

Rank: Newbie

Groups: Member
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

Dmitry  
#6 Posted : Monday, February 18, 2008 3:41:12 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)
Sincerely yours,

Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!

Praveen@citdigital.com  
#7 Posted : Thursday, June 5, 2008 3:36:08 AM(UTC)
Praveen@citdigital.com

Rank: Newbie

Groups: Member
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

Dmitry  
#8 Posted : Thursday, June 19, 2008 9:10:24 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Member, Administration, Moderator
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.

File Attachment(s):
COMWrapperX64_Binaries.zip (2,309kb) downloaded 8 time(s).
COMWrapperX64_Projects.zip (1,644kb) downloaded 2 time(s).
Sincerely yours,

Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!

Users browsing this topic
Guest
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.