summaryrefslogtreecommitdiffstats
path: root/Master/CGuCAD/Beispiele/MakeCommands
diff options
context:
space:
mode:
authorSven Eisenhauer <sven@sven-eisenhauer.net>2023-11-10 15:11:48 +0100
committerSven Eisenhauer <sven@sven-eisenhauer.net>2023-11-10 15:11:48 +0100
commit33613a85afc4b1481367fbe92a17ee59c240250b (patch)
tree670b842326116b376b505ec2263878912fca97e2 /Master/CGuCAD/Beispiele/MakeCommands
downloadStudium-33613a85afc4b1481367fbe92a17ee59c240250b.tar.gz
Studium-33613a85afc4b1481367fbe92a17ee59c240250b.tar.bz2
add new repoHEADmaster
Diffstat (limited to 'Master/CGuCAD/Beispiele/MakeCommands')
-rw-r--r--Master/CGuCAD/Beispiele/MakeCommands/MakeCommands.ncbbin0 -> 29477888 bytes
-rw-r--r--Master/CGuCAD/Beispiele/MakeCommands/MakeCommands.sln20
-rw-r--r--Master/CGuCAD/Beispiele/MakeCommands/MakeCommands.suobin0 -> 9216 bytes
-rw-r--r--Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/BuildLog.htmbin0 -> 14862 bytes
-rw-r--r--Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/CGCADMakeCommands.arxbin0 -> 114688 bytes
-rw-r--r--Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/CGCADMakeCommands.arx.embed.manifest23
-rw-r--r--Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/CGCADMakeCommands.arx.embed.manifest.resbin0 -> 1224 bytes
-rw-r--r--Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/CGCADMakeCommands.arx.intermediate.manifest23
-rw-r--r--Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/CGCADMakeCommands.ilkbin0 -> 568480 bytes
-rw-r--r--Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/CGCADMakeCommands.pchbin0 -> 29622272 bytes
-rw-r--r--Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/DocData.objbin0 -> 134265 bytes
-rw-r--r--Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/MakeCommands.expbin0 -> 651 bytes
-rw-r--r--Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/MakeCommands.libbin0 -> 1934 bytes
-rw-r--r--Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/MakeCommands.objbin0 -> 23239 bytes
-rw-r--r--Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/MakeCommands.pdbbin0 -> 4697088 bytes
-rw-r--r--Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/MakeCommands.resbin0 -> 932 bytes
-rw-r--r--Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/StdAfx.objbin0 -> 374386 bytes
-rw-r--r--Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/acrxEntryPoint.objbin0 -> 57398 bytes
-rw-r--r--Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/mt.dep1
-rw-r--r--Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/vc80.idbbin0 -> 2419712 bytes
-rw-r--r--Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/vc80.pdbbin0 -> 1994752 bytes
-rw-r--r--Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/DocData.cpp43
-rw-r--r--Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/DocData.h40
-rw-r--r--Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/MakeCommands.cpp59
-rw-r--r--Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/MakeCommands.rc101
-rw-r--r--Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/MakeCommands.vcproj269
-rw-r--r--Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/MakeCommands.vcproj.PC3000-ER.Stefan Wiesmann.user65
-rw-r--r--Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Resource.h16
-rw-r--r--Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/StdAfx.cpp27
-rw-r--r--Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/StdAfx.h104
-rw-r--r--Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/acrxEntryPoint.cpp124
31 files changed, 915 insertions, 0 deletions
diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands.ncb b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands.ncb
new file mode 100644
index 0000000..17ab4d3
--- /dev/null
+++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands.ncb
Binary files differ
diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands.sln b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands.sln
new file mode 100644
index 0000000..16b2752
--- /dev/null
+++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands.sln
@@ -0,0 +1,20 @@
+
+Microsoft Visual Studio Solution File, Format Version 9.00
+# Visual Studio 2005
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MakeCommands", "MakeCommands\MakeCommands.vcproj", "{38C5FC38-450A-4EF9-A3A6-8744DE94E98E}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Win32 = Debug|Win32
+ Release|Win32 = Release|Win32
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {38C5FC38-450A-4EF9-A3A6-8744DE94E98E}.Debug|Win32.ActiveCfg = Debug|Win32
+ {38C5FC38-450A-4EF9-A3A6-8744DE94E98E}.Debug|Win32.Build.0 = Debug|Win32
+ {38C5FC38-450A-4EF9-A3A6-8744DE94E98E}.Release|Win32.ActiveCfg = Release|Win32
+ {38C5FC38-450A-4EF9-A3A6-8744DE94E98E}.Release|Win32.Build.0 = Release|Win32
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands.suo b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands.suo
new file mode 100644
index 0000000..8829ff4
--- /dev/null
+++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands.suo
Binary files differ
diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/BuildLog.htm b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/BuildLog.htm
new file mode 100644
index 0000000..1c73ad5
--- /dev/null
+++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/BuildLog.htm
Binary files differ
diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/CGCADMakeCommands.arx b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/CGCADMakeCommands.arx
new file mode 100644
index 0000000..bfef9f5
--- /dev/null
+++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/CGCADMakeCommands.arx
Binary files differ
diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/CGCADMakeCommands.arx.embed.manifest b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/CGCADMakeCommands.arx.embed.manifest
new file mode 100644
index 0000000..3a387b0
--- /dev/null
+++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/CGCADMakeCommands.arx.embed.manifest
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type="win32" name="Microsoft.VC80.CRT" version="8.0.50727.762" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
+ </dependentAssembly>
+ </dependency>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type="win32" name="Microsoft.VC80.MFC" version="8.0.50727.762" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
+ </dependentAssembly>
+ </dependency>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type="win32" name="Microsoft.VC80.CRT" version="8.0.50608.0" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
+ </dependentAssembly>
+ </dependency>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type="win32" name="Microsoft.VC80.MFC" version="8.0.50608.0" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
+ </dependentAssembly>
+ </dependency>
+</assembly> \ No newline at end of file
diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/CGCADMakeCommands.arx.embed.manifest.res b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/CGCADMakeCommands.arx.embed.manifest.res
new file mode 100644
index 0000000..8d75e15
--- /dev/null
+++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/CGCADMakeCommands.arx.embed.manifest.res
Binary files differ
diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/CGCADMakeCommands.arx.intermediate.manifest b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/CGCADMakeCommands.arx.intermediate.manifest
new file mode 100644
index 0000000..0e2b419
--- /dev/null
+++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/CGCADMakeCommands.arx.intermediate.manifest
@@ -0,0 +1,23 @@
+<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
+<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type='win32' name='Microsoft.VC80.CRT' version='8.0.50727.762' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' />
+ </dependentAssembly>
+ </dependency>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type='win32' name='Microsoft.VC80.MFC' version='8.0.50727.762' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' />
+ </dependentAssembly>
+ </dependency>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type='win32' name='Microsoft.VC80.CRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' />
+ </dependentAssembly>
+ </dependency>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type='win32' name='Microsoft.VC80.MFC' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' />
+ </dependentAssembly>
+ </dependency>
+</assembly>
diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/CGCADMakeCommands.ilk b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/CGCADMakeCommands.ilk
new file mode 100644
index 0000000..7e5fb93
--- /dev/null
+++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/CGCADMakeCommands.ilk
Binary files differ
diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/CGCADMakeCommands.pch b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/CGCADMakeCommands.pch
new file mode 100644
index 0000000..826e849
--- /dev/null
+++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/CGCADMakeCommands.pch
Binary files differ
diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/DocData.obj b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/DocData.obj
new file mode 100644
index 0000000..09e5c2e
--- /dev/null
+++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/DocData.obj
Binary files differ
diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/MakeCommands.exp b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/MakeCommands.exp
new file mode 100644
index 0000000..7dfa6b0
--- /dev/null
+++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/MakeCommands.exp
Binary files differ
diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/MakeCommands.lib b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/MakeCommands.lib
new file mode 100644
index 0000000..1f04ace
--- /dev/null
+++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/MakeCommands.lib
Binary files differ
diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/MakeCommands.obj b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/MakeCommands.obj
new file mode 100644
index 0000000..f66655b
--- /dev/null
+++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/MakeCommands.obj
Binary files differ
diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/MakeCommands.pdb b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/MakeCommands.pdb
new file mode 100644
index 0000000..e9c60c0
--- /dev/null
+++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/MakeCommands.pdb
Binary files differ
diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/MakeCommands.res b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/MakeCommands.res
new file mode 100644
index 0000000..a7792e8
--- /dev/null
+++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/MakeCommands.res
Binary files differ
diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/StdAfx.obj b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/StdAfx.obj
new file mode 100644
index 0000000..555ed95
--- /dev/null
+++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/StdAfx.obj
Binary files differ
diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/acrxEntryPoint.obj b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/acrxEntryPoint.obj
new file mode 100644
index 0000000..6cd8887
--- /dev/null
+++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/acrxEntryPoint.obj
Binary files differ
diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/mt.dep b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/mt.dep
new file mode 100644
index 0000000..4c7ceb1
--- /dev/null
+++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/mt.dep
@@ -0,0 +1 @@
+ die Manifestressource wurde zuletzt um 10:58:11,32 am 28.03.2007 aktualisiert
diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/vc80.idb b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/vc80.idb
new file mode 100644
index 0000000..6f6d3f9
--- /dev/null
+++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/vc80.idb
Binary files differ
diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/vc80.pdb b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/vc80.pdb
new file mode 100644
index 0000000..b582b5b
--- /dev/null
+++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Debug/vc80.pdb
Binary files differ
diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/DocData.cpp b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/DocData.cpp
new file mode 100644
index 0000000..7429228
--- /dev/null
+++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/DocData.cpp
@@ -0,0 +1,43 @@
+// (C) Copyright 2002-2005 by Autodesk, Inc.
+//
+// Permission to use, copy, modify, and distribute this software in
+// object code form for any purpose and without fee is hereby granted,
+// provided that the above copyright notice appears in all copies and
+// that both that copyright notice and the limited warranty and
+// restricted rights notice below appear in all supporting
+// documentation.
+//
+// AUTODESK PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
+// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
+// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
+// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
+// UNINTERRUPTED OR ERROR FREE.
+//
+// Use, duplication, or disclosure by the U.S. Government is subject to
+// restrictions set forth in FAR 52.227-19 (Commercial Computer
+// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
+// (Rights in Technical Data and Computer Software), as applicable.
+//
+
+//-----------------------------------------------------------------------------
+//----- DocData.cpp : Implementation file
+//-----------------------------------------------------------------------------
+#include "StdAfx.h"
+
+//-----------------------------------------------------------------------------
+//----- The one and only document manager object. You can use the DocVars object to retrieve
+//----- document specific data throughout your application
+AcApDataManager<CDocData> DocVars ;
+
+//-----------------------------------------------------------------------------
+//----- Implementation of the document data class.
+CDocData::CDocData () {
+}
+
+//-----------------------------------------------------------------------------
+CDocData::CDocData (const CDocData &data) {
+}
+
+//-----------------------------------------------------------------------------
+CDocData::~CDocData () {
+}
diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/DocData.h b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/DocData.h
new file mode 100644
index 0000000..d466dd4
--- /dev/null
+++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/DocData.h
@@ -0,0 +1,40 @@
+// (C) Copyright 2002-2005 by Autodesk, Inc.
+//
+// Permission to use, copy, modify, and distribute this software in
+// object code form for any purpose and without fee is hereby granted,
+// provided that the above copyright notice appears in all copies and
+// that both that copyright notice and the limited warranty and
+// restricted rights notice below appear in all supporting
+// documentation.
+//
+// AUTODESK PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
+// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
+// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
+// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
+// UNINTERRUPTED OR ERROR FREE.
+//
+// Use, duplication, or disclosure by the U.S. Government is subject to
+// restrictions set forth in FAR 52.227-19 (Commercial Computer
+// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
+// (Rights in Technical Data and Computer Software), as applicable.
+//
+
+//-----------------------------------------------------------------------------
+//----- DocData.h : include file for document specific data. An instance of this
+//----- class is automatically created and managed by the AsdkDataManager class.
+//----- See the AsdkDmgr.h / DocData.cpp for more datails
+//-----------------------------------------------------------------------------
+#pragma once
+
+//-----------------------------------------------------------------------------
+//----- Here you can store the document / database related data.
+class CDocData {
+
+ //----- TODO: here you can add your variables
+
+public:
+ CDocData () ;
+ CDocData (const CDocData &data) ;
+ ~CDocData () ;
+
+} ;
diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/MakeCommands.cpp b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/MakeCommands.cpp
new file mode 100644
index 0000000..ce57f78
--- /dev/null
+++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/MakeCommands.cpp
@@ -0,0 +1,59 @@
+// (C) Copyright 2002-2005 by Autodesk, Inc.
+//
+// Permission to use, copy, modify, and distribute this software in
+// object code form for any purpose and without fee is hereby granted,
+// provided that the above copyright notice appears in all copies and
+// that both that copyright notice and the limited warranty and
+// restricted rights notice below appear in all supporting
+// documentation.
+//
+// AUTODESK PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
+// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
+// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
+// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
+// UNINTERRUPTED OR ERROR FREE.
+//
+// Use, duplication, or disclosure by the U.S. Government is subject to
+// restrictions set forth in FAR 52.227-19 (Commercial Computer
+// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
+// (Rights in Technical Data and Computer Software), as applicable.
+//
+
+//-----------------------------------------------------------------------------
+//- MakeCommands.cpp : Initialization functions
+//-----------------------------------------------------------------------------
+#include "StdAfx.h"
+#include "resource.h"
+#include <afxdllx.h>
+
+//-----------------------------------------------------------------------------
+//- Define the sole extension module object.
+AC_IMPLEMENT_EXTENSION_MODULE(MakeCommandsDLL)
+//- Please do not remove the 3 following lines. These are here to make .NET MFC Wizards
+//- running properly. The object will not compile but is require by .NET to recognize
+//- this project as being an MFC project
+#ifdef NEVER
+AFX_EXTENSION_MODULE MakeCommandsExtDLL ={ NULL, NULL } ;
+#endif
+
+//- Now you can use the CAcModuleResourceOverride class in
+//- your application to switch to the correct resource instance.
+//- Please see the ObjectARX Documentation for more details
+
+//-----------------------------------------------------------------------------
+//- DLL Entry Point
+extern "C"
+BOOL WINAPI DllMain (HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved) {
+ //- Remove this if you use lpReserved
+ UNREFERENCED_PARAMETER(lpReserved) ;
+
+ if ( dwReason == DLL_PROCESS_ATTACH ) {
+ _hdllInstance =hInstance ;
+ MakeCommandsDLL.AttachInstance (hInstance) ;
+ InitAcUiDLL () ;
+ } else if ( dwReason == DLL_PROCESS_DETACH ) {
+ MakeCommandsDLL.DetachInstance () ;
+ }
+ return (TRUE) ;
+}
+
diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/MakeCommands.rc b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/MakeCommands.rc
new file mode 100644
index 0000000..be34adc
--- /dev/null
+++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/MakeCommands.rc
@@ -0,0 +1,101 @@
+//Microsoft Visual C++ generated resource script.
+//
+#include "resource.h"
+
+#define APSTUDIO_READONLY_SYMBOLS
+/////////////////////////////////////////////////////////////////////////////
+//
+// Generated from the TEXTINCLUDE 2 resource.
+//
+#include "afxres.h"
+
+/////////////////////////////////////////////////////////////////////////////
+#undef APSTUDIO_READONLY_SYMBOLS
+
+#ifdef APSTUDIO_INVOKED
+/////////////////////////////////////////////////////////////////////////////
+//
+// TEXTINCLUDE
+//
+
+1 TEXTINCLUDE DISCARDABLE
+BEGIN
+ "resource.h\0"
+END
+
+2 TEXTINCLUDE DISCARDABLE
+BEGIN
+ "#include ""afxres.h""\r\n"
+ "\0"
+END
+
+3 TEXTINCLUDE DISCARDABLE
+BEGIN
+ "\0"
+END
+
+#endif // APSTUDIO_INVOKED
+
+#ifndef _MAC
+/////////////////////////////////////////////////////////////////////////////
+//
+// Version
+//
+
+VS_VERSION_INFO VERSIONINFO
+ FILEVERSION 1,0,0,1
+ PRODUCTVERSION 1,0,0,1
+ FILEFLAGSMASK 0x3fL
+#ifdef _DEBUG
+ FILEFLAGS 0x1L
+#else
+ FILEFLAGS 0x0L
+#endif
+ FILEOS 0x4L
+ FILETYPE 0x2L
+ FILESUBTYPE 0x0L
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "040904B0"
+ BEGIN
+ VALUE "CompanyName", "\0"
+ VALUE "FileDescription", "MakeCommands ObjectARX application\0"
+ VALUE "FileVersion", "1, 0, 0, 1\0"
+ VALUE "InternalName", "MakeCommands\0"
+ VALUE "LegalCopyright", "Copyright © 2002\0"
+ VALUE "OriginalFilename", "CGCADMakeCommands.arx\0"
+ VALUE "ProductName", "MakeCommands Application\0"
+ VALUE "ProductVersion", "1, 0, 0, 1\0"
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x0409, 0x04B0
+ END
+END
+
+#endif // !_MAC
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// String Table
+//
+
+STRINGTABLE DISCARDABLE
+BEGIN
+ IDS_PROJNAME "MakeCommands"
+END
+
+
+
+/////////////////////////////////////////////////////////////////////////////
+
+#ifndef APSTUDIO_INVOKED
+/////////////////////////////////////////////////////////////////////////////
+//
+// Generated from the TEXTINCLUDE 3 resource.
+//
+/////////////////////////////////////////////////////////////////////////////
+#endif // not APSTUDIO_INVOKED
+
diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/MakeCommands.vcproj b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/MakeCommands.vcproj
new file mode 100644
index 0000000..4f69b4c
--- /dev/null
+++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/MakeCommands.vcproj
@@ -0,0 +1,269 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="8,00"
+ Name="MakeCommands"
+ ProjectGUID="{38C5FC38-450A-4EF9-A3A6-8744DE94E98E}"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="Debug"
+ IntermediateDirectory="Debug"
+ ConfigurationType="2"
+ UseOfMFC="2"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ AdditionalUsingDirectories="E:\CAD\AutoCAD 2007"
+ PreprocessorDefinitions="WIN32;_WINDOWS;MAKECOMMANDS_MODULE;_AFXEXT;_ACRXAPP"
+ StringPooling="false"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="2"
+ BufferSecurityCheck="true"
+ TreatWChar_tAsBuiltInType="true"
+ ForceConformanceInForLoopScope="true"
+ RuntimeTypeInfo="true"
+ UsePrecompiledHeader="2"
+ WarningLevel="1"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ PreprocessorDefinitions=""
+ Culture="1033"
+ AdditionalIncludeDirectories="$(IntDir)"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ OutputFile="$(outdir)/CGCADMakeCommands.arx"
+ LinkIncremental="2"
+ LinkDLL="true"
+ GenerateDebugInformation="true"
+ ProgramDatabaseFile="$(OutDir)/MakeCommands.pdb"
+ SubSystem="2"
+ ImportLibrary="$(OutDir)/MakeCommands.lib"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="Release"
+ IntermediateDirectory="Release"
+ ConfigurationType="2"
+ UseOfMFC="2"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ AdditionalUsingDirectories="E:\CAD\AutoCAD 2007"
+ PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG;MAKECOMMANDS_MODULE;;_AFXEXT;_ACRXAPP"
+ StringPooling="true"
+ MinimalRebuild="false"
+ BasicRuntimeChecks="0"
+ RuntimeLibrary="2"
+ BufferSecurityCheck="true"
+ TreatWChar_tAsBuiltInType="true"
+ ForceConformanceInForLoopScope="true"
+ RuntimeTypeInfo="true"
+ UsePrecompiledHeader="2"
+ WarningLevel="1"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="0"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ PreprocessorDefinitions="NDEBUG"
+ Culture="1033"
+ AdditionalIncludeDirectories="$(IntDir)"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ OutputFile="$(outdir)/CGCADMakeCommands.arx"
+ LinkIncremental="2"
+ LinkDLL="true"
+ GenerateDebugInformation="false"
+ ProgramDatabaseFile=""
+ SubSystem="2"
+ ImportLibrary="$(OutDir)/MakeCommands.lib"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cc;cxx;def;idl;odl"
+ >
+ <File
+ RelativePath=".\acrxEntryPoint.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\DocData.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\MakeCommands.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\StdAfx.cpp"
+ >
+ <FileConfiguration
+ Name="Debug|Win32"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ UsePrecompiledHeader="1"
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Release|Win32"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ UsePrecompiledHeader="1"
+ />
+ </FileConfiguration>
+ </File>
+ </Filter>
+ <Filter
+ Name="Include Files"
+ Filter="h;hh;hxx"
+ >
+ <File
+ RelativePath=".\DocData.h"
+ >
+ </File>
+ <File
+ RelativePath=".\Resource.h"
+ >
+ </File>
+ <File
+ RelativePath=".\StdAfx.h"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;bmp;cur;jpg;gif"
+ >
+ <File
+ RelativePath=".\MakeCommands.rc"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Miscellaneous Files"
+ Filter="reg;rgs;mak;clw;vsdir;vsz;css;inf;vcproj;csproj"
+ >
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/MakeCommands.vcproj.PC3000-ER.Stefan Wiesmann.user b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/MakeCommands.vcproj.PC3000-ER.Stefan Wiesmann.user
new file mode 100644
index 0000000..3cf2b5e
--- /dev/null
+++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/MakeCommands.vcproj.PC3000-ER.Stefan Wiesmann.user
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioUserFile
+ ProjectType="Visual C++"
+ Version="8,00"
+ ShowAllFiles="false"
+ >
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ >
+ <DebugSettings
+ Command="E:\CAD\AutoCAD 2007\acad.exe"
+ WorkingDirectory=""
+ CommandArguments=""
+ Attach="false"
+ DebuggerType="3"
+ Remote="1"
+ RemoteMachine="PC3000-ER"
+ RemoteCommand=""
+ HttpUrl=""
+ PDBPath=""
+ SQLDebugging=""
+ Environment=""
+ EnvironmentMerge="true"
+ DebuggerFlavor=""
+ MPIRunCommand=""
+ MPIRunArguments=""
+ MPIRunWorkingDirectory=""
+ ApplicationCommand=""
+ ApplicationArguments=""
+ ShimCommand=""
+ MPIAcceptMode=""
+ MPIAcceptFilter=""
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ >
+ <DebugSettings
+ Command="E:\CAD\AutoCAD 2007\acad.exe"
+ WorkingDirectory=""
+ CommandArguments=""
+ Attach="false"
+ DebuggerType="3"
+ Remote="1"
+ RemoteMachine="PC3000-ER"
+ RemoteCommand=""
+ HttpUrl=""
+ PDBPath=""
+ SQLDebugging=""
+ Environment=""
+ EnvironmentMerge="true"
+ DebuggerFlavor=""
+ MPIRunCommand=""
+ MPIRunArguments=""
+ MPIRunWorkingDirectory=""
+ ApplicationCommand=""
+ ApplicationArguments=""
+ ShimCommand=""
+ MPIAcceptMode=""
+ MPIAcceptFilter=""
+ />
+ </Configuration>
+ </Configurations>
+</VisualStudioUserFile>
diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Resource.h b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Resource.h
new file mode 100644
index 0000000..bb17f48
--- /dev/null
+++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/Resource.h
@@ -0,0 +1,16 @@
+//{{NO_DEPENDENCIES}}
+// Microsoft Visual C++ generated include file.
+// Used by MakeCommands.rc
+//
+#define IDS_PROJNAME 100
+
+// Next default values for new objects
+//
+#ifdef APSTUDIO_INVOKED
+#ifndef APSTUDIO_READONLY_SYMBOLS
+#define _APS_NEXT_RESOURCE_VALUE 102
+#define _APS_NEXT_COMMAND_VALUE 32768
+#define _APS_NEXT_CONTROL_VALUE 100
+#define _APS_NEXT_SYMED_VALUE 102
+#endif
+#endif
diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/StdAfx.cpp b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/StdAfx.cpp
new file mode 100644
index 0000000..26d0a6a
--- /dev/null
+++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/StdAfx.cpp
@@ -0,0 +1,27 @@
+// (C) Copyright 2002-2005 by Autodesk, Inc.
+//
+// Permission to use, copy, modify, and distribute this software in
+// object code form for any purpose and without fee is hereby granted,
+// provided that the above copyright notice appears in all copies and
+// that both that copyright notice and the limited warranty and
+// restricted rights notice below appear in all supporting
+// documentation.
+//
+// AUTODESK PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
+// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
+// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
+// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
+// UNINTERRUPTED OR ERROR FREE.
+//
+// Use, duplication, or disclosure by the U.S. Government is subject to
+// restrictions set forth in FAR 52.227-19 (Commercial Computer
+// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
+// (Rights in Technical Data and Computer Software), as applicable.
+//
+
+//-----------------------------------------------------------------------------
+//------ StdAfx.cpp : source file that includes just the standard includes
+//------ StdAfx.pch will be the pre-compiled header
+//------ StdAfx.obj will contain the pre-compiled type information
+//-----------------------------------------------------------------------------
+#include "StdAfx.h"
diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/StdAfx.h b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/StdAfx.h
new file mode 100644
index 0000000..a6c2d9b
--- /dev/null
+++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/StdAfx.h
@@ -0,0 +1,104 @@
+// (C) Copyright 2002-2005 by Autodesk, Inc.
+//
+// Permission to use, copy, modify, and distribute this software in
+// object code form for any purpose and without fee is hereby granted,
+// provided that the above copyright notice appears in all copies and
+// that both that copyright notice and the limited warranty and
+// restricted rights notice below appear in all supporting
+// documentation.
+//
+// AUTODESK PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
+// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
+// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
+// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
+// UNINTERRUPTED OR ERROR FREE.
+//
+// Use, duplication, or disclosure by the U.S. Government is subject to
+// restrictions set forth in FAR 52.227-19 (Commercial Computer
+// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
+// (Rights in Technical Data and Computer Software), as applicable.
+//
+
+//-----------------------------------------------------------------------------
+//- StdAfx.h : include file for standard system include files,
+//- or project specific include files that are used frequently,
+//- but are changed infrequently
+//-----------------------------------------------------------------------------
+#pragma once
+
+#pragma pack (push, 8)
+#pragma warning(disable: 4786 4996)
+//#pragma warning(disable: 4098)
+
+//-----------------------------------------------------------------------------
+#define STRICT
+
+#ifndef VC_EXTRALEAN
+#define VC_EXTRALEAN //- Exclude rarely-used stuff from Windows headers
+#endif
+
+//- Modify the following defines if you have to target a platform prior to the ones specified below.
+//- Refer to MSDN for the latest info on corresponding values for different platforms.
+#ifndef WINVER //- Allow use of features specific to Windows 95 and Windows NT 4 or later.
+#define WINVER 0x0400 //- Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
+#endif
+
+#ifndef _WIN32_WINNT //- Allow use of features specific to Windows NT 4 or later.
+#define _WIN32_WINNT 0x0400 //- Change this to the appropriate value to target Windows 2000 or later.
+#endif
+
+#ifndef _WIN32_WINDOWS //- Allow use of features specific to Windows 98 or later.
+#define _WIN32_WINDOWS 0x0410 //- Change this to the appropriate value to target Windows Me or later.
+#endif
+
+#ifndef _WIN32_IE //- Allow use of features specific to IE 4.0 or later.
+#define _WIN32_IE 0x0400 //- Change this to the appropriate value to target IE 5.0 or later.
+#endif
+
+
+//- ObjectARX and OMF headers needs this
+#include <map>
+
+//-----------------------------------------------------------------------------
+#include <afxwin.h> //- MFC core and standard components
+#include <afxext.h> //- MFC extensions
+
+#ifndef _AFX_NO_OLE_SUPPORT
+#include <afxole.h> //- MFC OLE classes
+#include <afxodlgs.h> //- MFC OLE dialog classes
+#include <afxdisp.h> //- MFC Automation classes
+#endif // _AFX_NO_OLE_SUPPORT
+
+#ifndef _AFX_NO_DB_SUPPORT
+#include <afxdb.h> //- MFC ODBC database classes
+#endif // _AFX_NO_DB_SUPPORT
+
+#ifndef _AFX_NO_DAO_SUPPORT
+#include <afxdao.h> //- MFC DAO database classes
+#endif // _AFX_NO_DAO_SUPPORT
+
+#include <afxdtctl.h> //- MFC support for Internet Explorer 4 Common Controls
+#ifndef _AFX_NO_AFXCMN_SUPPORT
+#include <afxcmn.h> //- MFC support for Windows Common Controls
+#endif // _AFX_NO_AFXCMN_SUPPORT
+
+//-----------------------------------------------------------------------------
+//- Include ObjectDBX/ObjectARX headers
+//- Uncomment one of the following lines to bring a given library in your project.
+//#define _BREP_SUPPORT_ //- Support for the BRep API
+//#define _HLR_SUPPORT_ //- Support for the Hidden Line Removal API
+//#define _AMODELER_SUPPORT_ //- Support for the AModeler API
+//#define _ASE_SUPPORT_ //- Support for the ASI/ASE API
+//#define _RENDER_SUPPORT_ //- Support for the AutoCAD Render API
+//#define _ARX_CUSTOM_DRAG_N_DROP_ //- Support for the ObjectARX Drag'n Drop API
+//#define _INC_LEAGACY_HEADERS_ //- Include legacy headers in this project
+#include "arxHeaders.h"
+
+//-----------------------------------------------------------------------------
+#include "DocData.h" //- Your document specific data class holder
+
+//- Declare it as an extern here so that it becomes available in all modules
+extern AcApDataManager<CDocData> DocVars ;
+
+#pragma pack (pop)
+
diff --git a/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/acrxEntryPoint.cpp b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/acrxEntryPoint.cpp
new file mode 100644
index 0000000..30955bf
--- /dev/null
+++ b/Master/CGuCAD/Beispiele/MakeCommands/MakeCommands/acrxEntryPoint.cpp
@@ -0,0 +1,124 @@
+// (C) Copyright 2002-2005 by Autodesk, Inc.
+//
+// Permission to use, copy, modify, and distribute this software in
+// object code form for any purpose and without fee is hereby granted,
+// provided that the above copyright notice appears in all copies and
+// that both that copyright notice and the limited warranty and
+// restricted rights notice below appear in all supporting
+// documentation.
+//
+// AUTODESK PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
+// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
+// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
+// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
+// UNINTERRUPTED OR ERROR FREE.
+//
+// Use, duplication, or disclosure by the U.S. Government is subject to
+// restrictions set forth in FAR 52.227-19 (Commercial Computer
+// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
+// (Rights in Technical Data and Computer Software), as applicable.
+//
+
+//-----------------------------------------------------------------------------
+//----- acrxEntryPoint.h
+//-----------------------------------------------------------------------------
+#include "StdAfx.h"
+#include "resource.h"
+
+//-----------------------------------------------------------------------------
+#define szRDS _RXST("CGCAD")
+
+//-----------------------------------------------------------------------------
+//----- ObjectARX EntryPoint
+class CMakeCommandsApp : public AcRxArxApp {
+
+public:
+ CMakeCommandsApp () : AcRxArxApp () {}
+
+ virtual AcRx::AppRetCode On_kInitAppMsg (void *pkt) {
+ // TODO: Load dependencies here
+
+ // You *must* call On_kInitAppMsg here
+ AcRx::AppRetCode retCode =AcRxArxApp::On_kInitAppMsg (pkt) ;
+
+ // TODO: Add your initialization code here
+
+ return (retCode) ;
+ }
+
+ virtual AcRx::AppRetCode On_kUnloadAppMsg (void *pkt) {
+ // TODO: Add your code here
+
+ // You *must* call On_kUnloadAppMsg here
+ AcRx::AppRetCode retCode =AcRxArxApp::On_kUnloadAppMsg (pkt) ;
+
+ // TODO: Unload dependencies here
+
+ return (retCode) ;
+ }
+
+ virtual void RegisterServerComponents () {
+ }
+
+
+ // - CGCADMakeCommands.makeCommands command (do not rename)
+ static void CGCADMakeCommandsmakeCommands(void)
+ {
+ // Add your code for command CGCADMakeCommands.makeCommands here
+
+ struct resbuf OldOsnap, NewOsnap;
+ // Get current OSNAP
+ acedGetVar(_T("OSMODE"), &OldOsnap);
+ // Chage OSNAP settings
+ NewOsnap.restype = RTSHORT;
+ NewOsnap.resval.rint = 0;
+ acedSetVar(_T("OSMODE"), &NewOsnap);
+ // Do something...
+
+ //Get a user input for Point
+ ads_point pointResult, point;
+ point[X] = 100.;
+ point[Y] = 100.;
+ if (acedGetPoint(point, _T("Click a Point:"),pointResult) == RTNORM)
+ {
+ //Make a Circle and a Line
+ acedCommand(RTSTR, _T("_circle"), RTPOINT, pointResult, RTSTR, PAUSE,
+ RTSTR, _T("_line"), RTSTR, _T("150,150"), RTSTR, _T("20,20"), RTSTR, _T(""), 0);
+ }
+
+ // ZOOM-Command and wait for user input
+ acedCommand(RTSTR, _T("_zoom"), RTSTR, PAUSE, RTSTR, PAUSE, 0);
+
+ //Move the last Entity
+ ads_point pt;
+ pt[X] = pt[Y] = 20.;
+ pt[Z] = 0.0;
+ struct resbuf *myCom;
+ myCom = acutBuildList(RTSTR,_T("_MOVE"),RTSTR,_T("_LAST"),RTSTR,"",RTPOINT,pt,RTSTR,PAUSE,0);
+ acedCmd(myCom);
+ acedCommand(RTNONE);
+ acutRelRb(myCom);
+
+ // ... Get back the old OSNAP
+ acedSetVar(_T("OSMODE"), &OldOsnap);
+
+ //Change a sytem variable
+ struct resbuf rb, rb1;
+ acedGetVar(_T("FILLETRAD"), &rb);
+ rb1.restype = RTREAL;
+ rb1.resval.rreal = 1.0;
+ acedSetVar(_T("FILLETRAD"), &rb1);
+
+ // Call REDRAW
+ struct resbuf *cmdlist;
+ cmdlist = acutBuildList(RTSTR, _T("_REDRAW"), 0);
+ acedCmd(cmdlist);
+ acedCommand(RTNONE);
+ acutRelRb(cmdlist);
+ }
+} ;
+
+//-----------------------------------------------------------------------------
+IMPLEMENT_ARX_ENTRYPOINT(CMakeCommandsApp)
+
+ACED_ARXCOMMAND_ENTRY_AUTO(CMakeCommandsApp, CGCADMakeCommands, makeCommands, genKommando, ACRX_CMD_TRANSPARENT, NULL)