Subject:
|
Re: Seams like a problem
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Thu, 12 Oct 2000 23:54:00 GMT
|
Viewed:
|
830 times
|
| |
| |
"Lars C. Hassing" <lch@ccieurope.com> wrote in message
news:G2C98A.50o@lugnet.com...
> Anders Isaksson wrote...
> > Take a look at 'GetFullPathName' in the Windows API.
>
> Yes, it can help L3Lab, but not L3P which also compiles under
> Borland Turbo C from 1988 and under Linux.
> /Lars
It seems to me that if you change to the directory containing the model
(after extracting the directory portion of the filename if present), your
only remaining problem is short vs long filenames. Since this distinction
only exists in Windows, you only have to do this particular check in some
windows-specific code. (You also have to #define chdir to _chdir and getcwd
to _getcwd in Windows, but at least the functions do exist.)
--Travis Cobbs (tcobbs@san.REMOVE.rr.com)
|
|
Message is in Reply To:
| | Re: Seams like a problem
|
| Anders Isaksson wrote... (...) Yes, it can help L3Lab, but not L3P which also compiles under Borland Turbo C from 1988 and under Linux. /Lars (24 years ago, 12-Oct-00, to lugnet.cad.dev)
|
16 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|