| |
|
|
 Gabor Krizsma | Hi,
I have the following trouble: I need a function, what automatically recognize, if I one USB Stick reinstecke, and as returnparameter gives me The drive (h:, or F: etc) the USB back. Erstes part have I already, now Please I but Help... How can I The drive Info rausziehen?
Hilfeseiten for trouble (hopefully) [...]  so far i see, The & UlParam should include my info, but the can I not treat
my kurzprogramm (XProfan 11 fullversion) CompileMarkSeparation means question: What drive letter has the plugged USB?
I hope that here is the right Forum.... oh, and German is not my native tongue, so I Please circa understanding...  |
|
|
| Ein Ausländer, der mit Xprofan programmiert ! Entschuldigung für meine Fehlern... | 05/21/10 ▲ |
|
|
|
|
 | Hey Gabor, Welcome!
Perhaps helps you: [...] - look time drüber. |
|
|
| |
|
|
|
 Gabor Krizsma | Hey, thanks for response ! unfortunately The GetLogicalDrives and GetDriveType functions help I do not 
trouble is, if I z.B. already The dritte USB Stick reinstecke, where should the program know, which was latest?
therefore have I attempts, these Broadcast of windows To reading, but I have so weinge Experience with XProfan (3 Monaten so far.), and can I The Systemvariable &UlParam not read.
but from this modifiziertes Program sees man, the not Empty is ! CompileMarkSeparation i'm already utterly wonder, what kind of Info enthaltet these Variable my supposition of msdn.com:
The system broadcasts the DBT_DEVICEARRIVAL device event when a device or piece of media has been inserted and becomes available.
To broadcast this device event, the system uses the WM_DEVICECHANGE message with wParam set to DBT_DEVICEARRIVAL (this is $8000 into View source) and lParam set as described following: A pointer to a structure identifying the device inserted. The structure consists of an event-independent header, followed by event-dependent members that describe the device. To use this structure, treat the structure as a DEV_BROADCAST_HDR structure, then checked its dbch_devicetype member to determine the device type.
have your / have you got Perhaps ideas, how can I The Info of &UlParam read? (I knows not whether the one Struct or one area is#... no idea unfortunately )
Gabor |
|
|
| Ein Ausländer, der mit Xprofan programmiert ! Entschuldigung für meine Fehlern... | 05/21/10 ▲ |
|
|
|
|
 | Hello Gabor,
mean You something like? CompileMarkSeparation User Messages are here instead of SubClassing less suitable, because a memory the message read becomes, but what is definitely time for message and user messages but ((if too) "zum Glück") shifts/ gestackt einflattern and supplied Speicheradressen not any more consist must if one from this then attempts "verspätet" auszulesen.
with obigem (based on subclassing-) code can I successful my Handy-drive discern. (having no other unit to hand )
hope it helps. ^^
>> I know not whether the one Struct or one area is#
can only both be a field and it is always - "Struktur" describe ("nur") The order the Information in memory. |
|
|
| |
|
|
|
 Gabor Krizsma | Hi,
the was very, I sought have ! Vielen-many Thanks for speedy response
i get it the Message-system integral rather !  |
|
|
| Ein Ausländer, der mit Xprofan programmiert ! Entschuldigung für meine Fehlern... | 05/25/10 ▲ |
|
|
|
|
 | gladly happen.
If the theme for you "erledigt" is, then Please on Done/ inaktiv settle (so it from whom Indexen herausfällt) - top of this, "Thema: Aktiv" clicking and on the following site [X] active abwählen.
further about: [...]  |
|
|
| |
|
|