The leading provider of version control solution and TWAIN SDK
The leading provider of version control solution and TWAIN SDK

Dynamsoft Forums

Support for Version Control, Bug Tracking and Configuration Management Software
* Login   * Register
* FAQ    * Search

It is currently Sat Feb 11, 2012 11:11 pm




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: SourceAnywhere for VSS Professional SDK 5.4 Problems
PostPosted: Wed Oct 14, 2009 4:12 am 
Offline

Joined: Mon May 05, 2008 1:38 am
Posts: 15
hi ,
i had application developed using Dynamsoft SourceAnywhere for VSS 5.2 Professional SDK
now i m using Dynamsoft SourceAnywhere for VSS 5.4 Professional SDK.
but i m facing problem in GetSubProjectsFromParent Method .
there is out Parameter subproject of type SubProjectsFromParentSet
but in sdk example it written as of type SubProjectsFromParent

when i correct this mistake & pass correct parameter of type SubProjectsFromParentSet
the subproject variable always returns me null value.
can u give me the correct code example for GetSubProjectsFromParent Method.

Thanks
sameer.


Top
 Profile  
 
 Post subject: Re: SourceAnywhere for VSS Professional SDK 5.4 Problems
PostPosted: Sun Oct 18, 2009 8:57 pm 
Offline
User avatar

Joined: Tue Mar 08, 2005 12:23 am
Posts: 1482
Hi Sameer,

The type of parameter "subproject" should be "SAWVSubProjectsFromParentSet".

>the subproject variable always returns me null value.

This is a confirmed bug in the SDK. Below is the download link of an internal version with the bug fixed. Please unzip the attachment and copy the DLL file to your SourceAnywhere for VSS Professional SDK folder.

http://www.dynamsoft.com/download/Suppo ... AWVSDK.zip

In the internal version, the method GetSubProjectsFromParent() has 5 parameters.

Syntax:

//===================================
Long GetSubProjectsFromParent(
String ParentProject,
Boolean* IsRecursive, //[in] You can set the value to false or true.
ISAWVSubProjectsFromParentSet** SubProjectsSet,
Boolean* Canceled,
String* ResultDescription
);
//===================================

Example:

//===================================
int resultValue = SdkObject.GetSubProjectsFromParent(
spec,
false,
out subProjectsSet,
out canceled,
out resultDescription
);
//===================================



Thanks.

_________________
Catherine Sea
Dynamsoft Support Team
Dynamsoft - The leading provider of version control solution and TWAIN SDK
Source Control Software | Software Configuration Management | SCM Solution | Issue Tracking
SourceSafe (VSS) Remote/Web/Internet Access | SourceSafe (VSS) Replacement/Alternative | SourceSafe (VSS) Hosting|TFS Hosting

Follow me @Twitter, Facebook
Image


Top
 Profile  
 
 Post subject: Re: SourceAnywhere for VSS Professional SDK 5.4 Problems
PostPosted: Wed Oct 21, 2009 10:40 pm 
Offline

Joined: Mon May 05, 2008 1:38 am
Posts: 15
It worked, Thanks for the quick response.


Top
 Profile  
 
 Post subject: Re: SourceAnywhere for VSS Professional SDK 5.4 Problems
PostPosted: Thu Oct 22, 2009 1:31 am 
Offline
User avatar

Joined: Tue Mar 08, 2005 12:23 am
Posts: 1482
You are welcome. :D

_________________
Catherine Sea
Dynamsoft Support Team
Dynamsoft - The leading provider of version control solution and TWAIN SDK
Source Control Software | Software Configuration Management | SCM Solution | Issue Tracking
SourceSafe (VSS) Remote/Web/Internet Access | SourceSafe (VSS) Replacement/Alternative | SourceSafe (VSS) Hosting|TFS Hosting

Follow me @Twitter, Facebook
Image


Top
 Profile  
 
 Post subject: Re: SourceAnywhere for VSS Professional SDK 5.4 Problems
