2009-03-12 05:37 AM
STBLLIB - error when calling FILES_ImageFromFile
2011-05-17 04:06 AM
Hi,
I'm using the FLASH loader demo while writing a custom PC FLASH loader application in C# When calling FILES_ImageFromFile I get the following assersion error: Expression: pHead->nBlockUse == nBlockUse As to the C# side: I'm calling FILES_ImageFromFile using: [DllImport(''Files.dll'')] internal static extern UInt32 FILES_ImageFromFile(ref string pPathFile, IntPtr pImage, byte nAlternate); I pass a pointer to pointer in the pImage parameter. What has gone wrong? Thanks, AssafT