Signal på COM/USB port når PC klar efter startup - Page 2

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From Danish to

Threaded View
Re: Signal på COM/USB port når PC klar efter startup
Quoted text here. Click to load it

Jeg bruger mange forskellige. Denne er meget brugt og gratis:
http://www.bloodshed.net/devcpp.html
Den kan godt debugge, men simulere med hardware er ikke så let


--
Absolutely not the best homepage on the net:
http://home20.inet.tele.dk/midgaard
We've slightly trimmed the long signature. Click to see the full one.
Re: Signal på COM/USB port når PC klar efter startup

Quoted text here. Click to load it

Bruk denne windows message så løser det seg lett :

WM_POWERBROADCAST

The WM_POWERBROADCAST message is broadcast to an application to notify it of
power-management events.

Power-management event. This parameter can be one of the following events.
EventMeaning
PBT_APMBATTERYLOW    Battery power is low.
PBT_APMOEMEVENTOEM    -defined event occurred.
PBT_APMPOWERSTATUSCHANGE    Power status has changed.
PBT_APMQUERYSUSPEND    Request for permission to suspend.
PBT_APMQUERYSUSPENDFAILED    Suspension request denied.
PBT_APMRESUMEAUTOMATIC    Operation resuming automatically after event.
PBT_APMRESUMECRITICAL    Operation resuming after critical suspension.
PBT_APMRESUMESUSPEND    Operation resuming after suspension.
PBT_APMSUSPEND    System is suspending operation.



Site Timeline