GstarCAD 2023 Application Program Auto Load Guide
GstarCAD 2023 Application Program Auto Load Guide
Contents
1. Via ' application.ldr ' File
Create an ' application.ldr ' file under the installation path of GstarCAD 2023 and add the GRX files (one file name per line) to be loaded to the ' application.ldr '.
- GRX file needs to be placed under a searchable path if only the file name (without full file path) is added to
- ' application.ldr '.
- This method is only available for loading GRX application programs.
2. Via LISP File
- Add '(load "###.lsp")' to '<GstarCAD Installation directory>\Support\gcad2023doc.lsp', or create
'gcaddoc.lsp' file under any user-defined program supported searchable path and add '(load "###.lsp")'
to it.
- Create the '###.lsp' file under the same user-defined program supported searchable path and edit the
file to add GRX or DLL files to be loaded, as shown below:
(command "netload" "***.dll")
(command "arx" "l" "***.grx")
- The file path format shall be like: 'C:\folder\your.dll'
-
This method is available for loading both GRX and .NET application program files.
-
GRX/DLL file needs to be placed under a program supported searchable path if only the file name (without
full file path) is added to '###.lsp'.
3. Via Registry
-
Create the following registry key with the following path manually or by programming:
-
' HKEY_CURRENT_USER\SOFTWARE\Gstarsoft\GstarCAD\R23\en-WW\Applications'
Another way to create the above registry key is: first get the following path by calling ' acrxProductKey() ' and add ' Applications ' item to the end:
'HKEY_CURRENT_USER\SOFTWARE\Gstarsoft\GstarCAD\R23\en-WW'
Must be ' Applications ', ' Application ' can't work here.
- Create a new item (e.g. ' MyProgram ') under ' Applications ' and add following keys to define the application program to be loaded:
Managed Type: DWORD Data Value: 0 or 1 (0: GRX program, 1: .NET program) Loader Type: String Data Value: File path of application program to be loaded (e.g. ' C:\Folder\your.dll ')
NOTE :
-
This method is available for loading both GRX and .NET application program files.
-
The file path of application program defined in Loader key must be searchable.
4. Copyright
Copyright reserved: Gstarsoft Co.,Ltd
Copying and referencing any part of this document is allowed. No part of this document may be changed
without permission. Please keep this statement when copying or referencing this document.
