I have a strange issue with FileWriter class and Windows 7 Pro. On Windows 7 FileWriter doesn't create the file. On XP everything works fine.
I created a simple code to write a single number to the file but the code doesn't work. No error, but no action.
UMC::Status status = writer->Init(&writerParams);
if(status == UMC::UMC_OK)
int i = 5;
int size = 1;
I traced the UIC sample and found that Init() is using standard CreateFile(...). If I tried to use CreateFile(...) instead of writer->Init(...) it's OK with file creation. I am thinking about some kind of security limitations for Windows 7.
Does anyone know about this problem? I run the system as administrator and Parallel Studio XE 2011 with VS2010 as administrator as well.