09-03-2008 03:10 AM
Hi,
in my project i am using Perforce as source code control provider. Currently i can check-out and check-in VIs in the projectexplorer. Also i can check-out and check-in different files programmatically with the Labview SCC-VIs. This works fine in Development mode but in my built application an error occures: The Open SCC Proveder.vi returns -2983 (No access to source control provider).
I already copied the SCC Tokens SCCConfigData, SCCProviderName, SCCProviderLocation from the Labview.ini to my project.ini.
Michael
09-03-2008 05:57 AM
I would start by including Either the P4CMD directory "....vi.lib\SourcControl\Providers\P4CMD"
or the WinCI directory "....vi.lib\SourcControl\Providers\WinCI"
depending on which interface you have your SCC configuration set up to. The SCC vis make dynamic calls to the various providers required to support the different SCC platforms and thus need the specific provider files specified discretely. The Report Generation Toolkit works very similarly to this.
This will most likely solve the issue.
09-03-2008 08:31 AM
09-03-2008 08:48 AM
The path for the SCC vis should be transparent to your application. The NI code takes care of handling that internally.
You also need to include the WinCIWrap.dll into your build. The calls that access it are dynamic, the dll most likely does not get included automatically.
09-03-2008 09:04 AM