Re: Buffer overruns & stuff

2007-02-12 Thread Charlie Coleman
At 05:35 PM 2/7/2007 -0500, MB Software Solutions wrote: > > The source is a VFP cursor created by querying an MSSQL db. My app reads > > from & parses the data in the cursor into native VFP tables stored > > locally. There's no user interface. Crash about every 15min. > > > > > >Use DotNet. Wh

Re: Buffer overruns & stuff

2007-02-08 Thread Derek Kalweit
> I wouldn't bother writing such a system ("which I plan to do for my next > projects") since I already have one that works quite well. Let me know if you > are interested. It gets around many of the issues with using the debugger and > works well if you accidentally leave the code in your applic

RE: Buffer overruns & stuff

2007-02-08 Thread John Weller
Sounds interesting - could you upload it perhaps? John Weller 01380 723235 07976 393631 > I wouldn't bother writing such a system ("which I plan to do for my next > projects") since I already have one that works quite well. Let > me know if you > are interested. It gets around many of the i

RE: Buffer overruns & stuff

2007-02-07 Thread Fletcher Johnson
rofox@leafe.com Subject: Re: Buffer overruns & stuff > The source is a VFP cursor created by querying an MSSQL db. My app > reads from & parses the data in the cursor into native VFP tables > stored locally. There's no user interface. Crash about every 15min. If it's

Re: Buffer overruns & stuff

2007-02-07 Thread Derek Kalweit
> The source is a VFP cursor created by querying an MSSQL db. My app reads > from & parses the data in the cursor into native VFP tables stored > locally. There's no user interface. Crash about every 15min. If it's that re-creatable, then it's time to start adding trace code, IMO-- to find where t

Re: Buffer overruns & stuff

2007-02-07 Thread MB Software Solutions
Lew Schwartz wrote: > The source is a VFP cursor created by querying an MSSQL db. My app reads > from & parses the data in the cursor into native VFP tables stored > locally. There's no user interface. Crash about every 15min. > > Use DotNet. -- Michael J. Babcock, MCP MB Software Solutio

RE: Buffer overruns & stuff

2007-02-07 Thread Lew Schwartz
Of Derek Kalweit Sent: Wednesday, February 07, 2007 10:38 AM To: [EMAIL PROTECTED] Subject: Re: Buffer overruns & stuff > Totally unattended. It reads data from it's source, parses it and > stores it as fast as the hard/software combo will allow. Absolutely no > user inp

Re: Buffer overruns & stuff

2007-02-07 Thread Derek Kalweit
> Totally unattended. It reads data from it's source, parses it and stores > it as fast as the hard/software combo will allow. Absolutely no user > input. Time bomb or messy code wouldn't surprise me at all. What is the 'source' and 'destination'? I'm assuming one is MSSQL, but what's the other? Y

RE: Buffer overruns & stuff

2007-02-06 Thread Lew Schwartz
That's what it will come to if I can't nail this bug. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sales Info Sent: Tuesday, February 06, 2007 4:26 PM To: [EMAIL PROTECTED] Subject: RE: Buffer overruns & stuff Lew, Have a loader a

RE: Buffer overruns & stuff

2007-02-06 Thread Sales Info
Lew, Have a loader app (could be a batch file) that runs your main app in a loop and only exits when a certain file is present locally. Sample batch file (untested): @echo off :start myapp.exe if not exist myapp.quit goto start del myapp.quit Have your main app exit every X minutes so it can

RE: Buffer overruns & stuff

2007-02-06 Thread Fletcher Johnson
w Schwartz Sent: Tuesday, February 06, 2007 11:18 AM To: profox@leafe.com Subject: RE: Buffer overruns & stuff Your 2 & 4 look interesting since I have any number of abends, delibretate and otherwise, during development. Plus, for reasons I don't understand, my manager keeps the connectio

RE: Buffer overruns & stuff

2007-02-06 Thread Lew Schwartz
Behalf Of Derek Kalweit Sent: Tuesday, February 06, 2007 3:08 PM To: [EMAIL PROTECTED] Subject: Re: Buffer overruns & stuff > delibretate and otherwise, during development. Plus, for reasons I > don't understand, my manager keeps the connection code secret. Is > there such a Maybe

Re: Buffer overruns & stuff

2007-02-06 Thread Derek Kalweit
> delibretate and otherwise, during development. Plus, for reasons I don't > understand, my manager keeps the connection code secret. Is there such a Maybe he wrote a time bomb? What sort of application is this? Does it run un-attended? If it's attended, what are you, as the user, doing at the ti

RE: Buffer overruns & stuff

2007-02-06 Thread Lew Schwartz
...already logging like a sob. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sales Info Sent: Tuesday, February 06, 2007 1:31 PM To: [EMAIL PROTECTED] Subject: RE: Buffer overruns & stuff Lew, I have several VFP applications that have been run

RE: Buffer overruns & stuff

2007-02-06 Thread Lew Schwartz
l Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fletcher Johnson Sent: Tuesday, February 06, 2007 1:19 PM To: [EMAIL PROTECTED] Subject: RE: Buffer overruns & stuff Lew, Some things to try: 1) Run MSConfig and turn of everything unless you need it. Including an

RE: Buffer overruns & stuff

2007-02-06 Thread Sales Info
Lew, I have several VFP applications that have been running non-stop for years. Every time a new release of VFP comes out, I've recompiled and re-installed without problem. One suggestion: You might try sprinkling some ... strtofile( "timestamp, global counter and some diagnostics or code locati

RE: Buffer overruns & stuff

2007-02-06 Thread Fletcher Johnson
9:54 AM To: profox@leafe.com Subject: RE: Buffer overruns & stuff Thanks, Fletcher. Since it never occurs in the same place twice, I can't narrow down to a reproducable error. I have removed dbc events, changed my on error from on error createobject() to the old fashioned on error do ...

RE: Buffer overruns & stuff

2007-02-06 Thread Lew Schwartz
ginal Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fletcher Johnson Sent: Tuesday, February 06, 2007 12:48 PM To: [EMAIL PROTECTED] Subject: RE: Buffer overruns & stuff Lew, I was using a dual core cpu based XP system to work with an MS SQL database. Using both rem

RE: Buffer overruns & stuff

2007-02-06 Thread Fletcher Johnson
: Buffer overruns & stuff The problem predates SetMemory(), there are no other api calls. This is XP pro. I haven't tested the difference between app's vs exe's. I'm using apps for now, but a standalone exe is in the near future. I'll try to see if there's a particu

RE: Buffer overruns & stuff

2007-02-06 Thread Lew Schwartz
ordingly, I've copied all the data to my local hd & have tested from there. Still had the problem (although to as often). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Derek Kalweit Sent: Tuesday, February 06, 2007 12:22 PM To: [EMAIL PROTECTED] Su

Re: Buffer overruns & stuff

2007-02-06 Thread Derek Kalweit
> The problem predates SetMemory(), there are no other api calls. This is > XP pro. I haven't tested the difference between app's vs exe's. I'm > using apps for now, but a standalone exe is in the near future. I'll try > to see if there's a particular place or routine that blows up today, but > I d

RE: Buffer overruns & stuff

2007-02-06 Thread Lew Schwartz
The problem predates SetMemory(), there are no other api calls. This is XP pro. I haven't tested the difference between app's vs exe's. I'm using apps for now, but a standalone exe is in the near future. I'll try to see if there's a particular place or routine that blows up today, but I don't think