Home > Back-end >  C language to do a popup window of the system
C language to do a popup window of the system

Time:11-01


I knock on the code, according to the teaching video in teaching video above not wrong, but I an error

#include

Void main ()
{

MessageBox (0, "your machine will restart in 5 minutes,", "prompt", 0).


}


This is the source code a great god, please grant instruction

CodePudding user response:

What is the error message???
Try to join a command
 # pragma comment (lib, "user32") 

CodePudding user response:

Character set wrong

Methods:



Or change to:
MessageBox (0, L "your machine will restart in 5 minutes," and L "tip", 0).
  • Related