Cannot Load Seagull.bartender.print.dll At 64 Bit
Could "Seagull.bartender.print" load at 64bit System In BarTender 10 version?
I use get a BarTender 9.4 Version And VS2012 , I get an error " An attempt was made to load a program with an incorrect format." , when I load Seagull.bartender.print DLL
Best regard~
-
This topic should help you:
http://seagullscientific.invisionzone.com/index.php?/topic/81-cannot-load-seagullbartenderprintdll/
0 -
Why isn't there a 64bit dotnet dll, Is it coming?
Recompiling my project will give me a headache, Seagull is not the only external component.
0 -
The problem is that we would need to produce an x64 based BarTender executable as well. This would constitute a sizeable project, but at this time we have other priorities to take care of first before we tackle this which does have a workable solution. It will come, just not in the near future I fear.
0 -
Buenos dias, este codigo no necesita declarar "Imports Seagull.BarTender.Print" asi que funciona para 64bits..VB.NET Example'Declaring a BarTender application variableDim btApp as BarTender.Application'Declaring a format variableDim btFormat As New BarTender.Format'Instantiating the BarTender objectbtApp = new BarTender.ApplicationClass'Setting the BarTender Application VisiblebtApp.Visible = True'Setting the BarTender format to openbtFormat = btApp.Formats.Open("c:\Format1.btw", False, "")'Setting the ProductName substring databtFormat.SetNamedSubStringValue("ProductName", "Fruit Loops")'Printing the label formatbtFormat.PrintOut(False, False)'Ending the BarTender processbtApp.Quit(BarTender.BtSaveOptions.btDoNotSaveChanges)0
-
Thanks Miguelvargasing, that solution seems to be working for me.
Just a note to others that need to use this: You have to add a reference to the Interop.BarTender.dll, which is a COM object.
Not exactly the ideal solution for .Net, but when you have an application with other components that require 64bit functionality, it appears to be the only solution.
0
请先登录再写评论。
评论
5 条评论