Brothersoft.comWindows|Mac|Mobile|Games

|Message

Solve software problem quickly Share experience to help others Improve the ability of solving problem
Convert Exe File of C Program to Screensaver

08/24/2011 04:39 by SallyPainting

First answer posted by TommyB at 08/24/2011 04:39
Add Your Answer
10~1000 characters in length CAPTCHA:
2 Answers
  • TommyB
  • 1. Writing the main function:
    1. Create a function named "LRESULT WINAPI ScreenSaverProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)".
    2. Develop this function in the same manner as a typical WinMain. It should process any messages related to the creation of the main window. This function should also handle processing the timer callback.
    3. Finally, pass the hWnd provided by the system to the function you plan on using to initialize your window. In the case of the example, the function should replace the commented code as is shown in the example.
    2. Writing the configuration function:  
    1. Create a function named "BOOL WINAPI ScreenSaverConfigureDialog(HWND hDlg, UINT message, PARAM wParam, LPARAM lParam)". This function will process the configuration dialog of the screensaver.
    2. Handle all configuration messages as shown in the example.
  • Was this answer helpful? 00 · 08/24/2011 04:39
  • Anonymous user
  • exe convert to borland c

  • Was this answer helpful? 00 · 10/07/2011 15:10
Add Your Answer
10~1000 characters in length CAPTCHA:
Related Questions
Q:Program a Game in C

A:Begin studying popular games. 99% of creating a successful game is knowing what people like. You should make a game containing both elements o...(more)

Q:Create a Program in C Sharp

A:Set up (Windows way)     1 Go here to download your free copy of Visual C# 2005 Express Edition, or here to download VC# 200...(more)

Q:What's C programming language the easiest to learn?

A:There are more you can do in C than in C#. C is much harder to learn than C#, If you can't learn C# you could try something else before C.(more)

Q:What Is Freeware Video Screensaver Tools?

A:Compilers and Mixers Screen saver compilers allow you to piece together images, videos and flash files into a continuous animated screen save...(more)

Q:Make a Password Generator Using Notepad

A:Open Notepad. There are many ways to open it. You can: Go to : Start > Accessories > Notepad Go to : Run > notepad You m...(more)

Added Successfully!

×

Are you sure to delete your answer?

NoYes

×

Are you sure to choose it as the best answer?

NoYes

×

Voted Successfully!

×

You can't vote for yourself

×

You can't choose your own answer

×