Jump to content

EAccessViolation : Access violation at address 03C36B6E in module TestUniFrame.dll. Read of address 00000000


Recommended Posts

Posted

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?

Posted

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...