|
//-----------------------------------------------------------------------------
//----- acrxEntryPoint.cpp
//-----------------------------------------------------------------------------
#include "StdAfx.h"
#include "resource.h"//-----------------------------------------------------------------------------
#define szRDS _RXST("")//-----------------------------------------------------------------------------
//----- ObjectARX EntryPoint
class CArxProject3App : public AcRxArxApp {public:
CArxProject3App () : 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 () {
}
// - ArxProject3._Test command (do not rename)
static void ArxProject3_Test(void)
{
// Add your code for command ArxProject3._Test here acutPrintf(_T("\n代码着色测试!?"));
}
} ;//-----------------------------------------------------------------------------
IMPLEMENT_ARX_ENTRYPOINT(CArxProject3App)ACED_ARXCOMMAND_ENTRY_AUTO(CArxProject3App, ArxProject3, _Test, Test, ACRX_CMD_TRANSPARENT, NULL)
|
|