×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

How can use the SW Document Manager in API?

How can use the SW Document Manager in API?

How can use the SW Document Manager in API?

(OP)
Hi!

I like to use in Document Manager in VC++ 6.0 with API

A example wrote this rows:
CComPtr<ISwDMClassFactory> swClassFact;
CComPtr<ISwDMApplication> swDocMgr;

But I not found the interface classes (ISwDMClassFactory and ISwDMApplication) in any type libraries (TLB files).

How access the Document Manager?

Regards,
ZsZs.

RE: How can use the SW Document Manager in API?

You need to email apisupport@solidworks.com and request a license key string for swdocmgr.dll.  Depending on the version of SolidWorks you have, the API help file may include the documentation.  If you're on 2006 or earlier, you will also have to request the documentation.

RE: How can use the SW Document Manager in API?

I forgot to add that this is the only query that should be directly addressed to apisupport.  The first step for all other inquiries should be your VAR.

RE: How can use the SW Document Manager in API?

handleman,

You must have a good VAR if they take API questions.  Mine told me to go directly to API support.

Regards,

Regg

RE: How can use the SW Document Manager in API?

(OP)
Thanks!
What is the VAR ("...should be your VAR.") ?

Regards,
ZsZs.

RE: How can use the SW Document Manager in API?

I believe it was the API support people that said the VAR is the first step.  I certainly wouldn't say that our VAR is all that great.  However, API/VBA is such a powerful feature of SW I think it's a shame any VAR wouldn't have someone with at least enough knowledge to answer the sort of API questions that come up here on Eng-Tips.  I actually started there with my swdocmgr inquiry, but they knew nothing.  My adventure is documented in thread559-167509: Long shot - swDocumentMgr.dll API calls.  By the way, that thread says that swdocmgr no longer needs a key with 07.  This is true only for the first couple of SPs.  For some idiot reason they locked it back up.

VAR: Value Added Reseller.

RE: How can use the SW Document Manager in API?

(OP)
It's shame, really... sad


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources