On Mon, Dec 8, 2008 at 11:57 PM, Thomas M. Ortiz <[EMAIL PROTECTED]> wrote: > After exhausting all alternatives known to me, I contacted Microsoft, who > found the solution to the problem (see below). The DLLs in the Octave Forge > distribution of v. 3.0.1 all had an RT_MANIFEST ID = 1, which signifies that > they are executables; DLL files must be given an ID = 2. When I changed > them by hand-editing the resource files, the problem disappeared.
Could you be more specific about which DLL's you had to change. Especially, octave.dll and octinterp.dll are created using "cl -LD ..." (there's no resource file associated with them). If this command does not do the right thing, then the blame is to put on MSVC compiler... > However, it would be helpful to have both Debug and Release versions of the > Octave distribution available for download. Indeed, but it takes time to generate and my time resources are limited... > Finally, the Microsoft engineer was able to discern from looking at the > resource files that some of the DLLs in the VS 2005 distribution of Octave > 3.0.1 were actually created using VS 2003. This is dangerous because > passing pointers among DLLs created using different versions of Visual > Studio can result in memory access violations. All of the Octave DLLs > should be built with the same VS version. I'm aware of the problem of using different RT. That's why I spend some (a huge amount of?) time to recompile all deps with MSVC, Could you be more specific about which DLL's are compiled with VS2003. I used to bundle some external pre-compiled tools with octave, and they are usually build with older versions of MSVC, but this is harmless regarding octave DLL's. Michael. ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Octave-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/octave-dev
