Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with VFP 5.0 and Win2K??????
Message
 
To
30/04/2002 08:43:12
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00650571
Message ID:
00650845
Views:
18
Hello Joe

I don’t know how long you have been programming

I had something like that before (random errors that where hard to explain), it was in the most robust form with the most code in it. The only thing that I found was at cretin times the refresh code would hit over 300 times in a second or two.

so it was poor programming, I had to go back and simplify my code and the prob went away.

Also whats your “on error” code? Try and find a method close to the error and say something like this
ON ERROR DO errhand WITH ;
   ERROR( ), MESSAGE( ), MESSAGE(1), PROGRAM( ), LINENO( )
*** The next line should cause an error ***
USE nodatabase
ON ERROR  && restore system error handler
and put a program in the same dir as the running files
errhand.prg with this code
PROCEDURE errhand
PARAMETER merror, mess, mess1, mprog, mlineno
CLEAR
? 'Error number: ' + LTRIM(STR(merror))
? 'Error message: ' + mess
? 'Line of code with error: ' + mess1
? 'Line number of error: ' + LTRIM(STR(mlineno))
? 'Program with error: ' + mprog
if this doesn't help you at all I would re-post your question

>>Hey Joe
>>
>>do you run any api functions or any dll releated things? (I am taking a shot in the dark)
>
>Yes, I use API functions, but not at the time when I see the error message. I do run DLLs, too, but I don't think I'm doing so at the time of the error message. If so, I'm not aware of it.
>
>As far as the disk formet, I'm on NTFS. Also, my program was compiled on the same drive where my source code resides.
>
>Any ideas?
>
>
>
>>whats the disk format fat32 or ntfs?? was your program compiled on a diffrently formatted drive?? I think that can make a diffrence, once again just a shot in the dark
>>
>>>Hi there,
>>>
>>>I'm working on a VFP 5.0 application on a Win2K machine and I get the following error message at intermittent spots in my code on the same form while running in debug mode:
>>>
>>>Message Title: Program Error
>>>Message Text: VFP.exe has generated errors and will be closed by Windows. You will need to restart the program. An error log is being created.
>>>
>>>One of the problems with this is that I don't see any useful information when viewing the system log in the Event Viewer.
>>>
>>>Another interesting note: This same message appears at a different spot in the application while running the compiled code (my compiled exe is "IPC.EXE"). The message is as follows:
>>>
>>>Message Title: Program Error
>>>Message Text: IPC.exe has generated errors and will be closed by Windows. You will need to restart the program. An error log is being created.
>>>
>>>I cannot recreate this problem on a Win98 or Win95 pc. I'm fairly certain that the error message is coming from somewhere outside Fox and from some Win2K process, but I don't know where.
>>>
>>>Have you seen such an error message? If so, what did you do about it? If you haven't seen this message, do you have any ideas as to where it's coming from and what I can do to avoid it?
>>>
>>>ANY suggestions would be greatly appreciated.
>>>
>>>Thanks for reading,
>>>
>>>Joe
Stephen McLaughlin
"Sexy Steve Valenteno", "Blastmaster"
stephenmclaughlin@gmail.com
Previous
Reply
Map
View

Click here to load this message in the networking platform