AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Win32/Win64 API (native code) Delphi SD-Card im CardReader mittels WM_DeviceChange?
Thema durchsuchen
Ansicht
Themen-Optionen

SD-Card im CardReader mittels WM_DeviceChange?

Offene Frage von "ralfiii"
Ein Thema von Rociel · begonnen am 1. Sep 2006 · letzter Beitrag vom 18. Jul 2011
Antwort Antwort
Seite 2 von 3     12 3      
Robert Marquardt
(Gast)

n/a Beiträge
 
#11

Re: SD-Card im CardReader mittels WM_DeviceChange?

  Alt 9. Sep 2006, 15:11
Ich war bisher der Meinung das man fuer USB-Geraete zumindest DBT_DEVICEARRIVAL und DBT_DEVICEREMOVECOMPLETE immer bekommt.

Zu den GUIDs sollte die im Schluessel USB\Vid_0dda&Pid_2005\Vid_0dda&Pid_2005 die richtige sein, sofern das wirklich der Eintrag fuer den Cardreader ist.

Ich glaube aber das du darauf nur WM_DEVICECHANGEs fuer das Abziehen bzw Anstecken des Cardreaders selbst bekommst.
Das Ein- und Ausstecken des Mediums ist etwas anders. Wenn es sich bei den Medien um Volumes handelt dann bekommst du natuerlich WM_DEVICECHANGE : DBT_DEVTYP_VOLUME Messages.
  Mit Zitat antworten Zitat
Rociel

Registriert seit: 13. Feb 2005
Ort: Könnern/MD
107 Beiträge
 
Delphi 2006 Personal
 
#12

Re: SD-Card im CardReader mittels WM_DeviceChange?

  Alt 9. Sep 2006, 15:42
zum 1. is ja auch so, ich steck den CardReader rein, da bekomm ich die meldungen(arrival), und es erscheinen 4 laufwerke, für SD, CF, MS, und SM, so da is nu nix drinne, und wenn ich ne Karte reinstecke, dann wechselt die beschreibung von "Wechseldatenträger" zum Label der SD/MMC - Karte, und bei dem wechsel, bekomm ich keine meldung, auch nicht wenn ich die karte rausziehe.....
wenn ich aber den gesamten cardreader vom usb ziehe, kommen wieder die meldungen(removecomplete)

zum 2. und LocationInformation steht Card Reader, ich habs noczhmal mit der classGUID aus dem Key versucht, bekomm aber nix

zum 3. hmpf.... also doch so, ok, ich versuch mal mit DBT_DEVTYP_VOLUME
  Mit Zitat antworten Zitat
Rociel

Registriert seit: 13. Feb 2005
Ort: Könnern/MD
107 Beiträge
 
Delphi 2006 Personal
 
#13

Re: SD-Card im CardReader mittels WM_DeviceChange?

  Alt 9. Sep 2006, 16:19
das mit dem volume hab ich ausprobiert, läuft aber nich, dann hab ich mal folgendes übernommen:

http://www.delphipraxis.net/internal...ct.php?t=55323

das läuft auch nicht......

woran kanns also sonst liegen?!?
  Mit Zitat antworten Zitat
Olli
(Gast)

n/a Beiträge
 
#14

Re: SD-Card im CardReader mittels WM_DeviceChange?

  Alt 9. Sep 2006, 16:42
