Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with GkkCompare
Message
 
To
08/04/2010 10:07:23
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Miscellaneous
Thread ID:
01459198
Message ID:
01459431
Views:
110
Ok, thanks for the info Tracy. I appreciate it.

David

>No, sorry. Not all three in location that I know of. I don't use Vault as much as I did before - I mostly work with TFS now for VS and Vault only for VFP. The best place for help with VFP and Vault IMHO is their forum. Here is the best support for gkkCompare...
>
>I no longer use gkkCompare from Vault directly to handle the diff/merge because of Vault's limitations in changing the parameters depending on which version you want on the left (since gkkCompare only allowed editing on one side the last time I checked). My settings are back to using sgdm.exe (the default settings). I now handle the diff/merge outside of Vault using gkkCompare (my choice).
>
>From my notes, here is what I had setup in Vault, Tools, Options, Diff/Merge to use gkkCompare:
>
>Vault Options, Diff/Merge:
>
>Diff Program: c:\gkk\gkkcompare.exe
>Arguments: .T.,%LEFT_PATH%,%RIGHT_PATH%
>
>From my notes:
>*-* TCHolzer 11/14/2006 Comments
>*-* Vault Settings: Vault Options, Diff/Merge: Diff Program: c:\gkk\gkkcompare.exe Arguments: .T.,%LEFT_PATH%,%RIGHT_PATH%
>*-* Note: There can be NO SPACES in the Diff arguments field
>*-* VFP9 Runtimes MUST EXIST in the c:\gkk directory for Vault to Run GKK without errors
>
>
>Tracy
>
>
>
>>Thanks Tracy. I had seen that you were using this from Vault on some other threads. I am getting ready to look into Vault more in depth. Do you have any suggestions on where a good source to get an overview on Vault - especially for VFP projects and utilizing gkkCompare?
>>
>>David
>>
>>>I just emailed Greg the changes I made to the maingkkcompare.prg so I could use it from Vault (which uses the command line launch as well). There is still an issue of not being able (from Vault) to reverse left and right based on which one you want to be the source and the other the compare to (you can only edit one side). Anyway, "P" is or programs, "K" for forms, "V" for visual classes file to file, "C" for Visual Classes class to class, and "T" for tables (if I recallcorrectly).
>>>
>>>
>>>>I also tried with the 'V' file type - same results. I'm not sure what the difference is betwenn 'C' and 'V' (below), but I believe the correct one to use is 'V'.
>>>>
>>>>
>>>>>I am building a version compare utility utilizing gkkCompare. I am running into one problem when running from a command prompt. The documentation specifies:
>>>>>
>>>>>**********
>>>>>The comparison editor can be executed with or without command line parameters. If no parameters are provided, then a prompt for
>>>>>the type of comparison will be provided. To call with parameters:
>>>>>
>>>>>DO GKKCompare WITH “c:\my files\firstfile.scx”, ”c:\my files\secondfile.scx”, PRJTYPE_FORM
>>>>>
>>>>>Where the third parameter is defined by the following:
>>>>>#DEFINE PRJTYPE_CLS "C"
>>>>>#DEFINE PRJTYPE_FORM "K"
>>>>>#DEFINE PRJTYPE_PROGRAM "P"
>>>>>#DEFINE PRJTYPE_TABLE "D"
>>>>>#DEFINE PRJTYPE_VCX "V"
>>>>>***********
>>>>>
>>>>>So, my test code is:
>>>>>
>>>>>
>>>>>&& Class compare
>>>>>file1 = 'C:\myDir\myClass.vcx'
>>>>>file2 = 'S:\myDir\myClass.vcx'
>>>>>filetype = 'C'
>>>>>
>>>>>DO GKKCompare WITH file1, file2, filetype
>>>>>
>>>>>
>>>>>I get an error message: 'Property OpenClasses Not Found'
>>>>>
>>>>>Am I doing something wrong? Or, is this a program bug?
>>>>>
>>>>>Thanks all.
Previous
Reply
Map
View

Click here to load this message in the networking platform