From: Andre B. <and...@gm...> - 2003-02-15 12:47:29
|
I'm currently debugging the eclipse plugin and found out a problem with the DLL usage of the parser. I'm instanciating the 'RenameLocalVariableClass' and calling 'getOldVariableName'. This passes a String from the DLL to the PluginDLL. Both DLLs are using different Heaps ofcourse, and for this reason the destructor of the passed string does not point to the Local-Heap of the PluginDLL and the DebugAssertions do report an error. The Plugin runs fine, but the passing of a pointer across DLL borders is not correct, isn't it ? Does the same thing happen to VC6addin ? I'm currently thinking about linking the RFTA & RFTA_PARSER Library directly to the PluginCode. Any suggestions will help... -- Andre |