Jump to content
Guest

SDK Here I come!

Recommended Posts

Guest Mark Flamer

I have decided to start working with the SDK. VS is to limiting for the projects I am working on. It appears that some serious changes and additions have been made for 2011. I understand the VCOM is a new OO model for plug-in development. I also see that VWFC provides OO wrappers for older SDK calls. I was browsing the VWDev page last night and then again this morning and I swear Vlado added some new content while I was sleeping, so it appears the documentation is still a work in progress. This is all very exciting. What I'm having trouble grasping is what is new and what is the older depreciated part of the SDK. What are the ISDK calls and how do they relate to VWFC? Can someone give me a quick rundown on the different sections and folders in the SDK? Thanks.

Share this post


Link to post
Guest Mark Flamer

Another question. I'm not having any luck with debuging from VS2005 while using VCOM plug-in modules. Vectorworks launches but it appears to be independant of VS. Is it not possible to debug this way with VCOM? Thanks alot.

Share this post


Link to post

Mark--

Can't help you with the Windowsy stuff, but here's how I'm getting it:

- If you see a GS_Foo(gCBP,...) call, that's deprecated.

- New-style calls are gSDK->Foo(...) ... basically a method call on an object that's a big ball of SDK stuff. gSDK is a global instance of the ISDK class that gets defined by the boilerplate in plugin_main().

- The VWFC classes that Vlado has put together wrap up a lot of the side stuff (files, dialogs, folders on disk, etc) into an OO interface. The cpp source for these is in the 2011 sdk distribution (see $SDK_ROOT/SDKLib/VWFC/Sources); you can see that as of VW2011 these are just thin wrappers around old GS_Foo() calls.

For what it's worth, I'm writing a basic (Mac) tutorial at http://ryanmccuaig.net right now. May be a month or two before I'm done, but I'm trying to keep it basic.

Share this post


Link to post
Guest Mark Flamer

Ryan,

Thanks, I had found your site after I posted the questions. It was helpfull in getting me started.

Share this post


Link to post

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×
×
  • Create New...