Hi
Sorry....
Yes CreateDirectory is a macro in WinDef.h, which is included from Windows.h somewhere along the way.
It happens when compiling my application. I have a library which is my game engine, and other assorted things, and when the whole program gets linked, then it falls over.
I do use SFML 2.0 but an older build (pre camelCase conversion) - we are updating soon
I'll have to see what happens then, but as it stands, the linker doesn't know which function to use - the Windows API one or the SFML one.
I have to support this legacy code for a while (probably 6 months) so I do need a solution. Not including windows.h sadly isn't one
I have other code that depends on it.
Thanks