#C++ & aaplay.dll
6 messages in this thread
Hi All
We are having problems trying to use the FULL SCREEN option of the aaplay.dll.
If the FULL SCREEN option is on and you start your screen saver, mouse clicks
are recognised but mouse moves are not.
Any Advise ?
T.I.A
Geoff Coope
Borland C++ V4.x
AAPLAY.DLL
Windows enviroment
I answered you in e-mail.
-b
How come? I would have been interested in the reply to that aswell!
Paul.
<<How come? I would have been interested in the reply to that aswell!>>
Simply because he sent me an e-mail as well, and that was what I answered
first.
Since you are interested, here was my answer:
<< when you invoke the FULL SCREEN option in the Windows player, the AAPLAY.DLL
is making calls directly to the video card BIOS, bypassing the Windows driver
entirely. As a result other Windows events that involve the display, such as
mouse events, are ignored.
I am not aware of a workaround for this, however removal of the AAVGA.DLL might
give you an option you can work with.
-Brian>>
Well I can shed a bit more light myself now…
Use SetWindowsHookEx to install a system wide hook for the MouseProc and trap
any WM_MOUSEMOVE messages. Send them to your ScreenSaver main window and it
will terminate in the usual way with a mouse movement. Then unhook your
MouseProc.
Unfortunately, if you are using a password protected screensaver you will find
that this completely hangs your machine when Windows tries to create the
password dialog box before you have changed video modes and before you have
removed your hooks. I don't know what to do about this yet.
Deleting AAVGA.DLL doesn't really help because then you are no longer playing
full screen anyway.
Does AAVGA.DLL kill *all* other system activity? I mean will comms be
interrupted if AAVGA.DLL is playing something fullscreen?
Paul.
<<Does AAVGA.DLL kill *all* other system activity? I mean will comms be
interrupted if AAVGA.DLL is playing something fullscreen?>>
The AAVGA.DLL should only intercept or interrupt any function that makes a call
to the Windows display driver.
-Brian