Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error Message !

Status
Not open for further replies.

ameedoo3000

IS-IT--Management
Sep 20, 2016
233
EG
hi all
i know this thread is Already exists but There are differences in content .
i have make connection with remote data(MS Access)and the project run fine . but when i compile my project and run it on another Pc this error message is appear . While in the absence of contact with any external data and compile the project it is running fine without this error message . what is the wrong ?
please help .

Untitled_tffoxr.png
 
If it's really VFP9: What belongs to VFP9 is msvcrt71.dll, not msvcrt70.dll, what also belongs to the runtime DLLs is gdiplus.dll, but that should be available on the system. What might help is adding the vfp9renu.dll. even if you intend to use esn as main language, if this runs on a non spanish Windows version, you can't run with the esn resource dll only.

Eidt: Only having the esn resource dll you must start your exe with -Lvfp9resn.dll to force use of the spanish resource dll on any Windows system. VFP only automatically picks a foreign language DLL in a Windows of that same foreign language, it defaults to the ENU.dll otherwise, but it does not look for any resource DLL as fallback. The best practice is to provide the enu dll in any case, so you have that fallback, even without using the -L command line switch.

Bye, Olaf.
 
i used vfp9 sp2 and msvcr70.dll is wrong file in the folder . i delete it now .
i add the file vfp9renu.dll to this folder and the problem still found .
what can i do ?

 
What versions of the dlls are you using? And were did you take them from?

Getting correct version files Part 1: Look into C:\Program Files (x86)\Common Files\Microsoft Shared\VFP on your development computer and you'll find the correct vfp9r.dll, vfp9resn.dll and VFP9RENU.DLL.
In regard of the correct msvcr71.dll look into SysWow64 of your development computer.

If you still have the problem, rebuild. Your EXE might be the problem.

Or is it a proj1.dll? The messagebox hides that info. You might need vfp9t.dll if you compiled a multithreaded DLL.

Bye, Olaf.
 
Aha, you did apply the SP2 but didn't apply the Hotfix3 correctly and overall, your resource DLL versions don't match the main VFP runtime version 7423.

7432 is the hotfix3. You only installed that halfways. It comes with a readme you need follow step by step and replace several DLLs, not only the vfp9.exe and vfp9r.dll.
I see we already had the same DLL version mismatch problem discussed in thread184-1774651. Why dopn't you learn from this?
Remove any version 5815 vfp9r*.dll file from your system, Where * can be any country code or nothing. All of the VFP9 DLLs have to be hotfix version 7423, then you can't copy any wrong version anywhere and repat to produce a problem you already fixed.

Bye, Olaf.

 
yes i do that and update dll files .but there are another error message
Untitled_jnji0a.png
 
Now you simply have a code error in your usage of the Microsoft Access Driver. I can't help you with this, but some code expected 7 parameters and you only passed 6 or less.

Edit: Without speaking spanish I can only make guesses on what the error message hints additionally, but there seems to be a form property in record 4 of your form, which has the expression for an Access Driver call needing more parameters, maybe a connection string property? Record 4 could be anything in the Data Environment of your form, an access remote view, for example, or a cursor adapter.

If you use a DSN on your development computer, that also has to be deployed to the end users client. If you use a specific Access driver version, again... You cause all your problems yourself, if you cause requirements during your development and not have documentation about this for yourself, when you create the necessary setup. You have got the be pedantic to be a good developer, because you either have to know by heart what's necessary to deploy or you have to note everything at the moment you introduce that requirement on your development computer. Nothing gets setup automatically.

Bye, Olaf.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top