Re: Call Ada Dll from vc
- From: Joseph M. Newcomer <newcomer@xxxxxxxxxxxx>
- Date: Fri, 10 Jun 2005 04:46:37 -0400
This sounds like a problem in your Ada runtime. It has been too many years since I looked
at Ada, but I suspect the concept of staic constructors has an equivalent. Or it could be
a failure in the initialization of the Ada runtime. Try posting this question on an Ada
newsgroup.
Note that the DllMain of the Ada DLL will be implemented before your main function, and
any static C++ constructors or constructors invoked as a consequence of static
constructors will also execute, and these could be calling your Ada runtime.
There are thousdands or hundreds of thousands of instructions that can execute before main
is called in C++. If these call the Ada DLL, they could be calling it before it is
properly initialized because initialization may require a call from your C++ code.
joe
On 10 Jun 2005 00:18:55 -0700, "Matthias" <ichwarteaufmail@xxxxxxxx> wrote:
>Hi all,
>
>my last ada problem is solved, but I have a new problem. I use an ada
>dll from a vc program. Sometimes (not everytime) with starting the c++
>application it ends with following message: "ERROR: Infinite loop
>detected in Ada exception manager, EIP=0067d878".
>If I debug the c++ code this message is shown before the main-function.
>Anybody knows what (of an ada dll) is called before the main-function?
>No ada functions will be called before the main-function. You see I
>don't know much about ada and dlls.
>
>Regards
>
>Matthias
Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.
- Follow-Ups:
- Re: Call Ada Dll from vc
- From: Matthias
- Re: Call Ada Dll from vc
- References:
- Call Ada Dll from vc
- From: Matthias
- Call Ada Dll from vc
- Prev by Date: Re: CDatabase CRecordset - How to get the number of rows?
- Next by Date: Re: CFrameWnd::LoadFrame cause insufficient memory error
- Previous by thread: Call Ada Dll from vc
- Next by thread: Re: Call Ada Dll from vc
- Index(es):
Relevant Pages
|