Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Can I tell my chess program to know the name of it's exe file.

Author: Andreas Herrmann

Date: 14:08:49 06/11/04

Go up one level in this thread


In a Windows OS the filename + path stands in ParamStr[0]. So just read
ParamStr[0]. I can't give you an excample in C or C++, because i'm a
Delphi/Pascal programmer.
But i'm sure each Windows C programmer knows that, and can give you an excample,
how to read ParamStrings in C/C++.

best wishes
Andreas




This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.