Options

Scanning the contents of an directory

burdee64burdee64 Member Posts: 20
edited 2006-03-21 in Dynamics AX
Hi,

I'm writing an application which is scanning for new documents in an pre-defined directory.
I have tried using winapi::findFirstFile("<directorylocation>") , and it returns a container with 1 line of contents. Conpeek(<container>, 1) only gives me a number. Now what...? How do I proceed?

Axapta 3.0, SP3

TIA,
Bert van Dijk
Rotor BV

Answers

  • Options
    hghrphghrp Member Posts: 9
    Hi Tia,

    winapi::findnextfile until is return an empty string

    Hth,
    harald
  • Options
    burdee64burdee64 Member Posts: 20
    Thanx,

    Sometimes things can be soooo simple....!
    I must have overlooked this.

    Bert
    Bert van Dijk
    Rotor BV
Sign In or Register to comment.