I would always do a quick google search before I check MSDN. Another clue is
that if the function starts with "SH" then it would probably come from
aygshell.dll, otherwise my first guess would be coredll.dll.
You can also do a dumpbin /exports on coredll.dll and aygshell.dll then save
those values in a text file and search on those files whenver you need them
:)
And oh yeah, LoadIcon is within coredll.dll. The OpenNETCF Smart Device
Framework made some clean wrapper classes for handling LoadIcon and
DestroyIcon
--
Regards,
Christian Resma Helle
http://christian-helle.blogspot.com [quoted text, click to view] "JC" <JC@discussions.microsoft.com> wrote in message
news:D98AA5E2-5BC6-46FF-891B-E7F4C9D42700@microsoft.com...
>
> HI, I am trying to use LoadIcon function offered by API on managed code.
> But I can not find out which dll this function belongs to, I need to find
> this
> out in order to make this function available by DLLImport. How do I
> figure
> this out?
>
> Thank you.