GstarCAD 2027 Application Program Auto Load Guide

Contents

7cf86bc76b7201bcc7074cdf

Via LISP File

  • 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'
NOTE

  1. This method is available for loading both GRX and .NET application program files.

  2. 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'.

Via Registry

  • Create the following registry key with the following path manually or by programming:

'HKEY_CURRENT_USER\SOFTWARE\Gstarsoft\GstarCAD\R27\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\R27\en-WW'

NOTE

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')

9ef0459f67cffd0036a3976a
NOTE

  1. This method is available for loading both GRX and .NET application program files.

  2. The file path of application program defined in Loader key must be searchable.

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.

.

dc1b463f3493eb9214eadecc