Hi,
For people not in the loop, I was having dumping temacs.exe problems
on Win NT 4.0, SP5. It gave an error stating "Procedure entry for
GetLongPathNameW could not be found in KERNEL32". I am using
MSVC++ 6.0.
I did some real testing and came up with the following results:
1. GetLongPathName is supported ONLY on Win98 and Win 2000. It is NOT
supported on NT
2. KERNEL32.DLL has entries corresponding to GetLongPathNameA and
GetLongPathNameW
3. For NT, there is a suggested work around (which I guess Andy knows).
If not, please refer the URL:
http://www.geocities.com/SiliconValley/2060/articles/longpaths.html
4. I tried loading the DLL thru LoadLibrary and find the function entry
point using GetProcAddress on the
above 2 methods. It fails. Hence, it is not Xemacs specific
problem. I had wrongly reported in my earlier
email. I am sorry for misleading (to err is human!).
Suggested solution:
1. Use the method suggested in the URL ( Andy, I remember having seen a
posting from you during 21.1).
This does not depend on specific API calls. This will be more
portable across Win platforms.
2. These methods were not used in the Xemacs 21.5.3 version. I wonder
what prompted the change.
Maybe we could revert.
Note: As Adrian had asked my to do a M-x build-reports, I need Xemacs.
From the binary I have, it gives an error.
If someone is
interested in having the sample test case I wrote to test
the methods in the DLL, please write to me and I will send it across.
As usual, kindly keep me posted in this regard.
with best regards,
dhruva
On Wed, 03 Jul 2002 14:25:05 +0200, "Frank Schmitt"
<ich(a)Frank-Schmitt.net> said:
"Dhruva Krishnamurthy" <seagull(a)fastmail.fm> writes:
> Please let me know if someone has experienced the same problems.
Does
USE_PORTABLE_DUMPER=0
in config.inc help? (Complete rebuild is required)
--
--
Dhruva Krishnamurthy
Home:
http://www.geocities.com/gnued/