Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Show only
|
Search instead for
Did you mean:
This page has been translated for your convenience with an automatic translation service. This is not an official translation and may contain errors and inaccurate translations. Autodesk does not warrant, either expressly or implied, the accuracy, reliability or completeness of the information translated by the machine translation service and will not be liable for damages or losses caused by the trust placed in the translation service.Translate
chris wrote:
> hi everybody,
>
> question:
>
> i use loadlibrary to load a dll to autocad.
>
> ist it posible to register an dll or arx from dllmain to autocad?
> how do i implement the acrxEntryPoint if the funktion
> acrxEntryPoint() is not called?
>
> regards
> chris
Use acrxLoadModule() instead of LoadLibrary() and your entry point
function will be called.
chris wrote:
> hmm,
>
> is there no other oportunity to get this funktion called?
>
> how does autocad itself call this funktion?
> why does autocad use acrxEntryPoint and not dllmain?
>
>
> regards
> chris
AutoCAD does call DllMain(), I'm sure acrxLoadModule() calls
LoadLibrary() to map the dll/arx into memory. Then AutoCAD calls your
acrxEntryPoint() function. What are you trying to do and what doesn't
appear to be working?