0.85b2: Memory cards in card readers not detected

*** Please report new bugs here! ***

Moderator: Dreamer

User avatar
Posts: 1370
Joined: Wed Aug 16, 2006 6:31 am

0.85b2: Memory cards in card readers not detected

Postby m.Th. » Sat Mar 25, 2017 10:06 am

All card readers register in Windows several drives depending on how many card bays have.
Here is a picture of my card reader in order to settle what we are talking about:
https://www.amazon.com/Kingston-Digital ... B00VAGX6MW
(Very good model but nothing special in our discussion.)

However, while Windows Explorer detects the change, XnView MP does not.

How WinExplorer works?

When someone inserts a card then the MediaInserted Win OS event is triggered. The application must register itself via SHChangeNotifyRegister function (https://msdn.microsoft.com/en-us/library/bb762120(VS.85).aspx) in order to receive these events.
If the card is pulled out then the MediaRemoved event is triggered.

At the end, the application should de-register itself from the event chain by using SHChangeNotifyDeregister function.

A nice overview of the above steps is outlined at http://stackoverflow.com/questions/2420 ... s-messages
m. Th.

The Ascetic Experience - The best photos and texts from Holy Mountain (Athos)

- Dark Themed XnViewMP 0.86 64bit & XnView 2.00 x64 on Win7 x64 -

Return to “New”

Who is online

Users browsing this forum: No registered users and 1 guest