Sorry, hatte mich wohl unklar ausgedrückt. IMO müssen die GUIDs der Geräteklasse und nicht dem Gerät entsprechen. Daher habe ich mal schnell durch mein DDK-Include-Verzeichnis geGREPt und folgendes gefunden:
Code:
C:\Programme\WINDDK\3790.1830\inc\wnet\devguid.h
       1  DEFINE_GUID( GUID_DEVCLASS_1394,               0x6bdd1fc1L, 0x810f, 0x11d0, 0xbe, 0xc7, 0x08, 0x00, 0x2b, 0xe2, 0x09, 0x2f );
       2  DEFINE_GUID( GUID_DEVCLASS_1394DEBUG,          0x66f250d6L, 0x7801, 0x4a64, 0xb1, 0x39, 0xee, 0xa8, 0x0a, 0x45, 0x0b, 0x24 );
       3  DEFINE_GUID( GUID_DEVCLASS_61883,              0x7ebefbc0L, 0x3200, 0x11d2, 0xb4, 0xc2, 0x00, 0xa0, 0xc9, 0x69, 0x7d, 0x07 );
       4  DEFINE_GUID( GUID_DEVCLASS_ADAPTER,            0x4d36e964L, 0xe325, 0x11ce, 0xbf, 0xc1, 0x08, 0x00, 0x2b, 0xe1, 0x03, 0x18 );
       5  DEFINE_GUID( GUID_DEVCLASS_APMSUPPORT,         0xd45b1c18L, 0xc8fa, 0x11d1, 0x9f, 0x77, 0x00, 0x00, 0xf8, 0x05, 0xf5, 0x30 );
       6  DEFINE_GUID( GUID_DEVCLASS_AVC,                0xc06ff265L, 0xae09, 0x48f0, 0x81, 0x2c, 0x16, 0x75, 0x3d, 0x7c, 0xba, 0x83 );
       7  DEFINE_GUID( GUID_DEVCLASS_BATTERY,            0x72631e54L, 0x78a4, 0x11d0, 0xbc, 0xf7, 0x00, 0xaa, 0x00, 0xb7, 0xb3, 0x2a );
       8  DEFINE_GUID( GUID_DEVCLASS_BIOMETRIC,          0x53d29ef7L, 0x377c, 0x4d14, 0x86, 0x4b, 0xeb, 0x3a, 0x85, 0x76, 0x93, 0x59 );
       9  DEFINE_GUID( GUID_DEVCLASS_BLUETOOTH,          0xe0cbf06cL, 0xcd8b, 0x4647, 0xbb, 0x8a, 0x26, 0x3b, 0x43, 0xf0, 0xf9, 0x74 );
      10  DEFINE_GUID( GUID_DEVCLASS_CDROM,              0x4d36e965L, 0xe325, 0x11ce, 0xbf, 0xc1, 0x08, 0x00, 0x2b, 0xe1, 0x03, 0x18 );
      11  DEFINE_GUID( GUID_DEVCLASS_COMPUTER,           0x4d36e966L, 0xe325, 0x11ce, 0xbf, 0xc1, 0x08, 0x00, 0x2b, 0xe1, 0x03, 0x18 );
      12  DEFINE_GUID( GUID_DEVCLASS_DECODER,            0x6bdd1fc2L, 0x810f, 0x11d0, 0xbe, 0xc7, 0x08, 0x00, 0x2b, 0xe2, 0x09, 0x2f );
      13  DEFINE_GUID( GUID_DEVCLASS_DISKDRIVE,          0x4d36e967L, 0xe325, 0x11ce, 0xbf, 0xc1, 0x08, 0x00, 0x2b, 0xe1, 0x03, 0x18 );
      14  DEFINE_GUID( GUID_DEVCLASS_DISPLAY,            0x4d36e968L, 0xe325, 0x11ce, 0xbf, 0xc1, 0x08, 0x00, 0x2b, 0xe1, 0x03, 0x18 );
      15  DEFINE_GUID( GUID_DEVCLASS_DOT4,               0x48721b56L, 0x6795, 0x11d2, 0xb1, 0xa8, 0x00, 0x80, 0xc7, 0x2e, 0x74, 0xa2 );
      16  DEFINE_GUID( GUID_DEVCLASS_DOT4PRINT,          0x49ce6ac8L, 0x6f86, 0x11d2, 0xb1, 0xe5, 0x00, 0x80, 0xc7, 0x2e, 0x74, 0xa2 );
      17  DEFINE_GUID( GUID_DEVCLASS_ENUM1394,           0xc459df55L, 0xdb08, 0x11d1, 0xb0, 0x09, 0x00, 0xa0, 0xc9, 0x08, 0x1f, 0xf6 );
      18  DEFINE_GUID( GUID_DEVCLASS_FDC,                0x4d36e969L, 0xe325, 0x11ce, 0xbf, 0xc1, 0x08, 0x00, 0x2b, 0xe1, 0x03, 0x18 );
      19  DEFINE_GUID( GUID_DEVCLASS_FLOPPYDISK,         0x4d36e980L, 0xe325, 0x11ce, 0xbf, 0xc1, 0x08, 0x00, 0x2b, 0xe1, 0x03, 0x18 );
      20  DEFINE_GUID( GUID_DEVCLASS_GPS,                0x6bdd1fc3L, 0x810f, 0x11d0, 0xbe, 0xc7, 0x08, 0x00, 0x2b, 0xe2, 0x09, 0x2f );
      21  DEFINE_GUID( GUID_DEVCLASS_HDC,                0x4d36e96aL, 0xe325, 0x11ce, 0xbf, 0xc1, 0x08, 0x00, 0x2b, 0xe1, 0x03, 0x18 );
      22  DEFINE_GUID( GUID_DEVCLASS_HIDCLASS,           0x745a17a0L, 0x74d3, 0x11d0, 0xb6, 0xfe, 0x00, 0xa0, 0xc9, 0x0f, 0x57, 0xda );
      23  DEFINE_GUID( GUID_DEVCLASS_IMAGE,              0x6bdd1fc6L, 0x810f, 0x11d0, 0xbe, 0xc7, 0x08, 0x00, 0x2b, 0xe2, 0x09, 0x2f );
      24  DEFINE_GUID( GUID_DEVCLASS_INFINIBAND,         0x30ef7132L, 0xd858, 0x4a0c, 0xac, 0x24, 0xb9, 0x02, 0x8a, 0x5c, 0xca, 0x3f );
      25  DEFINE_GUID( GUID_DEVCLASS_INFRARED,           0x6bdd1fc5L, 0x810f, 0x11d0, 0xbe, 0xc7, 0x08, 0x00, 0x2b, 0xe2, 0x09, 0x2f );
      26  DEFINE_GUID( GUID_DEVCLASS_KEYBOARD,           0x4d36e96bL, 0xe325, 0x11ce, 0xbf, 0xc1, 0x08, 0x00, 0x2b, 0xe1, 0x03, 0x18 );
      27  DEFINE_GUID( GUID_DEVCLASS_LEGACYDRIVER,       0x8ecc055dL, 0x047f, 0x11d1, 0xa5, 0x37, 0x00, 0x00, 0xf8, 0x75, 0x3e, 0xd1 );
      28  DEFINE_GUID( GUID_DEVCLASS_MEDIA,              0x4d36e96cL, 0xe325, 0x11ce, 0xbf, 0xc1, 0x08, 0x00, 0x2b, 0xe1, 0x03, 0x18 );
      29  DEFINE_GUID( GUID_DEVCLASS_MEDIUM_CHANGER,     0xce5939aeL, 0xebde, 0x11d0, 0xb1, 0x81, 0x00, 0x00, 0xf8, 0x75, 0x3e, 0xc4 );
      30  DEFINE_GUID( GUID_DEVCLASS_MODEM,              0x4d36e96dL, 0xe325, 0x11ce, 0xbf, 0xc1, 0x08, 0x00, 0x2b, 0xe1, 0x03, 0x18 );
      31  DEFINE_GUID( GUID_DEVCLASS_MONITOR,            0x4d36e96eL, 0xe325, 0x11ce, 0xbf, 0xc1, 0x08, 0x00, 0x2b, 0xe1, 0x03, 0x18 );
      32  DEFINE_GUID( GUID_DEVCLASS_MOUSE,              0x4d36e96fL, 0xe325, 0x11ce, 0xbf, 0xc1, 0x08, 0x00, 0x2b, 0xe1, 0x03, 0x18 );
      33  DEFINE_GUID( GUID_DEVCLASS_MTD,                0x4d36e970L, 0xe325, 0x11ce, 0xbf, 0xc1, 0x08, 0x00, 0x2b, 0xe1, 0x03, 0x18 );
      34  DEFINE_GUID( GUID_DEVCLASS_MULTIFUNCTION,      0x4d36e971L, 0xe325, 0x11ce, 0xbf, 0xc1, 0x08, 0x00, 0x2b, 0xe1, 0x03, 0x18 );
      35  DEFINE_GUID( GUID_DEVCLASS_MULTIPORTSERIAL,    0x50906cb8L, 0xba12, 0x11d1, 0xbf, 0x5d, 0x00, 0x00, 0xf8, 0x05, 0xf5, 0x30 );
      36  DEFINE_GUID( GUID_DEVCLASS_NET,                0x4d36e972L, 0xe325, 0x11ce, 0xbf, 0xc1, 0x08, 0x00, 0x2b, 0xe1, 0x03, 0x18 );
      37  DEFINE_GUID( GUID_DEVCLASS_NETCLIENT,          0x4d36e973L, 0xe325, 0x11ce, 0xbf, 0xc1, 0x08, 0x00, 0x2b, 0xe1, 0x03, 0x18 );
      38  DEFINE_GUID( GUID_DEVCLASS_NETSERVICE,         0x4d36e974L, 0xe325, 0x11ce, 0xbf, 0xc1, 0x08, 0x00, 0x2b, 0xe1, 0x03, 0x18 );
      39  DEFINE_GUID( GUID_DEVCLASS_NETTRANS,           0x4d36e975L, 0xe325, 0x11ce, 0xbf, 0xc1, 0x08, 0x00, 0x2b, 0xe1, 0x03, 0x18 );
      40  DEFINE_GUID( GUID_DEVCLASS_NODRIVER,           0x4d36e976L, 0xe325, 0x11ce, 0xbf, 0xc1, 0x08, 0x00, 0x2b, 0xe1, 0x03, 0x18 );
      41  DEFINE_GUID( GUID_DEVCLASS_PCMCIA,             0x4d36e977L, 0xe325, 0x11ce, 0xbf, 0xc1, 0x08, 0x00, 0x2b, 0xe1, 0x03, 0x18 );
      42  DEFINE_GUID( GUID_DEVCLASS_PNPPRINTERS,        0x4658ee7eL, 0xf050, 0x11d1, 0xb6, 0xbd, 0x00, 0xc0, 0x4f, 0xa3, 0x72, 0xa7 );
      43  DEFINE_GUID( GUID_DEVCLASS_PORTS,              0x4d36e978L, 0xe325, 0x11ce, 0xbf, 0xc1, 0x08, 0x00, 0x2b, 0xe1, 0x03, 0x18 );
      44  DEFINE_GUID( GUID_DEVCLASS_PRINTER,            0x4d36e979L, 0xe325, 0x11ce, 0xbf, 0xc1, 0x08, 0x00, 0x2b, 0xe1, 0x03, 0x18 );
      45  DEFINE_GUID( GUID_DEVCLASS_PRINTERUPGRADE,     0x4d36e97aL, 0xe325, 0x11ce, 0xbf, 0xc1, 0x08, 0x00, 0x2b, 0xe1, 0x03, 0x18 );
      46  DEFINE_GUID( GUID_DEVCLASS_PROCESSOR,          0x50127dc3L, 0x0f36, 0x415e, 0xa6, 0xcc, 0x4c, 0xb3, 0xbe, 0x91, 0x0B, 0x65 );
      47  DEFINE_GUID( GUID_DEVCLASS_SBP2,               0xd48179beL, 0xec20, 0x11d1, 0xb6, 0xb8, 0x00, 0xc0, 0x4f, 0xa3, 0x72, 0xa7 );
      48  DEFINE_GUID( GUID_DEVCLASS_SCSIADAPTER,        0x4d36e97bL, 0xe325, 0x11ce, 0xbf, 0xc1, 0x08, 0x00, 0x2b, 0xe1, 0x03, 0x18 );
      49  DEFINE_GUID( GUID_DEVCLASS_SECURITYACCELERATOR, 0x268c95a1L, 0xedfe, 0x11d3, 0x95, 0xc3, 0x00, 0x10, 0xdc, 0x40, 0x50, 0xa5 );
