Hello all,
Perhaps I am missing something simple somewhere. But can't figure out what.
I have a ObjectARX app that is working fine. I open AutoCAD, load DBX, then load ARX and it does what I want.
I needed to use some object from another DLL that is created by a colleague. So I added headers and code. Then I link to the lib in project settings. The compile and link of DBX goes smooth.
Then I copy the new DLL in the same folder where I have my DBX file and try to load the DBX in AutoCAD using Appload. The DBX load fails.
If I remove all the code of the new object, remove the linking, and build DBX, the DBX loads fine.
Looks like DBX is not loading because I added dependency on this new DLL. I opened the DBX file and new dll in dependency walker and they seem fine.
Any ideas?
Thanks in advance,
K
Solved! Go to Solution.
Solved by mwst. Go to Solution.
Solved by owenwengerd. Go to Solution.
Unless your DBX folder is in the Windows search path, Windows won't find your DLL when AutoCAD loads your DBX. See my blog for a solution:
Using /delayload to specify dependent DLL path