use embree DLL return error: cannot find a procedure that it needs

use embree DLL return error: cannot find a procedure that it needs

475867377
Advocate Advocate
760 Views
7 Replies
Message 1 of 8

use embree DLL return error: cannot find a procedure that it needs

475867377
Advocate
Advocate

my arx use a third part dll named embree which is a multithread dll.it compile well in autocad 2018.but  the arx can not load, the error info is "cannot find a procedure that it needs".but i have add the dependent dll path to enviament path.   i call the embree dll  successfully in a exe which is not use objectarx.the two calling ways are the same .the only difference is the calling environment,one is in objectarx and the other is not .so i doubt that the objectarx 2018 cannot surpport embree dll.i test in objectarx 2020 the result is same. i  look forward to your generous reply,thanks.

0 Likes
761 Views
7 Replies
Replies (7)
Message 2 of 8

daniel_cadext
Advisor
Advisor

Try using a dependency walker, I use this

https://github.com/lucasg/Dependencies

Python for AutoCAD, Python wrappers for ARX https://github.com/CEXT-Dan/PyRx
0 Likes
Message 3 of 8

475867377
Advocate
Advocate

thank you.the reason is not missing dll.because i calling the dll successfully in exe which is not objectarx.

0 Likes
Message 4 of 8

daniel_cadext
Advisor
Advisor

Not missing .DLL, but a bad or missing environment path

Python for AutoCAD, Python wrappers for ARX https://github.com/CEXT-Dan/PyRx
0 Likes
Message 5 of 8

475867377
Advocate
Advocate

i have used dependency walker,when i open arx,it crashed.I wonder if this has happened to anyone else. is it can not surpport arx?

0 Likes
Message 6 of 8

daniel_cadext
Advisor
Advisor

Not enough information.

I’m not familiar with this DLL. Are you compiling it? If not, it could be compiled by a non-compatible compiler, or have a weird flag set

What do you mean by crashed? Now it loads, but is crashing when you call a function?

 

Python for AutoCAD, Python wrappers for ARX https://github.com/CEXT-Dan/PyRx
0 Likes
Message 7 of 8

475867377
Advocate
Advocate

dependency walker crashed when i open the arx in dependency walker.it seems dependency walker do not surpport arx.

0 Likes
Message 8 of 8

daniel_cadext
Advisor
Advisor

It works on my Arx modules, very well in fact, that’s why I recommended it.

There’s another called depends.exe  

https://www.dependencywalker.com/

 

this is the I linked to previously

 

depends.png

Python for AutoCAD, Python wrappers for ARX https://github.com/CEXT-Dan/PyRx
0 Likes