Re: Active X Library problem
- From: Meunier Michel <michel.meunier10@xxxxxxxxxx>
- Date: Sat, 25 Jun 2005 08:31:11 +0200
J French a écrit :
That's true ShowMessage is in Dialogs, but the problem is that also I need to load a standard dll inside the active x library, for that I need LoadLibrary (within Windows unit) and my library also crash!!On Fri, 24 Jun 2005 20:00:26 +0200, Meunier Michel <michel.meunier10@xxxxxxxxxx> wrote:
Hello,
I am writing an active x library with automation, but I have a problem, I need to use showmessage in the initialization part of the library and so I have added Windows in the uses part. Unfortunatly the library crash, and in fact if I cancel the showmessage line, I only keep the uses windows, the library also crash. How to solve this problem?
It sounds like a conflict between procedures in the Windows unit and those ... somewhere else ...
Add another unit, put that in the Uses clause, then put your 'showmessage' in there
BTW ShowMessage is in Dialogs so I think that you might really mean Window.MessageBox
I don't know if what I say is clear, but to be simple:
uses windows inside my active library ---> crash at initialization
uses dialogs inside my active library ---> crash at initialization
Michel .
- Follow-Ups:
- Re: Active X Library problem
- From: J French
- Re: Active X Library problem
- References:
- Active X Library problem
- From: Meunier Michel
- Re: Active X Library problem
- From: J French
- Active X Library problem
- Prev by Date: Re: Active X Library problem
- Next by Date: Re: Active X Library problem
- Previous by thread: Re: Active X Library problem
- Next by thread: Re: Active X Library problem
- Index(es):
Relevant Pages
|