www.digitalmars.com         C & C++   DMDScript  

c++.windows.32-bits - Looking for shlwapi.h or equivilant for DM

reply Anonymous <Anonymous_member pathlink.com> writes:
Is shlwapi.h renamed or just not available in the DMC++ compiler & etc?
I have need of it for the WinApi AssocQueryString/AssocQueryKey commands, among
others, but I don't have header file necessary.
Jul 07 2003
parent reply Arjan Knepper <arjan ask.me> writes:
For some reason it is not included in the free-commandline-compiler-package.

Download the Win32 platformSDK form M$.

Arjan

Anonymous wrote:
 Is shlwapi.h renamed or just not available in the DMC++ compiler & etc?
 I have need of it for the WinApi AssocQueryString/AssocQueryKey commands, among
 others, but I don't have header file necessary.
 
 
Jul 07 2003
parent reply Anonymous <Anonymous_member pathlink.com> writes:
Download the Win32 platformSDK form M$.

Arjan
That's done, and the header file works, although the shlwapi.lib I built with implib doesn't seem to be working. shlwapi.def: LIBRARY SHLWAPI EXETYPE NT SUBSYSTEM WINDOWS EXPORTS _AssocQueryStringA 24=AssocQueryString A description doesn't matter either way, I still end up with: Error Starting Program The *removed*.EXE file is linked to missing export SHLWAPI:AssocQueryString (And of course the inevitable attached device is not working error also) Every other time this has happened it's been a bad dll or bad library link, what am I doing wrong here?
Jul 07 2003
parent Arjan Knepper <arjan ask.me> writes:
I allways use Jan's modified implib from http://www.digitalmars.com/~jan

Works OK for me, never had any of the problems you describe.

So give it a try.

Arjan


P.S.
My implib defs have only the EXPORTS part.

Anonymous wrote:
Download the Win32 platformSDK form M$.

Arjan
That's done, and the header file works, although the shlwapi.lib I built with implib doesn't seem to be working. shlwapi.def: LIBRARY SHLWAPI EXETYPE NT SUBSYSTEM WINDOWS EXPORTS _AssocQueryStringA 24=AssocQueryString A description doesn't matter either way, I still end up with: Error Starting Program The *removed*.EXE file is linked to missing export SHLWAPI:AssocQueryString (And of course the inevitable attached device is not working error also) Every other time this has happened it's been a bad dll or bad library link, what am I doing wrong here?
Jul 08 2003