Re: Access violation in Win98
From: AlanGLLoyd (alanglloyd_at_aol.com)
Date: 09/29/04
- Next message: AlanGLLoyd: "Re: Help please. Delphi Newbie"
- Previous message: Markku Nevalainen: "Re: is this correct?"
- In reply to: Johan Smit: "Access violation in Win98"
- Next in thread: J French: "Re: Access violation in Win98"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 29 Sep 2004 08:28:18 GMT
In article <4158f967.7960045@news.saix.net>, smitjsno@spamlantic.net (Johan
Smit) writes:
>This works fine in Windows XP,
>but if the app is run in Win98, there is an access violation on
>executing the line
> TwoPChar(PChar(aStr), PChar(InitDir));
>What could I possibly do about it?
>
I know Win 98 is twitchy about the DLL filename case. Is "Str" of the same case
as the DLL filename and extension.
I don't know what you are doing in TwoPChar, but perhaps StrCat() or StrLCat()
might do what you want.
Alan Lloyd
alanglloyd@aol.com
- Next message: AlanGLLoyd: "Re: Help please. Delphi Newbie"
- Previous message: Markku Nevalainen: "Re: is this correct?"
- In reply to: Johan Smit: "Access violation in Win98"
- Next in thread: J French: "Re: Access violation in Win98"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]