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

CGI made under W95 not working on WNT

Status
Not open for further replies.

adandrea

Programmer
May 22, 2000
3
AR
Hi, thanks for reading this. I´m having trouble with a Delhpi CGI. It works perfectly under W95 but hangs up on WNT. Do you know anything about this? Isn´t it supoused to be portable? I must say that in some functions I opened files with AssignFile, Open, etc (as recomended in Delphi`s help) and in others I opened databases. In all of theese cases it didn´t work. But a function with FileOpen (strongly not recomended by Borland) wich I used because it is the only way I know to append to a file, did work. Any tips are highly appreciated. Thank you.
 
Try to recompile program under WinNT.<br><br>If U R using the text file, U may use Append() procedure for open the file in append mode.
 
You can use TFileStream object.See info about it in<br>help.Maybe this work.
 
I am unable to use the append method to update a text file. I continually get an error message
&quot;;&quot; expected.
I want to write to a text file, but I believe I need this &quot;append&quot; statement in my code...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top