Thread overview
Looking for shlwapi.h or equivilant for DM
Jul 07, 2003
Anonymous
Jul 07, 2003
Arjan Knepper
Jul 07, 2003
Anonymous
Jul 08, 2003
Arjan Knepper
July 07, 2003
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.


July 07, 2003
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.
> 
> 

July 07, 2003
>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?


July 08, 2003
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?
> 
>