Let's schedule WinAPI ASCII functions for deprecation!

Dmitry Olshansky dmitry.olsh at gmail.com
Wed May 23 12:46:38 PDT 2012


On 23.05.2012 23:29, Michael wrote:
> In WinAPI we have: LoadLibraryA/W, but not GetProcAddressA/W because PE
> COFF limitations exists.
>
>> Walter Bright
>> The user can decide what to use or not use from it.
> +1. For me LoadLibraryA works well.
>
>> 256 max path
> It's FS limitation.

Nope. Quoting random top hit from google:

Individual components of a filename (i.e. each subdirectory along the 
path, and the final filename) are limited to 255 characters, and the 
total path length is limited to approximately 32,000 characters. 
However, you should generally try to limit path lengths to below 260 
characters (MAX_PATH) when possible. See 
http://msdn.microsoft.com/en-us/library/aa365247.aspx for full details.

-- 
Dmitry Olshansky


More information about the Digitalmars-d mailing list