PostPosted: Tue Oct 27, 2009 11:04 am 
Offline

Joined: Mon May 05, 2008 1:38 am
Posts: 15
I am facing one more issue .
i m getting access violation type error while using method GetOldVersionFile.
error description :Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

but if i use GetLatestFiles method it works fine.

one more interesting thing is i m coding in asp.net & GetOldVersionFile works in windows application
while in web it throws error.
GetLatestFiles method works fine in both windows & web .


Top
 Profile  
 
 Post subject: Re: SourceAnywhere for VSS Professional SDK 5.4 Problems
PostPosted: Wed Oct 28, 2009 6:38 am 
Offline
User avatar

Joined: Tue Mar 08, 2005 12:23 am
Posts: 1482
Hi Sameer,

We have reproduced your issue on our side. Our developers are currently looking into this issue. We will provide you an internal version with this bug fixed in several days.

Thanks,

_________________
Catherine Sea
Dynamsoft Support Team
Dynamsoft - The leading provider of version control solution and TWAIN SDK
Source Control Software | Software Configuration Management | SCM Solution | Issue Tracking
SourceSafe (VSS) Remote/Web/Internet Access | SourceSafe (VSS) Replacement/Alternative | SourceSafe (VSS) Hosting|TFS Hosting

Follow me @Twitter, Facebook
Image


Top
 Profile  
 
 Post subject: Re: SourceAnywhere for VSS Professional SDK 5.4 Problems
PostPosted: Thu Oct 29, 2009 7:24 am 
Offline
User avatar

Joined: Tue Mar 08, 2005 12:23 am
Posts: 1482
Hi Sameer,

Our developers have worked out an internal version for you, which can be downloaded at:
http://www.dynamsoft.com/download/Suppo ... AWVSDK.zip

The new syntax of GetOldVersionFile is as below:

//=========================================

Long GetOldVersionFile(
String ProjectName,
String FileName,
Long Version,
String LocalFileName,
Boolean MakeWritable,
Enum_WritableFileHandling WritableFileHandling,
Enum_EOL EOL,
Enum_SetLocalFileTime SetLocalFileTime,
String MergeTool,
String TwoWayMergeArgs,
Boolean* Canceled,
String* ResultDescription
);

//=========================================


Thanks.

_________________
Catherine Sea
Dynamsoft Support Team
Dynamsoft - The leading provider of version control solution and TWAIN SDK
Source Control Software | Software Configuration Management | SCM Solution | Issue Tracking
SourceSafe (VSS) Remote/Web/Internet Access | SourceSafe (VSS) Replacement/Alternative | SourceSafe (VSS) Hosting|TFS Hosting

Follow me @Twitter, Facebook
Image


Top
 Profile  
 
 Post subject: Re: SourceAnywhere for VSS Professional SDK 5.4 Problems
PostPosted: Thu Oct 29, 2009 8:30 am 
Offline

Joined: Mon May 05, 2008 1:38 am
Posts: 15
Thanks Catherine for the quick response.
i tested the dll & its working fine.


Top
 Profile  
 
 Post subject: Re: SourceAnywhere for VSS Professional SDK 5.4 Problems
PostPosted: Sun Nov 01, 2009 5:23 pm 
Offline
User avatar

Joined: Tue Mar 08, 2005 12:23 am
Posts: 1482
Great! :D

_________________
Catherine Sea
Dynamsoft Support Team
Dynamsoft - The leading provider of version control solution and TWAIN SDK
Source Control Software | Software Configuration Management | SCM Solution | Issue Tracking
SourceSafe (VSS) Remote/Web/Internet Access | SourceSafe (VSS) Replacement/Alternative | SourceSafe (VSS) Hosting|TFS Hosting

Follow me @Twitter, Facebook
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

It is currently Sat Feb 11, 2012 11:11 pm


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron

Copyright © 2010 Dynamsoft Corporation. All Rights Reserved. | Knowledge Base | Source Control Blog