开发者

delphi XE : Access violation inside LoadLibrary() call

开发者 https://www.devze.com 2023-02-13 09:16 出处:网络
I get an access violation when call a DLL in an project. Both project and dll are use Chart unit (TChart). Remove Tchart from project the LoadLibrary can successful return. It al开发者_开发技巧so work

I get an access violation when call a DLL in an project. Both project and dll are use Chart unit (TChart). Remove Tchart from project the LoadLibrary can successful return. It al开发者_开发技巧so works if Tchart removed from dll. I don't understand why the chart unit can't be used in both project and dll? And how to resolve this problem.


Sarah, this is a bug of the TChart component, located in the TeCanvas unit. the people of Steema are aware of this. you can check the next Thread Delphi XE, TChart in exe and in dll in the embarcadero forums.


I spotted this bug today while using Delphi XE and FastReport 6 VCL, when in exe I have FrxChart and in a library. After long time consumption debugging process, I realized that only TeEngine included in both application can cause crash LoadLibrary() function. Because link to forum is not working anymore, can I do something to repair this bug (excluding remove charts in library)?

0

精彩评论

暂无评论...
验证码 换一张
取 消