Re: Ugh, stupid TCHAR problems. Anyone able to tell me how to fix this in EUcode?

new topic     » goto parent     » topic index » view thread      » older message » newer message

Your code is incorrect.

The second parameter to GetLogicalDriveStrings() is a pointer to a buffer that holds the returned strings. It is not a pointer to a pointer. The first parameter is the length of this buffer.

The result is a series of null terminated strings. This will in the form: C:\(NULL)D:\(NULL)

(NULL) is a single zero character.

I have used this function as described and know it works.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu