Hallo!
My company is using different ceTe Software Products (Merger, Rasterizer and PrintManager) over a couple of years now and i can say that we are really quite happy with it.
Recently we also purchased your DynamicPDF Viewer Component (v1.0.3) and now we need to embed the Control into a .NET 4.5 Client Application, that has to be built for "Any CPU".
Today, the Project Leader asked me for such a DLL (of the Viewing Component) that is built for "Any CPU", but i could only find DLLs for x86 and x64 (for the different .net versions).
So i would kindly ask if it is somehow possible to get a DynamicPDF Viewer DLL (v1.0.3 or higher) that is built for "Any CPU" (screenshot: http://i.imgur.com/QNuKn6i.png) ?
I am really looking forward to your response!
Kind regards,
Ludwig Blechinger
(Plasser & Theurer)
DLL for AnyCPU
Re: DLL for AnyCPU
Support · May 8, 2017Hello Ludwig,
The DynamicPDF Viewer for .NET product has different DLL files for 32-bit and 64-bit CPU architectures. You will need to reference the respective DLL file as per the .NET framework version and platform target (x86 or x64) set to the application. You can refer to the documentation on referencing assembly here
.
The DynamicPDF Viewer for .NET product do not have DLL files built for ‘ANY CPU” architecture. Compiling your application for 32-bit platform by referencing the respective 32-bit DLL file will make it work on both 32-bit and 64-bit machines.
Thanks,
ceTe Software Support Team.
Re: DLL for AnyCPU
Forum member · May 8, 2017Thanks for your fast reply (as always) !
We finally found a way to build our project with "AnyCPU", by loading the required DLL for the current Platform (x86 / x64) manually into the Program at Startup.
Kind regards,
Ludwig
Re: DLL for AnyCPU
Forum member · Apr 9, 2019Ludwig,
I know this is an older post but could I ask how you dynamically loading the DLL at program startup. I know how to determine if the program is running in 32/64 bit but haven't quite figured out the load process. Any help would be great.
- Don V.
Re: DLL for AnyCPU
Support · Apr 11, 2019Hello Don,
There is no option available in DynamicPDF Viewer for .NET product to load the respective DLL file as per the platform target set to the application. You can achieve your requirement using the Assembly Resolve event of your .NET class. You can refer to the documentation on the Assembly Resolve event on the Microsoft website here
.
Thanks,
ceTe Software Support Team