[color=red]     50  DEFINE_GUID( GUID_DEVCLASS_SMARTCARDREADER,    0x50dd5230L, 0xba8a, 0x11d1, 0xbf, 0x5d, 0x00, 0x00, 0xf8, 0x05, 0xf5, 0x30 );[/color]
      51  DEFINE_GUID( GUID_DEVCLASS_SOUND,              0x4d36e97cL, 0xe325, 0x11ce, 0xbf, 0xc1, 0x08, 0x00, 0x2b, 0xe1, 0x03, 0x18 );
      52  DEFINE_GUID( GUID_DEVCLASS_SYSTEM,             0x4d36e97dL, 0xe325, 0x11ce, 0xbf, 0xc1, 0x08, 0x00, 0x2b, 0xe1, 0x03, 0x18 );
      53  DEFINE_GUID( GUID_DEVCLASS_TAPEDRIVE,          0x6d807884L, 0x7d21, 0x11cf, 0x80, 0x1c, 0x08, 0x00, 0x2b, 0xe1, 0x03, 0x18 );
      54  DEFINE_GUID( GUID_DEVCLASS_UNKNOWN,            0x4d36e97eL, 0xe325, 0x11ce, 0xbf, 0xc1, 0x08, 0x00, 0x2b, 0xe1, 0x03, 0x18 );
      55  DEFINE_GUID( GUID_DEVCLASS_USB,                0x36fc9e60L, 0xc465, 0x11cf, 0x80, 0x56, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00 );
      56  DEFINE_GUID( GUID_DEVCLASS_VOLUME,             0x71a27cddL, 0x812a, 0x11d0, 0xbe, 0xc7, 0x08, 0x00, 0x2b, 0xe2, 0x09, 0x2f );
      57  DEFINE_GUID( GUID_DEVCLASS_VOLUMESNAPSHOT,     0x533c5b84L, 0xec70, 0x11d2, 0x95, 0x05, 0x00, 0xc0, 0x4f, 0x79, 0xde, 0xaf );
      58  DEFINE_GUID( GUID_DEVCLASS_WCEUSBS,            0x25dbce51L, 0x6c8f, 0x4a72, 0x8a, 0x6d, 0xb5, 0x4c, 0x2b, 0x4f, 0xc8, 0x35 );
      59  DEFINE_GUID( GUID_DEVCLASS_FSFILTER_ACTIVITYMONITOR,        0xb86dff51L, 0xa31e, 0x4bac, 0xb3, 0xcf, 0xe8, 0xcf, 0xe7, 0x5c, 0x9f, 0xc2 );
      60  DEFINE_GUID( GUID_DEVCLASS_FSFILTER_UNDELETE,               0xfe8f1572L, 0xc67a, 0x48c0, 0xbb, 0xac, 0x0b, 0x5c, 0x6d, 0x66, 0xca, 0xfb );
      61  DEFINE_GUID( GUID_DEVCLASS_FSFILTER_ANTIVIRUS,              0xb1d1a169L, 0xc54f, 0x4379, 0x81, 0xdb, 0xbe, 0xe7, 0xd8, 0x8d, 0x74, 0x54 );
      62  DEFINE_GUID( GUID_DEVCLASS_FSFILTER_REPLICATION,            0x48d3ebc4L, 0x4cf8, 0x48ff, 0xb8, 0x69, 0x9c, 0x68, 0xad, 0x42, 0xeb, 0x9f );
      63  DEFINE_GUID( GUID_DEVCLASS_FSFILTER_CONTINUOUSBACKUP,       0x71aa14f8L, 0x6fad, 0x4622, 0xad, 0x77, 0x92, 0xbb, 0x9d, 0x7e, 0x69, 0x47 );
      64  DEFINE_GUID( GUID_DEVCLASS_FSFILTER_CONTENTSCREENER,        0x3e3f0674L, 0xc83c, 0x4558, 0xbb, 0x26, 0x98, 0x20, 0xe1, 0xeb, 0xa5, 0xc5 );
      65  DEFINE_GUID( GUID_DEVCLASS_FSFILTER_QUOTAMANAGEMENT,        0x8503c911L, 0xa6c7, 0x4919, 0x8f, 0x79, 0x50, 0x28, 0xf5, 0x86, 0x6b, 0x0c );
      66  DEFINE_GUID( GUID_DEVCLASS_FSFILTER_SYSTEMRECOVERY,         0x2db15374L, 0x706e, 0x4131, 0xa0, 0xc7, 0xd7, 0xc7, 0x8e, 0xb0, 0x28, 0x9a );
      67  DEFINE_GUID( GUID_DEVCLASS_FSFILTER_CFSMETADATASERVER,      0xcdcf0939L, 0xb75b, 0x4630, 0xbf, 0x76, 0x80, 0xf7, 0xba, 0x65, 0x58, 0x84 );
      68  DEFINE_GUID( GUID_DEVCLASS_FSFILTER_HSM,                    0xd546500aL, 0x2aeb, 0x45f6, 0x94, 0x82, 0xf4, 0xb1, 0x79, 0x9c, 0x31, 0x77 );
      69  DEFINE_GUID( GUID_DEVCLASS_FSFILTER_COMPRESSION,            0xf3586bafL, 0xb5aa, 0x49b5, 0x8d, 0x6c, 0x05, 0x69, 0x28, 0x4c, 0x63, 0x9f );
      70  DEFINE_GUID( GUID_DEVCLASS_FSFILTER_ENCRYPTION,             0xa0a701c0L, 0xa511, 0x42ff, 0xaa, 0x6c, 0x06, 0xdc, 0x03, 0x95, 0x57, 0x6f );
      71  DEFINE_GUID( GUID_DEVCLASS_FSFILTER_PHYSICALQUOTAMANAGEMENT, 0x6a0a8e78L, 0xbba6, 0x4fc4, 0xa7, 0x09, 0x1e, 0x33, 0xcd, 0x09, 0xd6, 0x7e );
      72  DEFINE_GUID( GUID_DEVCLASS_FSFILTER_OPENFILEBACKUP,         0xf8ecafa6L, 0x66d1, 0x41a5, 0x89, 0x9b, 0x66, 0x58, 0x5d, 0x72, 0x16, 0xb7 );
      73  DEFINE_GUID( GUID_DEVCLASS_FSFILTER_SECURITYENHANCER,       0xd02bc3daL, 0x0c8e, 0x4945, 0x9b, 0xd5, 0xf1, 0x88, 0x3c, 0x22, 0x6c, 0x8c );
      74  DEFINE_GUID( GUID_DEVCLASS_FSFILTER_COPYPROTECTION,         0x89786ff1L, 0x9c12, 0x402f, 0x9c, 0x9e, 0x17, 0x75, 0x3c, 0x7f, 0x43, 0x75 );
      75  DEFINE_GUID( GUID_DEVCLASS_FSFILTER_SYSTEM,                 0x5d1b9aaaL, 0x01e2, 0x46af, 0x84, 0x9f, 0x27, 0x2b, 0x3f, 0x32, 0x4c, 0x46 );
      76  DEFINE_GUID( GUID_DEVCLASS_FSFILTER_INFRASTRUCTURE,         0xe55fa6f9L, 0x128c, 0x4d04, 0xab, 0xab, 0x63, 0x0c, 0x74, 0xb1, 0x45, 0x3a );
