Click here to Skip to main content
15,907,120 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to use dll in thread Pin
yingkou19-Aug-04 22:46
yingkou19-Aug-04 22:46 
QuestionHow to send and receive ARP packets Pin
chito19-Aug-04 22:27
chito19-Aug-04 22:27 
AnswerRe: How to send and receive ARP packets Pin
David Crow20-Aug-04 3:04
David Crow20-Aug-04 3:04 
GeneralRe: How to send and receive ARP packets Pin
chito20-Aug-04 14:06
chito20-Aug-04 14:06 
GeneralRe: How to send and receive ARP packets Pin
David Crow23-Aug-04 3:18
David Crow23-Aug-04 3:18 
GeneralATL wizard upgrade to .NET Pin
philbel19-Aug-04 22:06
philbel19-Aug-04 22:06 
QuestionHow can restart windows when user log off Pin
Marks Zhu19-Aug-04 21:20
Marks Zhu19-Aug-04 21:20 
AnswerRe: How can restart windows when user log off Pin
David Crow20-Aug-04 3:06
David Crow20-Aug-04 3:06 
AnswerRe: How can restart windows when user log off Pin
geo_m20-Aug-04 3:48
geo_m20-Aug-04 3:48 
QuestionHow to remove CLOSE Button from right top corner? Pin
kriaz19-Aug-04 21:03
kriaz19-Aug-04 21:03 
AnswerRe: How to remove CLOSE Button from right top corner? Pin
David Crow20-Aug-04 3:11
David Crow20-Aug-04 3:11 
Generalorientation of printing Pin
jvriend19-Aug-04 20:59
jvriend19-Aug-04 20:59 
GeneralRe: orientation of printing Pin
BadJerry20-Aug-04 3:54
BadJerry20-Aug-04 3:54 
GeneralRe: orientation of printing Pin
Andrew Peace22-Aug-04 5:49
Andrew Peace22-Aug-04 5:49 
QuestionHow to build a SAFEARRAY? Pin
anderslundsgard19-Aug-04 20:59
anderslundsgard19-Aug-04 20:59 
AnswerRe: How to build a SAFEARRAY? Pin
Antony M Kancidrowski20-Aug-04 0:01
Antony M Kancidrowski20-Aug-04 0:01 
GeneralRe: How to build a SAFEARRAY? Pin
anderslundsgard20-Aug-04 0:10
anderslundsgard20-Aug-04 0:10 
GeneralRe: How to build a SAFEARRAY? Pin
Antony M Kancidrowski20-Aug-04 0:27
Antony M Kancidrowski20-Aug-04 0:27 
GeneralRe: How to build a SAFEARRAY? Pin
anderslundsgard20-Aug-04 0:31
anderslundsgard20-Aug-04 0:31 
QuestionHow to prepare code for using COM Pin
dudic19-Aug-04 20:42
dudic19-Aug-04 20:42 
AnswerRe: How to prepare code for using COM Pin
Rory Solley19-Aug-04 21:39
Rory Solley19-Aug-04 21:39 
QuestionHow to enable hibernation support in VC++? Pin
ErisonWu19-Aug-04 20:38
ErisonWu19-Aug-04 20:38 
AnswerRe: How to enable hibernation support in VC++? Pin
geo_m20-Aug-04 3:53
geo_m20-Aug-04 3:53 
Hi,

look at SetSystemPowerState function. This allows you either to set the system into Stand-by or hibernate states.

MSDN Says:
The SetSystemPowerState function suspends the system by shutting power down. Depending on the ForceFlag parameter, the function either suspends operation immediately or requests permission from all applications and device drivers before doing so.

...

The calling process must have the SE_SHUTDOWN_NAME privilege.


Hope that helps
Generalerror LNK2019 using AFX_MODULE_STATE in Release version Pin
sugumar19-Aug-04 20:08
sugumar19-Aug-04 20:08 
GeneralRe: error LNK2019 using AFX_MODULE_STATE in Release version Pin
Antony M Kancidrowski20-Aug-04 0:09
Antony M Kancidrowski20-Aug-04 0:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.