CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Posts
    1

    Screensavers as DLLs

    When I try to load a 32-bit Windows 95 screensaver as a DLL, I often don't get a handle back, and if I do, trying to GetProcAddress the screensaver function doesn't work - is there any reason for this? I've written millions of screensavers and I know you export the two functions, so why wont they load?? Any clues as to this thing are appreciated!


  2. #2
    Join Date
    May 1999
    Location
    Oregon, USA
    Posts
    302

    Re: Screensavers as DLLs

    That is a good question. I just tried "dumpbin /exports" on a bunch
    of screen savers I have and there appear to be no exports in them.
    At least they are recognized as executable images. I then tried YAHU
    on it with the same result. It did have one executable section though.
    I guess this explains why GetProcAddress fails.
    Sorry I can't be more helpful.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured