transactions do not work in stand alone executables?

transactions do not work in stand alone executables?

Bauron
Contributor Contributor
496 Views
2 Replies
Message 1 of 3

transactions do not work in stand alone executables?

Bauron
Contributor
Contributor

Hello

 

I am trying to write a simple pdf creator that can work outsideo of autocad. 

Since I am not opening each file, I need to use the DBDictionary. 

When it comes tothe statement where I need to start the transaction, the routine fails. 

I am guessing it is a simple either/or scenario, where you cant use autocad Transactions in stand alone execuatbles?

Any help would be greatly appreciated

 

 

0 Likes
Accepted solutions (1)
497 Views
2 Replies
Replies (2)
Message 2 of 3

norman.yuan
Mentor
Mentor
Accepted solution

It is not only Transaction. It is the entire AutoCAD .NET APIs cannot used in EXE applications other than AutoCAD itself. You can only use them (e.g. references to accodemgd/acmgd/acdbmgd.dll) in a DLL projects and the DLL can only run when loaded inside AutoCAD process (with command NETLOAD, or other auto-loading approaches).

Norman Yuan

Drive CAD With Code

EESignature

Message 3 of 3

Bauron
Contributor
Contributor

Thank you for your quick response. 

It clears up a lot

 

0 Likes