mashura Posted May 24, 2011 Share Posted May 24, 2011 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. Quote Link to comment
mashura Posted May 25, 2011 Author Share Posted May 25, 2011 question closed I install VW 2011 and all currently work ))) Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.