Message 1 of 7
Using dll compiled to x86 CPU in Acad2010 64bit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Guys,
My code uses OLDEB to connect to and read in data from an Excel spreadsheet and use it in Acad2010. This was all fine on my old 32 bit machine but now I've got a swanky new 64 bit one it doesn't work.
From Googling around it seems that there is no OLEDB for 64 bit (not that I could find anyway). Apparently the solution is to set the target CPU to x86 instead of Any but this then causes the netload of my dll to fail with the error "An attempt was made to load a program with an incorrect format."
I've tried running AutoCAD in compatibility mode for XP but no luck.
Does anyone have any ideas?
Thanks in advance.