Bitness agnostic ReadDWG 🧙 (v11)

Note: from Eyeshot v2020, the bitness agnostic code is included in samples custom control project with the name BitnessAgnostic.cs and it is used by the DraftingDemo sample. To enable it, you need to declare the SETUP conditional symbol and set bitness as AnyCPU in the DraftingDemo VStudio project.

The following source code sample demonstrates how to load DWG/DXF files from a .NET application compiled against AnyCPU. It includes the operating system bitness detection, dynamic loading of the Eyeshot x86 or x64 DLL from a separate folder and the instantiation of the ReadAutodesk class using reflection. 

Sample: BitnessAgnosticReadDWG_WinForms_v11.

Previous versions of this article: Eyeshot 10Eyeshot 9, Eyeshot 8

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

5 comments

Please sign in to leave a comment.