XP slows down after standby

bump!! anyone!

#389082

Have you tried only running AveDesk and not the other stuff? Just to make 100% sure its really Avedesk?

#389165

yes it is avedesk. i closed RK leaving avedesk on and it still slow.

#389363

A possible solution would be for AveDesk to handle WM_POWERBROADCAST messages and exit into a minimal loop waiting for the wake-up message to be issued. Gonna test it this evening.

#389400

assuming that the problem is only if avedesk comes out of a suspend mode.

Which Oldmanyoung could try out. If he stops avedesk and restarts it, is it still slow?

I had the impression it was always slow.

#389440

i didnt...quite understand what herd said but is it something i cld try it out myself?

if i close and open the avedesk again after coming back from standby, there is no performance hit.

#389740

Ok that's good news, in one way.

So if you do restart the avedesk after the standby, everything is ok.

Maybe what herd is suggesting (programming in avedesk, no your end oldman.) might work.

#389826

hope herd can come up with a solution..? :)

#389881

I didn't get anything yet. Give me another two weeks and you'll have a separate app that runs in the background and closes/reopens AveDesk before/after suspend/hibernate. Maybe I can integrate it in the AveDesk shell extension so that no additional process is run. Would that be OK?

#390631

Hmm, so the app will close and reopen in itself? cool :P

That wld be great Herd but please take ur own time. No hurry here.

Thanks alot man! :)

#390896

Oldmanyoung, here it is:

The attached archive contains a meagre 6KB executable called adlaptop.exe.

You put it in your startup folder or run it manually.

It has no user interface. Kill it from task manager.

Suspend and Hibernate is too fast to close it before, but it will reliably stop and restart AveDesk when it wakes up. For anyone concerned, the sources are attached also.

wkr,

herd

adlaptop.zip

Attachment: adlaptop.zip

#392029

Herd, what's the point of the sleep() call?

while( (bRet = GetMessage( &msg, NULL, 0, 0 )) != 0)

{

if (bRet == -1)

{

// handle the error and possibly exit

break;

}

else

{

TranslateMessage(&msg);

DispatchMessage(&msg);

}

Sleep(100);

}

Aren't you only slowing down DDE and global broadcasts by 0.1 s?

BTW, I just stripped out the classnames you're using for the next version :P

return FindWindow("AveDummyClass", "AveDummyWindow");

The apps main window is now using:

CLASSNAME: AveDeskMainWindowClass

WINDOWNAME: AveDeskMainWindow

#392073

El Maestro,

I found this Sleep amount to be useful for an executable that is mostly idle. One could remove it, though.

IIRC, DDE does never happen here and global broadcasts are parallelized by the OS anyway...

I'll need to touch ADUtils.dll too if you change the classnames but thats fine by me. Maybe others rely on the 'dummies' too?

Feel free to modify it to your needs and bundle it with the next release.

#392461

oh i am so sorry for not checking this out earlier. i really dont spend much time on the pc these days...

hmm so i tried this software...

-i opened avedesk

-i started ADlaptop

-i put my laptop on standby

-a few seconds later i wake it up and avedesk is closed but it doesnt open itself again...

am i doing something wrong here?

#393841

Try the following:

1. Run the register.bat in your AveDesk folder

2. Start ADLaptop before AveDesk

3. I hope you don't use a 1.4 beta

hth,

herd

#394232

Nope it doesnt open itself. I opened register.bat, starts adlaptop and then avedesk. But no luck.

And no, i do not use the beta version.

#394618

Hmmm. Back to the sketchboard again...

'Our inquiries continue...' :)

#394832

Hi Herd,

Another little annoyance banished. :)

Thank you for the little program, working great here, no more manually restarting Avedesk for me!

#395028

It works for u? how come nothin works on my damn laptop :(

Hi Herd,

Another little annoyance banished. :)

Thank you for the little program, working great here, no more manually restarting Avedesk for me!

#395365

Probably the poblems are related?

I ran out of ideas.

#395955

i have the same poblems ...........

#400807

I had a similar problem but I managed to solve it.

See here: my problem

#424433