Problem with encoding date - but works on Win98
Moderators: DllAdmin, DLLADMIN ONLY
Problem with encoding date - but works on Win98
Hi all
My problem is an older programme, Next from SCM for Windor 60 to
exact. Probably that doesnt tell you much.
Originally it works on Win98, and can be reinstalled and work on
Win98.
My problem is an older programme, Next from SCM for Windor 60 to
exact. Probably that doesnt tell you much.
Originally it works on Win98, and can be reinstalled and work on
Win98.
Re: Problem with encoding date - but works on Win98
On May 16, 7:23
-
- Posts: 18
- Joined: 01 Mar 2009, 00:00
Re: Problem with encoding date - but works on Win98
"jodleren" <sonnich@hot.ee> wrote in message
news:62a22cf2-c05d-4557-9861-ae9907b70ad9@s41g2000vba.googlegroups.com...
> My problem is an older programme, Next from SCM for Windor 60 to
> exact. Probably that doesnt tell you much.
> Originally it works on Win98 . . .
> On Win XP however, it will work the first time, but after that it will
> give this error:
>
> Invalid argument to date encode.
>
> Then an access violation will occur, and the programme will not work.
Windows XP offers "compatibility" settings, to emulate Win95 or
Win98, which solves this type of problem about 80 per cent of
the time. "Compatibility" is explained via / Start / Help.
--
Don Phillipson
Carlsbad Springs
(Ottawa, Canada)
news:62a22cf2-c05d-4557-9861-ae9907b70ad9@s41g2000vba.googlegroups.com...
> My problem is an older programme, Next from SCM for Windor 60 to
> exact. Probably that doesnt tell you much.
> Originally it works on Win98 . . .
> On Win XP however, it will work the first time, but after that it will
> give this error:
>
> Invalid argument to date encode.
>
> Then an access violation will occur, and the programme will not work.
Windows XP offers "compatibility" settings, to emulate Win95 or
Win98, which solves this type of problem about 80 per cent of
the time. "Compatibility" is explained via / Start / Help.
--
Don Phillipson
Carlsbad Springs
(Ottawa, Canada)
-
- Posts: 13
- Joined: 27 Apr 2009, 23:00
Re: Problem with encoding date - but works on Win98
From: "jodleren" <sonnich@hot.ee>
| On May 16, 7:23 pm, "Don Phillipson" <e...@SPAMBLOCK.ncf.ca> wrote:
>> "jodleren" <sonn...@hot.ee> wrote in message
>> news:62a22cf2-c05d-4557-9861-ae9907b70ad9@s41g2000vba.googlegroups.com...
>> > My problem is an older programme, Next from SCM for Windor 60 to
>> > exact. Probably that doesnt tell you much.
>> > Originally it works on Win98 . . .
>> > On Win XP however, it will work the first time, but after that it will
>> > give this error:
>> > Invalid argument to date encode.
>> > Then an access violation will occur, and the programme will not work.
>> Windows XP offers "compatibility" settings, to emulate Win95 or
>> Win98, which solves this type of problem about 80 per cent of
>> the time. "Compatibility" is explained via / Start / Help.
| Thanks for the idea. That does not help, for both win 95 and win 98.
| The error remain.
1. Win9x/ME is a different family than NT and thus can have compatibilities issues if it
isn't coded to be NT caompatible.
2. It probably wasn't Y2K compliant and thus the error.
--
Dave
http://www.claymania.com/removal-trojan-adware.html
Multi-AV - http://www.pctipp.ch/downloads/dl/35905.asp
| On May 16, 7:23 pm, "Don Phillipson" <e...@SPAMBLOCK.ncf.ca> wrote:
>> "jodleren" <sonn...@hot.ee> wrote in message
>> news:62a22cf2-c05d-4557-9861-ae9907b70ad9@s41g2000vba.googlegroups.com...
>> > My problem is an older programme, Next from SCM for Windor 60 to
>> > exact. Probably that doesnt tell you much.
>> > Originally it works on Win98 . . .
>> > On Win XP however, it will work the first time, but after that it will
>> > give this error:
>> > Invalid argument to date encode.
>> > Then an access violation will occur, and the programme will not work.
>> Windows XP offers "compatibility" settings, to emulate Win95 or
>> Win98, which solves this type of problem about 80 per cent of
>> the time. "Compatibility" is explained via / Start / Help.
| Thanks for the idea. That does not help, for both win 95 and win 98.
| The error remain.
1. Win9x/ME is a different family than NT and thus can have compatibilities issues if it
isn't coded to be NT caompatible.
2. It probably wasn't Y2K compliant and thus the error.
--
Dave
http://www.claymania.com/removal-trojan-adware.html
Multi-AV - http://www.pctipp.ch/downloads/dl/35905.asp
Re: Problem with encoding date - but works on Win98
On May 16, 10:32
Re: Problem with encoding date - but works on Win98
On May 16, 7:16
-
- Posts: 1
- Joined: 17 May 2010, 23:00
Re: Problem with encoding date - but works on Win98
Hi Sonnich,
This error message comes from the Borland Delphi Runtime. The error is
returned by Delphi functions such as Encodedate(), if the function
cannot handle the parameters passed to it.
So, your SCM program was written using the Borland Delphi language. When
the Delphi VCL Runtime calls a date function on your XP machine, it hits
this error.
This specific error was reported quite a bit by Delphi users, after XP
SP3 was released. It even affected some of Borland's own products; see:
http://qc.embarcadero.com/wc/qcmain.aspx?d=61610
As described in that bug report, the problem is often caused by a known
issue for XP SP3 when used in the Jerusalem timezone.
If that matches your scenario, see this Microsoft KB article:
http://support.microsoft.com/kb/953917
Download and install the hotfix described in the article, and
(hopefully), SCM will then run okay on XP.
Hope this helps,
Andrew
--
amclar at optusnet dot com dot au
On 17/05/2010 02:16, jodleren wrote:
> My problem is an older programme, Next from SCM for Windor 60 to
> exact. Probably that doesnt tell you much.
> Originally it works on Win98, and can be reinstalled and work on
> Win98.
> On Win XP however, it will work the first time, but after that it will
> give this error:
>
> Invalid argument to date encode.
>
> Then an access violation will occur, and the programme will not work.
> I tried it on to Win XP computers, the result is the same. That was
> yesterday, 15.05.2010.
> It does not even read in the language or anything. All functions
> result in an access violation error.
> > As it works on Win98, it has to be related to some kind of windows DLL
> or something.
> Any ideas anyone?
This error message comes from the Borland Delphi Runtime. The error is
returned by Delphi functions such as Encodedate(), if the function
cannot handle the parameters passed to it.
So, your SCM program was written using the Borland Delphi language. When
the Delphi VCL Runtime calls a date function on your XP machine, it hits
this error.
This specific error was reported quite a bit by Delphi users, after XP
SP3 was released. It even affected some of Borland's own products; see:
http://qc.embarcadero.com/wc/qcmain.aspx?d=61610
As described in that bug report, the problem is often caused by a known
issue for XP SP3 when used in the Jerusalem timezone.
If that matches your scenario, see this Microsoft KB article:
http://support.microsoft.com/kb/953917
Download and install the hotfix described in the article, and
(hopefully), SCM will then run okay on XP.
Hope this helps,
Andrew
--
amclar at optusnet dot com dot au
On 17/05/2010 02:16, jodleren wrote:
> My problem is an older programme, Next from SCM for Windor 60 to
> exact. Probably that doesnt tell you much.
> Originally it works on Win98, and can be reinstalled and work on
> Win98.
> On Win XP however, it will work the first time, but after that it will
> give this error:
>
> Invalid argument to date encode.
>
> Then an access violation will occur, and the programme will not work.
> I tried it on to Win XP computers, the result is the same. That was
> yesterday, 15.05.2010.
> It does not even read in the language or anything. All functions
> result in an access violation error.
> > As it works on Win98, it has to be related to some kind of windows DLL
> or something.
> Any ideas anyone?
Re: Problem with encoding date - but works on Win98
On May 18, 5:46
-
- Posts: 32
- Joined: 22 Mar 2009, 00:00
Re: Problem with encoding date - but works on Win98
In message <BC11EDE4-37F9-4D70-91F7-49DB81EB4C91@microsoft.com>, Dan
<Dan@discussions.microsoft.com> writes:
>"jodleren" wrote:
[]
>> Thanks Andrew, that explains. At I installed the update, but that did
>> not change much. However, knowing the nature of the problem is enough
>> as I'll let them use Win XP without SP3 - then it will work for them
[]
>Just a word of warning Windows XP SP2 and earlier versions on 32 bit systems
>will reach end of life on July 13, 2010 as well as Windows 2000 Professional.
Which of course means no further support from Microsoft - it doesn't
mean it'll suddenly stop working.
--
J. P. Gilliver. UMRA: 1960/<1985 MB++G.5AL-IS-P--Ch++(p)Ar@T0H+Sh0!:`)DNAf
** http://www.soft255.demon.co.uk/G6JPG-PC/JPGminPC.htm for ludicrously
outdated thoughts on PCs. **
It was kind of Wagnerian in that it was totally for blokes, but it didn't have
difficult woodwind passages. Stuart Maconie (on "Tommy") in Radio Times, 14-20
November 2009.
<Dan@discussions.microsoft.com> writes:
>"jodleren" wrote:
[]
>> Thanks Andrew, that explains. At I installed the update, but that did
>> not change much. However, knowing the nature of the problem is enough
>> as I'll let them use Win XP without SP3 - then it will work for them
[]
>Just a word of warning Windows XP SP2 and earlier versions on 32 bit systems
>will reach end of life on July 13, 2010 as well as Windows 2000 Professional.
Which of course means no further support from Microsoft - it doesn't
mean it'll suddenly stop working.
--
J. P. Gilliver. UMRA: 1960/<1985 MB++G.5AL-IS-P--Ch++(p)Ar@T0H+Sh0!:`)DNAf
** http://www.soft255.demon.co.uk/G6JPG-PC/JPGminPC.htm for ludicrously
outdated thoughts on PCs. **
It was kind of Wagnerian in that it was totally for blokes, but it didn't have
difficult woodwind passages. Stuart Maconie (on "Tommy") in Radio Times, 14-20
November 2009.