Mail Archives: djgpp/1998/07/19/05:38:50
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 -