![]() |
【转帖】using Oddbole2framegetlinkname90 Seems To Crash Odamfcapp
using oddbole2frame::getlinkname() seems to crash odamfcapp
using oddbole2frame::getlinkname() seems to crash odamfcapp hi, i tried to use the oddbole2frame::getlinkname() method in odamfcapp(v 1.14.02) after inserting a new ole object. while debugging, i noticed that this method calls the method linkname() of the derived class of odoleitemhandler - oledwgitem(implementation in ole.cpp). it seems to cause a recursion calling and respectively a stack overflow. is it a bug in ole.cpp and is there any way to get the linkname of a linked object? thanks in advance, nino hi, with current implementation of dd ole handler (odoleitemhandler.drx) oddbole2frame::getlinkname() and oddbole2frame::getlinkpath() should return the same value (it works fine for me). most likely, you use sample handler from odamfcapp.exe example there is a bug in there in "ole.cpp" -- oledwgitem::linkname() calls itself. just call oddbole2frame::getlinkpath() or use "odoleitemhandler.drx". thanks for the attention. best regards, nino |
所有的时间均为北京时间。 现在的时间是 07:04 AM. |