Less dangerous, since now it's only ACad which can do anything to any place. Set acad to start in administrator mode (right-click the shortcut on your desktop / start menu and select Properties, under Compatibility turn on "Run this program as an administrator).Dangerous, since now any virus can do anything to your PC. Set your username to an administrator, so all programs you open can access all folders with write privileges.So it fails to even write that temporary file. The issue is that in most cases the Windows security prevents a program from altering / adding stuff under the Program Files folders (which is where acad.exe is installed). It saves the DCL file to a temporary file in the same folder where acad.exe is stored and then runs some lisp to open it and show it. So what happens when you use the DCL preview? I think you have a solution for that also.Unfortunately that is due to the Windows security settings: Because VLIDE was made quite some time ago (I think the 1st version of it was around 1997 for ACad R13/R14) it was made for the intent of working under Windows 95 / NT. The Dialog box to select the code is not opening. Once you have debugged each DCL file, you can load your program and test the dialog boxes in combination.The PREVIEW DCL IN EDITOR option is not wirking. If new_dialog returns T, call the start_dialog function to display the dialog box. The new_dialog function returns T if it succeeds otherwise it returns nil. You pass this value to the new_dialog function to initialize individual dialog boxes in the file. If the dialog box loads successfully, load_dialog returns a positive integer that identifies the DCL file. The following load_dialog function loads the DCL file hellofile.dcl: You can also load and debug each file manually in AutoCAD with the load_dialog function. When you test the program, acad.dce shows errors (if any) from only the DCL file most recently read. If your application uses multiple DCL files, the acad.dce file is overwritten (or deleted if no errors occur) when each new file is loaded. When a DCL file is read successfully, the acad.dce file is deleted. The acad.dce file is placed in the current working directory. You can inspect the contents of acad.dce to find the problem.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |