I have a licensed (PAID) version of F-In-Box (v3.3.3.6)
I recently tried to run a program I developed using F-in-box on a PC running Windows 7 x64.
I received the following error: "Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
I also tried the F-In-Box samples (.Net, C#). ALL OF THE SAMPLES had the same error. I then downloaded the newest release (v3.3.3.8). I again tried to run the samples, using the NEW version of F-in-Box and all of them had the same error!
So this error has nothing to do with the host application code, and newer versions of F-in-box do not fix the problem.
The stack trace of the first SAMPLE project is below:
at f_in_box__lib.f_in_box__wrapper.FPC_GetClassNameW(UInt32 hFPC)
at f_in_box__lib.f_in_box__control.get_CreateParams()
at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.Control.get_Handle()
at f_in_box__lib.f_in_box__control.set_FlashProperty_AlignMode(Int32 value)
at Sample01_SWF_And_FLV_Player.MainForm.InitializeComponent() in C:\Users\Richard\Desktop\Sample01_SWF_And_FLV_Player\Form1.cs:line 155
at Sample01_SWF_And_FLV_Player.MainForm..ctor() in C:\Users\Richard\Desktop\Sample01_SWF_And_FLV_Player\Form1.cs:line 35
at Sample01_SWF_And_FLV_Player.MainForm.Main() in C:\Users\Richard\Desktop\Sample01_SWF_And_FLV_Player\Form1.cs:line 213
at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
It looks like FPC_GetClassNameW is the culprit.
Thanks for any help you can provide.
P.S. Of course these projects are all run as x86 projects (under WoW64)