Knowledge Base

The leading provider of version control solutions and TWAIN SDKs

How to use SourceAnywhere COM SDK in C++

This article introduces how to integrate SourceAnywhere SDK into a C++ application. Please follow steps below to learn how-to.

  1. Create a Dialog based MFC project
  2. In Visual Studio, create a Dialog based MFC prject and generate user interface like below.

  3. Import SDK
  4. Add a line to import the SDK in your code. See below.

    #import “C:\Program Files (x86)\Dynamsoft\SourceAnywhere SDK\SAWSSDK.dll”

  5. Add Event
  6. In your C++ code, please initialize the COM library. Afterwards, kindly create the object and the instance for the app.

  7. Prepare info
  8. Please introduce parameters for connect and login. Some of them can be assigned by default value if you like.

  9. Connect and Login
  10. Complete the operations of Connect and Login by following the code below. For more info, please refer to the SDK document which can be downloaded from our official website. Download>>

  11. Retrieve Repository
  12. Repositories can be retrieved after successfully login the SourceAnywhere serivce.

  13. Run the App
  14. Now please build and run the app. It should be working like following.

For more info, please refer to Dynamsoft Blog at:
Tutorial: How to Use Dynamsoft SAWS COM SDK in C++

If you need any assistance or have any problem, please feel free to contact us.

Article Details

Last Updated
8th of February, 2014

Would you like to...

Print this page Print this page

Email this page Email this page

Post a comment Post a comment

Subscribe me

Add to favorites Add to favorites

Remove Highlighting Remove Highlighting

Edit this Article

Quick Edit

Export to PDF

User Opinions (0 votes)

No users have voted.

How would you rate this answer?

Thank you for rating this answer.

Related Articles

No related articles were found.


No attachments were found.