.NET
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Re: Unloading DLL
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Look at the screenshot. Try settings both "Copy Local" properties to false. That is because AutoCAD loads its own .dll-s. You need yours only for reference in your IDE.
Re: Unloading DLL
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Dear ognyandim,
Thank u very much...
My problem was solved after changing the copy_local as false.
Im facing one more problem on this code..
http://www.mediafire.com/download.php?3ct0na9qk351
Find the latest code from above link..
while using first time im not getting any error..
but if im using next time the same class without closing the autocad, im getting error on
myDBt.CloseInput(True) <- This location.. use the attached drawings for testing purpose
R.Ranjith
Re: Unloading DLL
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Please find attached image for my Error Location..
Function name is read_table()
R.Ranjith
Re: Unloading DLL
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
I suppose you are trying to WRITE to something while you have opened the DB FORREAD. Try changing the above rows from OpenMode.ForRead to OpenMode.ForWrite.
Re: Unloading DLL
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Dear ognyandim
I'm reading the data, so i dont want to write anything there...
i was used one location as write, now i changed that too read only.
my doubt is first time there is no problem, while secong time only problem is coming...
i hope u r the correct person to findout my mistake in that code..
Thanks for your help...
R.Ranjith
Re: Unloading DLL
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
By looking at your code I can give you this advice :
0. Start documenting your code with reasonable comments.
0a. Read this also - http://catb.org/~esr/faqs/smart-questions.html - I have read it myself and saved myself a fortune of others time and mine ofcourse.
1. Read the developers tutorial - I have posted a link before. There are lots of things you must read in order to continue using the managed api without having lots of problems and without asking such questions.
2. Get the ObjectARX Docs and open arxmgd.chm file and read the docs for every method you are using.
Sincerely, I do not know why are using the CloseInput() method. I suppose your intent was different and I dont know what it is. Please go through the tutorials provided by Autodesk.
Please start from 0 and 0a before anything else. This will save you lots of silly mistakes and will improve your productivity many times.
Re: Unloading DLL
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content


