Handling LPTSTR in golang with lxn/win
问题 I have this piece of code which runs without returning err but simply doesn't do its job because it doesn't return the expected value. The idea is to use SHGetSpecialFolderPath in order to retrieve the path to the Windows directory ( C:\Windows for example). This api call has the following signature: BOOL SHGetSpecialFolderPath( HWND hwndOwner, _Out_ LPTSTR lpszPath, _In_ int csidl, _In_ BOOL fCreate ); I know it is deprecated, but still available even on current Windows versions. I have to