Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with GkkCompare
Message
From
07/04/2010 16:52:49
 
 
To
07/04/2010 14:49:15
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Miscellaneous
Thread ID:
01459198
Message ID:
01459265
Views:
59
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