Hi all!
I use VC 2008
I have following type of error when i try to compile my code:
Error 1 error C2660: 'ConvertImageFileToDXT1' : function does not take 3 arguments e:\FSD Source\FSD Source\Freestyle\Tools\DVDInfo\DVDWorker.cpp 245 Freestyle
Code:
Code:string nxeslotPath = "NXEART:\\nxeslot.jpg"; if(FileExists(nxeslotPath)){ BYTE* thumbnailData = NULL; long thumbnailSize = 0; #ifdef _USING_DXT5 ConvertImageFileToDXT5Buffer(nxeslotPath, &thumbnailData, &thumbnailSize); #else if ConvertImageFileToDXT1(nxeslotPath, &thumbnailData, &thumbnailSize); #endif iconData dataIcon; dataIcon.thumbnailData = thumbnailData; dataIcon.thumbnailSize = thumbnailSize; m_CurrentItem->setSlotData(dataIcon); m_CurrentItem->setHaveSlot(true); }
i dont know where is the problem


Reply With Quote