Die entsprechende Include-Datei schicke ich dir nochmal gepackt per PN zu.
  Mit Zitat antworten Zitat
Rociel

Registriert seit: 13. Feb 2005
Ort: Könnern/MD
107 Beiträge
 
Delphi 2006 Personal
 
#15

Re: SD-Card im CardReader mittels WM_DeviceChange?

  Alt 9. Sep 2006, 16:54
hm, ok, danke, und wie soll ich die jetzt einbinden?
  Mit Zitat antworten Zitat
Rociel

Registriert seit: 13. Feb 2005
Ort: Könnern/MD
107 Beiträge
 
Delphi 2006 Personal
 
#16

Re: SD-Card im CardReader mittels WM_DeviceChange?

  Alt 9. Sep 2006, 17:26
also ich hab das dan so verwendet:

Zitat:
GUID_DEVINTERFACE_SD: TGUID = '{50dd5230L-ba8a-11d1-bf5d-0000f805f530}';
da bringt der mit, dass die Syntax falsch is, desshalb hab ich das markierte L weg genommen, da das über all dabei ist, und ne meldung bringt er immer noch nit
  Mit Zitat antworten Zitat
Olli
(Gast)

n/a Beiträge
 
#17

Re: SD-Card im CardReader mittels WM_DeviceChange?

  Alt 10. Sep 2006, 00:22
