PDA

View Full Version : Specifying the save file location



wvubiometric
March 30, 2004, 08:22:45
I am currently trying to save the file in a specific directory by using this...

m_pGrabber->getActiveMemBuffer()->save("temp.bmp");

I know that this saves the file to the working directory is there any way to save the file to a directory of your choice....for example

c:\temp\temp.bmp

Stefan Geissler
March 30, 2004, 08:36:53
Hello,

Yes you can:
m_pGrabber->getActiveMemBuffer()->save("c:\\temp\\temp.bmp");

Please remark, that you need double backslashes (“\\”in C quotes).