18787441676@yeah.net Posted December 6, 2013 Posted December 6, 2013 I Use C++Builder XE2. I make two Projects:one is main exe project including a mainform,the other is a dll project including a TUniFrame named TTestFrame. In main exe project I call the dll exported create function to make a new instance of TTestFrame,but get a error like following: EAccessViolation : Access violation at address 03C36B6E in module 'TestUniFrame.dll'. Read of address 00000000. How does the program run well? Quote
AlbertoVesx Posted December 6, 2013 Posted December 6, 2013 dont put unifileupload in mainmodule Quote
18787441676@yeah.net Posted December 7, 2013 Author Posted December 7, 2013 I didn't use UniFilupload anywhere.I just separate my program into two projects.I want to implement a plugin develop method. Quote
Oliver Morsch Posted December 7, 2013 Posted December 7, 2013 AFAIK the dll uses another memory manager (by default), which can generate problems with strings and objects used in both. You could try: - packages - using interfaces instead of objects - configure memory manager (shared memory) - make 2 exe and use TUniUrlFrame to include the 2nd one Quote
18787441676@yeah.net Posted December 9, 2013 Author Posted December 9, 2013 I do the same thing In Delphi XE2 : main exe+dll(TUniFrame) works well,but don't work in C++Builder XE2,I think UniGUI doesn't support this. Quote
Administrators Farshad Mohajeri Posted December 9, 2013 Administrators Posted December 9, 2013 Send a test case for investigation. Quote
18787441676@yeah.net Posted December 10, 2013 Author Posted December 10, 2013 I can't find a way how to submit a file,so I send test case to you email. Quote
AlbertoVesx Posted December 10, 2013 Posted December 10, 2013 I can't find a way how to submit a file,so I send test case to you email. Click at more Reply Options button located beside post button. Quote
18787441676@yeah.net Posted December 11, 2013 Author Posted December 11, 2013 OK,this is test case. UniGUI_Plugin_Demo.rar Quote
18787441676@yeah.net Posted December 12, 2013 Author Posted December 12, 2013 Does anybody have the solution of this problem? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.