Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Compile Errors - Anyone Able to Help
Message
De
12/09/2007 15:18:12
 
Information générale
Forum:
Visual FoxPro
Catégorie:
VFP Compiler for .NET
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01253985
Message ID:
01253991
Vues:
17
The .exe runs now but there is no code in it. There is only 1 message displayed that a local variable is not used. However, if I compile a prg that results in numerous warnings, are these output anywhere (other than the screen in dos) so I can look at them later one by one?

Tracy

>Hi Tracy:
>
>It is looking for the vfp.runtime.dll but it did not find it. It needs the runtime files in the same directory of your exe. Those are vfp.runtime.dll, vfp.runtime3.dll, vfp.runtime4.dll, vfp.runtime5.dll, vfp.data.net, comsupport.dll, comsupport.vfp.dll, vfpBaseclasses.net and CLI.Table64Layer.dll.
>
>This behavior is because we don't install any runtime files in the GAC (Global Assembly Cache), so the .NET Runtime looks for those file in the exe directory. While it is possible to configure the .NET Framework to look in other directories, the easy way is just copy the runtime files.
>
>BTW, those Wiki instructions will be phased out this weekend, because are somewhat outdated. Now you don't have to use any command line to compile your programs. You compile your PRGS, scx and VCX inside the VFP IDE.
>
>
>
>
>
>>I am looking at the vfp compiler and I am following the suggestions on the wiki by Hank Fay. I am also looking at the help file, but the SharpDeveloper in help doesn't look like the version I installed and it is rather difficult to follow the directions.
>>
>>Anyway, I tried to run vfpcompiler against a foxpro .prg. It is the main.prg of my app. I wanted to see what it would do. It created an .exe but when I run the exe the VS2005 debugger launches with the following error:
>>
>>An unhandled exception of type 'System.IO.FileNotFoundException' occurred in Unknown Module.
>>
>>Addition information: could not load file or assembly 'vfp.runtime, Version = 1.0.2703.19779, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform