Announcement

Collapse
No announcement yet.

DragQueryFile

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • DragQueryFile

    The following function works under XP but not under VISTA:

    Code:
    Count=DragQueryFile(CBWPARAM, &HFFFFFFFF, BYVAL 0, 0)
    How does the function work also under VISTA?

  • #2
    Insufficient code/ information shown.

    I 'assume' this is reponse to a WM_DROPFILES message, where cbwparam=drop handle? And the window has properly been registered as a drop file target? What does it return and what should it have returned? Vista/32 or Vista/64?

    There's nothing on the MDSN site indicating this function has a different behavior under Vista (32 or 64). All I found was a forums article indicating it may have some problems when the filenames use Chinese characters and you are using the COM interface. (Then again, Chinese characters in the filename might just be your problem!)
    Michael Mattias
    Tal Systems Inc. (retired)
    Racine WI USA
    [email protected]
    http://www.talsystems.com

    Comment


    • #3
      I just notice that the bug does not always occur. I must check what kind of circumstances must be.

      Comment

      Working...
      X