Welcome, Guest

Addition external library that uses OJ's DLLs
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Addition external library that uses OJ's DLLs
#182
Addition external library that uses OJ's DLLs 1 Year, 10 Months ago  
Hello,

I have a project that uses OJ (its DLLs).
This project also uses another external library (this time with lib file and not DLL). The external library uses OJ's DLLs too. When it does, the program crashes with heap exception.

from dbgheap.c file (where the program failed):
/*
* Go through the heap regions and see if the pointer lies within one
* of the regions of the local heap.
*
* Pointers from non-local heaps cannot be handled. For example, a
* non-local pointer may come from a DLL that has the CRT linked-in.
*
*/


Is there is something that can be done?

If someone will explain me how to upload files, I will attach the error message and the heap stack.


Thanks in advance,

Mayan.
Cohen
OpenJAUS Contributor
Posts: 15
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/03/28 03:48 By Cohen.
The administrator has disabled public write access.
 
#183
Re: Addition external library that uses OJ's DLLs 1 Year, 10 Months ago  
I think that you might be linking openjaus into your project twice, which may be causing this problem. Maybe try removing the oj dlls and just linking in the external lib file. Otherwise I need more specific information about your project's particular setup in order to help you. This sounds like more of a compiler issue than an openjaus issue.
tgalluzzo
Admin
Posts: 133
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
Copyright © 2012 OpenJAUS. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.