> Just encountered another bug, the desktop wouldn't repaint anymore. > My function appeared to get called correctly, as bmp file got updated > properly. Restarting powerpro fixed it then...
Don't why this would be but you could take PPro out of the picture by making your stil32jp.dll into a plugin with a service to reset the wallpaper to a supplied jpg file. From within this servce, call your convertBMP and then SystemParametersInfo with SPI_SETWALLPAPER (going from memory on that the parameter). Then use a timer or scheduled event from PowerPro to call your service to manage wallpaper changes. Of course, you could also write your plugin in a separate dll to be purer. But PowerPro allows plugins in the main powerpro folder, so using stil32jp.dll as a Q&D soln should work. > I'm still wondering, could you provide me with some info on this dll > stuff Bruce? > What calling conventions are used, how it should be declared, if temp > path is actually of any relevance here...programming language of > Powerpro could be helpful too maybe. > Don't this is your issue. Its C and standard C calling.
