Jump to content

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


18787441676@yeah.net

Recommended Posts

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...