Solved

Delphi 3 Texfile problem?

Posted on 1997-08-17
3
160 Views
Last Modified: 2010-04-06
Using Delphi 3 and Website I found that the output file was not being created when running cgi.  The problem seems to be that the Stream will not create the .out file, although I changed the functions from fmOpenWrite to fmCreate.
Am I missing something obvious here?
0
Comment
Question by:malk
  • 2
3 Comments
 

Author Comment

by:malk
Comment Utility
Edited text of question
0
 
LVL 2

Accepted Solution

by:
icampbe1 earned 50 total points
Comment Utility
Well you came really close...  use: fmOpenWrite OR fmCreate when making the open call

Both values must be present.  I suppose  fmOpenWrite + fmCreate would also work, but I prefer logical 'ORing'.

Cheers,
Ian C.
0
 

Author Comment

by:malk
Comment Utility
Solved one problem but led me on to the next.  Not ICampbels fault.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
This video discusses moving either the default database or any database to a new volume.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now