Feature #903
JDAntiStandby
| Status: | Closed | Start date: | 11/11/2009 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 0% |
||
| Category: | Addon | |||
| Target version: | Next Major Public Release 1.xxx | |||
| Resolution: |
Description
an addon that will prevent windows(maybe other os too) from entering standby when download is running
for windows you can find sourcecode in tools/standby
(from http://www.codeguru.com/cpp/w-p/system/messagehandling/print.php/c6907 )
we need to find a way to load the dll
the addon itself should be very simple
Related issues
History
Updated by Greeny over 3 years ago
checkout trunk/tools/standby from our repository ... this directory contains the sourcecode from the anti-standby-hack, but I couldn't get it running..
Updated by Gigant over 3 years ago
in StandbyDetector.java
change: System.loadLibrary("StandByDetector");
to: System.load("<PATH>/StandByDetector.dll");
now it will load it but i get a new error :D
Updated by Gigant over 3 years ago
Exception in thread "main" java.lang.UnsatisfiedLinkError: main.StandByDetector.init()Z
at main.StandByDetector.init(Native Method)
at main.StandByDetector.<init>(StandByDetector.java:16)
at main.StandByTest.main(StandByTest.java:13)
google said something about the problem.
Maybe the dll is missing other dll's (not static):/
Updated by Gigant over 3 years ago
weitere infos zur dll
http://jdownloader.net:8081/pastebin/b8028b0003882ecaf9ff4f5a92a0cc23
Updated by Gigant over 3 years ago
ref: http://social.msdn.microsoft.com/Forums/en/csharpgeneral/thread/385c3b38-fb74-4bb8-b064-c2392c8f46d0
last 2 post's
This way should no longer work in vista/win7
maybe we can user powercfg.exe
Updated by Gigant over 3 years ago
http://msdn.microsoft.com/en-us/library/aa373208%28VS.85%29.aspx <-- vieleicht ne lösung
Updated by Gigant over 3 years ago
- Status changed from New to Assigned
- Assignee set to Gigant
lösung gefunden
plugin kommt
Updated by jiaz almost 3 years ago
- Target version set to Next Major Public Release 1.xxx
Updated by Think3r over 1 year ago
Ist das nicht erledigt?
Updated by jiaz over 1 year ago
nein, weil das addon noch net gefixed wurde
Updated by Think3r over 1 year ago
Ach das inner Nightly hat nen Bug? Wusst ich nich, k.