How to make the realdwg release Mode work

How to make the realdwg release Mode work

Anonymous
Not applicable
319 Views
0 Replies
Message 1 of 1

How to make the realdwg release Mode work

Anonymous
Not applicable

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.

0 Likes
320 Views
0 Replies
Replies (0)