Re: [Interest] using windows FindFirstFile

2012-02-15 Thread Graham Labdon
windows FindFirstFile > Date: Wed, 15 Feb 2012 11:58:32 + > From: Graham Labdon > Subject: [Interest] using windows FindFirstFile > > In the code below the call to FindFirstFile always fails with the > error 'ERROR_INVALID_NAME' > The file that I set in searc

Re: [Interest] using windows FindFirstFile

2012-02-15 Thread David Ching
> Date: Wed, 15 Feb 2012 11:58:32 + > From: Graham Labdon > Subject: [Interest] using windows FindFirstFile > > In the code below the call to FindFirstFile always fails with the error 'ERROR_INVALID_NAME' > The file that I set in searchPath does exist. > Does

Re: [Interest] using windows FindFirstFile

2012-02-15 Thread norulez
Use QDir::toNativeSeparators() which replace slashes with backslashes Best Regards Am 15.02.2012 um 12:58 schrieb Graham Labdon : > Hi > I am trying to use the windows FindFirstFile function. > In the code below the call to FindFirstFile always fails with the error > ‘ERROR_INVALID_NAME’ > The

[Interest] using windows FindFirstFile

2012-02-15 Thread Graham Labdon
Hi I am trying to use the windows FindFirstFile function. In the code below the call to FindFirstFile always fails with the error 'ERROR_INVALID_NAME' The file that I set in searchPath does exist. Does anyone know the correct way to do this? Thanks #ifdef Q_OS_WIN WIN32_FIND_DATA FindFileData;