<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<head>
<meta http-equiv="cache-control" content="max-age=180,private" />
</head>
<card id="discuz_wml" title="CnPack Forum">
<p>#1 GetLongPathNameA function PROBLEM<br /><small>File CnCommon.pas includes this lines (cnpack part):<br />
<br />
function GetLongPathNameA(lpszShortPath: PAnsiChar; lpszLongPath: PAnsiChar;<br />
  cchBuffer: DWORD): DWORD; stdcall; external 'kernel32.dll'<br />
  name 'GetLongPathNameA';<br />
<br />
The GetLongPathName API call is only available on Windows 98/ME and <br />
Windows 2000/XP. It is not available on Windows 95 &amp; NT.<br />
<br />
But file JclFileUtils.cpp includes better solution (cnwizards part):<br />
<br />
function RtdlGetLongPathName(const Path: string): string;<br />
begin<br />
  R ..</small><br />
</p>
<p>#1 <a href="index.php?action=thread&amp;tid=1321&amp;start=0&amp;offset=497&amp;sid=JGl5GH">&gt;&gt;Next Page</a><br />
<br />Forum:<a href="index.php?action=forum&amp;fid=25&amp;sid=JGl5GH">CnWizards IDE Wizard ...</a>
<br />Thread:<a href="index.php?action=thread&amp;tid=1321&amp;sid=JGl5GH">GetLongPathNameA fun ...</a>
<br />Next Thread:<a href="index.php?action=thread&amp;tid=1272&amp;sid=JGl5GH">Cnpack and Gexpert s ...</a>
</p>
<p align="center"><br /><a href="index.php?sid=JGl5GH">Home</a><br />
<a href="index.php?action=login&amp;sid=">Login</a><br /><br />
<small>Powered by Discuz!</small></p>
</card>
</wml>