again findfirstfile problem:/



Hi,
Gettin back to my problem from 26 of May " findfirstfile problem:/"...
I've tried to replace this condition:
..if structFindDir.dwFileAttributes == FILE_ATTRIBUTE_DIRECTORY
With this:
..if structFindDir.dwFileAttributes == (FILE_ATTRIBUTE_DIRECTORY AND
FILE_ATTRIBUTE_COMPRESSED)
but it fails on compressed direcotries...
I've also tried:
cmp structFindDir.dwFileAttributes, 81
and:
cmp structFindDir.dwFileAttributes, 0x81, but I get an error "A2206: missing
operator in expression"

How to "connect" this conditions (FILE_ATTRIBUTE_DIRECTORY AND
FILE_ATTRIBUTE_COMPRESSED) and check if the dir is one of those which I
need?

regards,
mike


.



Relevant Pages

  • Re: again findfirstfile problem:/
    ... but it fails on compressed direcotries... ... cmp structFindDir.dwFileAttributes, 0x81, but I get an error "A2206: ... You need to make use of the correct logical operation. ... following truth tables: ...
    (alt.lang.asm)
  • RE: service fails to start!
    ... > That will give you and indication qwhere it fails on startup. ...
    (microsoft.public.sqlserver.connect)
  • Re: All is right !
    ... Best regards ... cmp al,41h; ... then a mov AH,0 would do it. ... int 21h ...
    (alt.lang.asm)