cancel
Showing results for 
Search instead for 
Did you mean: 

STBLLIB - error when calling FILES_ImageFromFile

assaf
Associate
Posted on March 12, 2009 at 13:37

STBLLIB - error when calling FILES_ImageFromFile

1 REPLY 1
assaf
Associate
Posted on May 17, 2011 at 13:06

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