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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Application crashes after showing a report preview Win98

Status
Not open for further replies.

andre65

Programmer
Jan 19, 2003
95
NL
Hi all,

My application is created with VFP70-SP1 and works fine on Win2K en WinXP platform. Now when installing this app on Window 98 it crashes each time when a report is printed or previewed. Sometimes it does not immediatly crashes, but when activating another function via the menu, it crashes.

Now i know that my client has experienced problems before with the Win98 PC, but so they told, that seems to be fixed.

I took my oldy PC with Win95, installed the app and ... that worked OK. Now before I accuse the client's Win98 PC of malfunctioning, maybe someone else has had the same experience? If so, how can I solve this problem?

Thanks for any reply.
André
 
I THINK this might be a printer driver problem.

Is the default printer an HP one?

If so, do a search for HP, Printer and Problem

HTH

Regards

Griff
Keep [Smile]ing
 
andre65

Perhaps the suggestion in faq184-2265 might solve your problem.

Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Mike,

What does MSVCRT mean?
How can I determine if I should use MSVCRT10 or MSVCRT20?

In the FAQ you say BEFORE and AFTER, but I only see in the example BEFORE? Should the example be

=_fpreset()
DO REPORT ....
=_fpreset()

Thanks in advance for your reply.
André
 
andre65

What does MSVCRT mean?

I'm not sure what it means. The MS I'm sure stands for Microsoft. Its a DLL that contains a few functions, one of which helps clear the floating point of a printer.

In the FAQ you say BEFORE and AFTER, but I only see in the example BEFORE? Should the example be

Thank you for pointing it out. FAQ is corrected.

How can I determine if I should use MSVCRT10 or MSVCRT20?

If your system contains any of the three use any of them. They are just different versions of the same DLL, all three of them contain the fpreset() function.

P.S. Be aware that the call to the function is case sensitive.




Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Mike,

On my system I see for example the versions
MSVCRT.DLL
MSVCRT20.DLL
MSVCRT40.DLL
so I can use MSVCRT.DLL

But how do I know the version installed on my client's PC? If I do the coding in my app for MSVCRT.DLL and my customer has only MSVCRT10.DLL my app will raise an error ... or should I deliver this DLL with my setup program.

André
 
MSVCRT40.DLL

Although the name is similar, this dll does not have the fpreset()

or should I deliver this DLL with my setup program

That would be my suggestion, just to make sure. and copy it in your application directory and register it there, that way you are not disturbing another version of it that might be on the customer's PC.
Or get the customer to download it himself and install it. Its a freeware.



Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Just for reference, MSVCRT.DLL is a Microsoft Visual C Runtime library. Newer/updated versions are MSVCRTxx.DLL, but as far as I know, every windows install wil have at least MSVCRT.DLL even if they don't have the more updated versions.
You should still be able just to use the original.

-Dave Summers-
[cheers]
Even more Fox stuff at:
 
Great news,

I did the changes like FAQ184-2265. Now my app does not crashes anymore at my customer.

Thank you all!

Gr,
André
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top