delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/19/05:38:50

Date: Sun, 19 Jul 1998 12:35:49 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Jorge Ivan Meza Martinez <jimeza AT usa DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: a filenames problem
In-Reply-To: <01bdb100$9b7e3d60$LocalHost@default>
Message-ID: <Pine.SUN.3.91.980719123528.29744O-100000@is>
MIME-Version: 1.0

On Thu, 16 Jul 1998, Jorge Ivan Meza Martinez wrote:

> I want to develop a little program that accept parameter from command line,
> but for be used with drag and drop of windows95;

I don't think you can use drag-and-drop with DJGPP programs.

> my program would receive
> the file like its path and will call other program with this file, the
> problem is that windows95 dnd sends short file name path.
> 
> is there any way to convert with DJGPP to convert the short~.nam to
> the_real_long.name ?

Use the library function `_truename'.  It will return the full long
path name for any argument it gets.

> sorry if its off topic but I am new with DJGPP, I used BC31 and I don't know
> what new things has DJGPP, like how handle long file names.

It's NOT off-topic.  But if you need to look for certain issues in the
library documentation, you could use the `s' (for Search) command of
the Info browser.  Looking for words like "LFN" or "long file name"
will probably find what you need to know.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019