From Port.R...@gmail.com on August 22, 2011 00:34:12
Dear SWS developers,
I started developing my own project loading plugin for Reaper. As a template I took the m3u example from the SDK. I removed all the m3u relevant code from the LoadProject() method, which left me with the basic code creating an empty Reaper project. I compiled the plugin with VS2010 and ran it in Reaper 4.01. Using an ASCII file as a dummy project file, everything worked as expected.
Then I tried to load a dummy binary file. Reaper crashed with an unhandled exception and told me that the crash happened inside reaper_sws64.dll. I removed this DLL from Reaper's PlugIn directory and loading the binary file worked perfectly.
Since I'm not an expert on the SDK, I can only guess: Does the SWS extension have a kind of callback/hook registered to the LoadProject() method and tries to access/open the project file ? Does it assume that project files are non-binary ?
I'm using the latest release of the SWS extension (v2.1.0, August 9, 2011), Reaper 4.01, Win7 64bit.
Original issue: http://code.google.com/p/sws-extension/issues/detail?id=354
From Port.R...@gmail.com on August 22, 2011 00:34:12
Dear SWS developers,
I started developing my own project loading plugin for Reaper. As a template I took the m3u example from the SDK. I removed all the m3u relevant code from the LoadProject() method, which left me with the basic code creating an empty Reaper project. I compiled the plugin with VS2010 and ran it in Reaper 4.01. Using an ASCII file as a dummy project file, everything worked as expected.
Then I tried to load a dummy binary file. Reaper crashed with an unhandled exception and told me that the crash happened inside reaper_sws64.dll. I removed this DLL from Reaper's PlugIn directory and loading the binary file worked perfectly.
Since I'm not an expert on the SDK, I can only guess: Does the SWS extension have a kind of callback/hook registered to the LoadProject() method and tries to access/open the project file ? Does it assume that project files are non-binary ?
I'm using the latest release of the SWS extension (v2.1.0, August 9, 2011), Reaper 4.01, Win7 64bit.
Original issue: http://code.google.com/p/sws-extension/issues/detail?id=354