Zitat von Rociel:
also ich hab das dan so verwendet:

Zitat:
GUID_DEVINTERFACE_SD: TGUID = '{50dd5230L-ba8a-11d1-bf5d-0000f805f530}';
da bringt der mit, dass die Syntax falsch is, desshalb hab ich das markierte L weg genommen, da das über all dabei ist, und ne meldung bringt er immer noch nit
Hmm, dann weiß ich auch nicht weiter. Das L muß deshalb weg, weil es ein C-Sprachelement ist. Es bedeutet, daß C diesen Integer-Literal als Long behandeln soll (s.o.) ...
  Mit Zitat antworten Zitat
Rociel

Registriert seit: 13. Feb 2005
Ort: Könnern/MD
107 Beiträge
 
Delphi 2006 Personal
 
#18

Re: SD-Card im CardReader mittels WM_DeviceChange?

  Alt 10. Sep 2006, 08:16
hm, ok, trotzdem danke =)

ich werds dann so lösen, dass er alle 5 sec. oder so, die laufwerke überprüft ob sich da was geändert hat.
  Mit Zitat antworten Zitat
Olli
(Gast)

n/a Beiträge
 
#19

Re: SD-Card im CardReader mittels WM_DeviceChange?

  Alt 10. Sep 2006, 09:22
Wenn du willst, kannst du mir deinen aktuellen Code mit allen Abhängigkeiten (z.B. Units) mal zuschicken. Ich habe hier einen Laptop mit Smartcard-Reader und Delphi und würde es mal kurz (<1h) austesten. Im besten Falle bekommst du eine Lösung, im schlechtesten bleibt's beim jetzigen Stand.

Nur als Angebot.
  Mit Zitat antworten Zitat
Rociel

Registriert seit: 13. Feb 2005
Ort: Könnern/MD
107 Beiträge
 
Delphi 2006 Personal
 
#20

Re: SD-Card im CardReader mittels WM_DeviceChange?

  Alt 10. Sep 2006, 16:23
ok, schicks dir glei per pn
  Mit Zitat antworten Zitat
Antwort Antwort
Seite 2 von 3     12 3      


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 13:39 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz