Message 1 of 1
How to make the realdwg release Mode work
Not applicable
05-08-2018
08:54 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi
I am tring to make a small exe file to fetch some info from a dwg file with the realdwg SDK.
I have attached the acdbmgd.dll and it works fine with debug mode. But when I switch to release mode it keeps telling me the System.AccessViolationException error,
is it because some of the lisence problem or what?
What i did is just
foreach (ObjectId id in bt)
{
Entity ent = (Entity)tr.GetObject(id, OpenMode.ForRead);
}
I have delete all the other operations. just doing this get entity code, which works fine in debug mode. not the release mode. Keeps telling me that I am accessing some protected memory.
Any ideas?
Thx a huge.