1. Christopher Craft
  2. PowerBuilder
  3. Friday, 14 May 2021 15:21 PM UTC

Is there a way to display a list of images in a DLL without having to extract them first?

I am wanting to provide a dropdown list of Icons from pbresource.dll so my users can select those instead of having them exist on the file system. 

Thanks,

Chris Craft

René Ullrich Accepted Answer Pending Moderation
  1. Monday, 17 May 2021 05:57 AM UTC
  2. PowerBuilder
  3. # 1

Maybe the EnumRessource functions (e.g. EnumResourceNamesExW) of Windows API would do what you want:

https://docs.microsoft.com/en-us/windows/win32/api/libloaderapi/

Problem is: The function uses CallBack functionality that you can't use with PowerBuilder. So you have to write a wrapper.

Comment
  1. Christopher Craft
  2. Monday, 17 May 2021 16:56 PM UTC
Thank you Rene - I will take a look.
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.