Hi,
I wrote an arx which basically queues an initialization command with ads_queueexpr() while loading. Within this command (added with ACRX_CMD_TRANSPARENT | ACRX_CMD_SESSION flags), i want to open a DWG file. To do so, i check wether i'm in application context. If it's the case i simply call appContextOpenDocument(), otherwise i use executeInApplicationContext() and a helper to call appContextOpenDocument().
So far everything works fine. I'm happy.
Then i tried to use /ld switch to load my arx when acad.exe loads. Everything is still ok. My document is opened and i can work as i want.
Till now i used AutoCAD 2006 english, but my customers use AutoCAD 2006 italian, so i tested it with italian version and it's still ok when i load my arx manually, but as soon as i use /ld switch appContextOpenDocument() returns eFilerError.
So I formatted a test computer, installed both italian and english AutoCAD on the same machine. English works fine with /ld, but italian fails.
I even tried with the french version which fails as well. So i'm wondering if there is any difference between "original" and translated AutoCAD.
Any clues about this weird issue ?
Thanks !