Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Compile Error
Message
De
18/05/2016 15:59:36
 
 
À
18/05/2016 13:51:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows Server 2012 R2
Divers
Thread ID:
01636558
Message ID:
01636598
Vues:
62
Although it's unrelated to the problem at hand, one potential "gotcha" I'd run into a while back was when you've got references to things somewhere in the "Program Files" or "Program Files (x86)" folders -- especially if you switch between 32-bit and 64-bit windows for development. Each time you switch between platforms, necessitated patching the affected files to make sure the references are correct. One way to avoid it was to move any such files (such as .H files, VCXs, etc) away from folders that are apt to change (e.g. out of the "Program Files" and "Program Files (x86)" directories).

>check location of Foxpro.H across the whole vcx table, perhaps duplicate entries or mangled.
>Antonio already warned about stacking .H into many levels - when I came to vfp from ModulaII which auto-resolves stacked imports across multiple levels and some C hacking with loads of C header files I ran into a wall trying to put too much logic into vfp header files.
>
>Keep them KISS and check the paths...
>
>
>>it is defined in the .h File DB.h
>>and the db.h file is included in the foxPro.h
>>and the Foxpro.H File is included in each class in the classlibrary
>>
>>This works fine in all the other 80+ classlibrarys in out Project.
>>
>>>Where is it DEFINED?
>>>
>>>>IVSSQLEXEC is defined like this:
>>>>#define IVSSQLEXEC goDatabase.oDBAccess.SQLExec
>>>>
>>>>we use this to shorten the call to our database Object.
>>>>
>>>>Typical call is:
>>>>
>>>>IVSSQLEXE('select * from xyz', 'curXYZ')
>>>>
>>>>I Do not have any runtime Issues!
>>>>
>>>>>Missing constants fail at run time rather than compile time.
>>>>>Depends how IVSSQLEXEC is used in your code
>>>>>
>>>>>Can you post the instructions where IVSSQLEXEC is involved?
>>>>>
>>>>>
>>>>>>Hi @all,
>>>>>>
>>>>>>we have one application which we continuously work on. Some .h Files are included.
>>>>>>Now since some Day's the compile fails with error:
>>>>>>Visual Class Library c:\entwicklung\fox6\ivs2000\classlibs\formsstammmasken.vcx has the following errors:
>>>>>> Unknown IVSSQLEXEC - Undefined
>>>>>>
>>>>>>IVSSQLEXEC is a constant defined in an include .h File.
>>>>>>
>>>>>>I've done everything I can Imagine to fix this Problem but nothing help's.
>>>>>>
>>>>>>Any suggestions?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform