Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with GkkCompare
Message
 
To
07/04/2010 16:52:49
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Miscellaneous
Thread ID:
01459198
Message ID:
01459278
Views:
40
Thanks Greg - and thanks for the very nice product.

FYI - I am trying to compare dbc's from the command line unsuccessfully as well. Can you tell me what parameter I should be sending? 'C'? It doesn't sound right, but it's the only one I see that is not taken by accounted for by one of the other options (when running manually).

Also, I didn't see the EXE version anywhere. Can you tell me where that would be? I was just going to build my own project with a load program and compile.

Thanks again Greg.

David

>I will look into this for an update/bug fix -- you should be able to run from the command prompt as an APP. I also compiled an EXE version to be used as well outside of VFP development environment. You should be able to pass parameters as well.
>
>I will also look at the code from Tracy and mine that is being used to correct.
>
>Greg
>
>>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
Next
Reply
Map
View

Click here to load this message in the networking platform