Article View: borland.public.cppbuilder.nativeapi
Article #2795Re: form inside a dll loaded by a console application
From: Stefano Bonifazi
Date: Tue, 26 Dec 2006 22:16
Date: Tue, 26 Dec 2006 22:16
15 lines
1577 bytes
1577 bytes
HiMr Lebeau, thank U for Ur reply! >> if I try to load that dll and show the form form inside a console >> application I notice that my form does not answer any more to >> windows messages :( > > That is because a console application does not have any message queue of its > own by default. You have to implement one manually. You mean that I have to create an hidden window with its WndProc callback function inside the console application calling the dll? .. And then the form will receive messages again fine? that is I have not to process VCL message by myself inside that WndProc? Best regards! Stefano B.
Technical Details
Message-ID:
<45919f15@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<458e4f48@newsgroups.borland.com> <45903d10$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,3fa2091e9808a898 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Tue, 26 Dec 2006 23:16:11 +0100 From: Stefano Bonifazi <stefboombastic@email.it> User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: form inside a dll loaded by a console application References: <458e4f48@newsgroups.borland.com> <45903d10$1@newsgroups.borland.com> In-Reply-To: <45903d10$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 80.104.235.101 Message-ID: <45919f15@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1167171349 80.104.235.101 (26 Dec 2006 14:15:49 -0800) Lines: 15 Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail