Please help with connecting plugin library module to call from workspace
(menu command for simply).
I compile a TesterModule in SDKVW1600(131671)_Win and get 2 files:
1. Resource QTime compiled file TesterModule.qtr, what consist only
STR#
and TEXT definitions, with out a MITM resources!!!
2. Dynamic Library module TesterModule.vlb, what have a initialize structure for
calling
VWExtensionMenu( cbp, gMenuDef, NULL ) with gMenuDef definition by default.
static SMenuDef gMenuDef = {
/*Needs*/ 0x00,
/*NeedsNot*/ 0x00,
/*Title*/ {12000, 1},
/*Category*/ {12000, 2},
/*HelpText*/ {12000},
/*VersionCreated*/ 16,
/*VersoinModified*/ 0,
/*VersoinRetired*/ 0
};
After that I copy them to plug-ins folder and run VectorWorks 2010.
A constructor :
CExtMenu::CExtMenu(CallBackPtr cbp)
: VWExtensionMenu( cbp, gMenuDef, NULL )
// : VWExtensionMenu( cbp, gMenuDef, gMenuChunksDef )
{
gSDK->AlertInform( "Tester Mdeule CExtMenu Constructor" );
}
called and show messagebox during loading application?
But in menus list in Workspace Editor I don?t see them:
(/*Title*/ {12000, 1},) -> ?Tester Menu?) for after
dragging in to workspace menu. (((
thanks for all.