Solved

VFP RunTime

Posted on 2010-09-09
5
622 Views
Last Modified: 2012-05-10
Hi,

There are four files (RunTime Library - DLL) which are required to be present with VFP Application (EXE).

Is there any alternatives to this? Can we ship application WITHOUT these files?

Thanks!
SP
0
Comment
Question by:Nirmal Sharma
5 Comments
 
LVL 27

Accepted Solution

by:
CaptainCyril earned 167 total points
ID: 33638932
You need two runtimes.

http://fox.wikis.com/wc.dll?Wiki~VFP9RuntimeFiles

vfp9r.dll to run your single threaded application EXE
vfp9rnu.dll for US-English
0
 
LVL 27

Expert Comment

by:CaptainCyril
ID: 33638949
Most PCs have msvcr71.dll but you might need to install it in case the machine does not have it. The users can download it from the internet.

I use my own HTML help using my own browser so I don't need foxhelp libraries.

You might need XML libraries if your application uses XML import and export.
0
 
LVL 42

Assisted Solution

by:pcelba
pcelba earned 166 total points
ID: 33639085
The alternative exists:

1) You need to send run-time files just once, upgrades and updates do not need them to ship again.

2) You may ask your users to download run-time files from internet (e.g. http://code.msdn.microsoft.com/FoxPro/Release/ProjectReleases.aspx?ReleaseId=125 or  http://www.foxpert.com/runtime.htm or http://www.visualextend.com/visualextend_en/downloads.htm)

Of course, such manual "selfdownload" can cause just problems with less experienced users.
0
 
LVL 29

Assisted Solution

by:Olaf Doschke
Olaf Doschke earned 167 total points
ID: 33643932
No, foxpro does not run without it's runtime. That's like video without the needed codec.

You also need gdiplus.dll, even though that is there in most cases. Wehn using XMLTOCURSOR you need MSXML3, when using the XMLAdapter class you need MSXML4. When using ActiveX you need to distribute them, and the license to distribute them of course.

See http://fox.wikis.com/wc.dll?Wiki~VFP9RuntimeFiles~VFP

Other programs often can be shipped without a runtime, as the runtimes often already are installed. Mainly the c runtime or a .net framework, but any language depends on such dlls.

You cannot bind the dlls into the exe, foxpros compiler does no linking.

The runtime installers mirrored in http://www.foxpert.com/runtime.htm
have their home at http://code.msdn.microsoft.com/FoxPro/ now.
 
You can run these in a silent mode also, see readme in the download. You can for example use inno setup to either make use of the vfp merge modules http://fox.wikis.com/wc.dll?Wiki~MergeModule or let it run a runtime installer silent.

Bye, Olaf.
0
 
LVL 35

Author Closing Comment

by:Nirmal Sharma
ID: 33737775
Thanks!
0

Featured Post

The New “Normal” in Modern Enterprise Operations

DevOps for the modern enterprise offers many benefits — increased agility, productivity, and more, but digital transformation isn’t easy, especially if you’re not addressing the right issues. Register for the webinar to dive into the “new normal” for enterprise modern ops.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Microsoft Visual FoxPro (short VFP) is a programming language with it’s own IDE and database, ranking somewhat between Access and VB.NET + SQL Server (Express). Product Description: http://msdn.microsoft.com/en-us/vfoxpro/default.aspx (http://msd…
IT certifications are a concrete representation of continual learning on the part of the candidate.  Continual learning is necessary for the long term success of an IT professional, but are IT certifications the right path for you?
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question