Jump to content

Recommended Posts

I have a program I wrote that randomly fades aero (vista) from one color to another. However I am calling a function in the dwapi that is not exported. Is there any programs out there that will help me re-find this function when MS updates this dll and thus changes the entry point of this function.

Or is there a better way to access the function, as I would like to make sure this program will work when win 7 arrives, or at least decrease the amount of time I will have to spend searching for the functions entry point, so I can more quickly handle any changes to the dll made by MS.

Link to post
Share on other sites

The function I am calling does not appear in the msdn description of the dll, or in dll export viewer ( http://www.nirsoft.net/utils/dll_export_viewer.html ).

I know how to call functions by name, but this one i can not find by name and I am forced to call it by entry point. And this calling it by entry point makes me very vulnerable to changes in the dll.

Link to post
Share on other sites
The function I am calling does not appear in the msdn description of the dll, or in dll export viewer ( http://www.nirsoft.net/utils/dll_export_viewer.html ).

I know how to call functions by name, but this one i can not find by name and I am forced to call it by entry point. And this calling it by entry point makes me very vulnerable to changes in the dll.

Tried a debugger on running system dll or exe files? Maybe explorer.exe calls it and you can see it in a debugger.

Link to post
Share on other sites
Tried a debugger on running system dll or exe files? Maybe explorer.exe calls it and you can see it in a debugger.

Yes, that is more or less how I got the function pointer in the first place. But because this DLL changes in win 7 i am trying to see if I can come up with a better way of doing this. But I am not sure if it is possible

Link to post
Share on other sites
Yes, that is more or less how I got the function pointer in the first place. But because this DLL changes in win 7 i am trying to see if I can come up with a better way of doing this. But I am not sure if it is possible

Maybe write your own DLL that has the functionality you need?

Link to post
Share on other sites
Maybe write your own DLL that has the functionality you need?

I am not skilled enough to do that, but thanks guys. I have come to the conclusion now that like you say if I want it to play nice I would have to write my own but since that is above my skill set I will just let it alone and keep hacking it with each new version of the dll.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...