Community
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"SpeedCAD" wrote in messageHi
href="news:6161767@discussion.autodesk.com">news:6161767@discussion.autodesk.com...
Everyone... I'm having a problem loading .net DLLs from the network or C:\.
The DLLs work when loaded from bin\Release\, but when I copy the DLL to
network or C: or other folder it's not working. I have tried also from the
registry and Neither works... only works from bin\Release\ Thanks for your
time...
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"SpeedCAD" wrote in messageHi
href="news:6162043@discussion.autodesk.com">news:6162043@discussion.autodesk.com...
Master... 1.- Yes, the AutoCAD's references (acdbmgd.dll and acmgd.dll) they
are like "Copy to Local" to False. But I have a reference to ADOX.dll and this
reference it is like "Copy to Local" to True, because if I do not does not
create a database (*.mdb) even load it from the bin\Release\ folder. 2.- I
have all the permits and this problem happens in C: or in other folders. I get
the same problem in other folders. 3.- I don't know that happend, but even I
load it from C: this gives me the problem. 4.- I did not understand this point
5.- In summary the problem is that the dll does not work well when I load it
from another folder, does not generate a *.mdb file, simply that activate a
timer but no more. Is as if the dll it did nothing, not running from anything
AutoCAD. This will not send any error message... 😞 Thanks you
Norman...
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"SpeedCAD" wrote in messageNorman...
href="news:6162434@discussion.autodesk.com">news:6162434@discussion.autodesk.com...
Now It is working, I copy the two files DLLs, one the file that I load it with
NETLOAD and interop.ADOX.dll, this works in any folder but this not works from
network, I think the problem is the Code Access Security (CAS) as you
mentioned it. My problem is that I don't know like do it to fix it. You have
some example code in Visual .NET please... Thanks you
Norman...