Message 1 of 6
Question : How i can keep variable after quit the main function of the dll

Not applicable
02-12-2013
02:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi .
I want to load my DLL, launch the function with a command. After i quit and lauch the same command. (The DLL is already in memory).
(using sessionflags.)
It is possible to keep the variable i have used in the the first launch for use in the second launch ?
The main function is for adding block in a collection (the user select block). The programm quit, so the user can open a another dwg and run the main function for adding another block. (i memorize name, handle, name of file etc..)
Another question : it is possible to create a form in autocad but if the only active document is closed, the form is not closed and visible. ?
All there question is for create a best solution for manage my collection of block.
thank.