Joke Collection Website - Public benefit messages - Vb short message
Vb short message
# include & ltwindows.h & gt
int WINAPI WinMain(h instance h instance,HINSTANCE hPrev,LPWSTR CmdLine,int nCmd)
{
MessageBox(NULL, TEXT ("My first PPC program! "), TEXT ("first "), MB _ OK | MB _ iconinformation);
Returns 0;
}
My first PPC program, hehe.
In the subroutine, you can see that the declaration of WinMain function is a little different from that of Windows SDK (you have to look carefully to see it ~), and another point is that the string must be in TEXT (), hehe, everything else is similar. In fact, EVC is as fast as MFC to VC.
Maybe everyone will be a little inspired when they read it.
- Previous article:He walked through his heart (Chapter 65438 +0 ~ 5)
- Next article:Wechat sends red envelopes to children.
- Related articles
- Model contract of project cooperation agreement
- Hello, how did you delete the text messages from your Nokia phone? My question is the same as yours.
- The complete works of 77 sentences praising her husband.
- Warmly congratulate the 80-year-old man on his birthday.
- How to get digital RMB?
- How does vivo red envelope assistant automatically locate the red envelope window?
- Collection of short message confessions of girls (90 articles)
- How to handle the installment of CITIC Credit Card?
- Provisions on interview proportion of public institutions
- Why is the information of iphone in English?