Article View: borland.public.cppbuilder.multimedia
Article #702Re: Form in Dll
From: Maynard Philbrook
Date: Tue, 27 May 2003 22:15
Date: Tue, 27 May 2003 22:15
23 lines
1929 bytes
1929 bytes
You can not call VCL code created in other Moduals in that manner. you must use standard procedure calls to interchange the action so that the procedures will thus call the VCL code in its own modual. ect.. the VCL in an exe and dll uses 2 differenent RTL.. i guess you could use force your app to use packages which then would cure the problem but then you would have an app with a bunch of Package files you need to supply, this gets to look like VB the,.,. Sebastien Fourot wrote: > Hello, > My problem is : I have a program that uses the Component TMediaPlayer, and I want > export the function "Play" of this Component into a DLL. But when I debug the DLL > with a calling application, an access violation arrive when the Dll calls > MediaPlayer->Play. > > I don't know Why? > > Please help me. > > Thanks.
Technical Details
Message-ID:
<3ED3E36A.9F3B5863@mindspring.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!64.152.100.70.MISMATCH!sjc70.webusenet.com!news.webusenet.com!newsfeed2.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!stamper.news.atl.earthlink.net!harp.news.atl.earthlink.net!not-for-mailReferences:
<3ed384cc$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d0fc,e4417fc3831ef86f
X-Google-Attributes: gid10d0fc,public
X-Google-ArrivalTime: 2003-05-27 15:17:15 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!64.152.100.70.MISMATCH!sjc70.webusenet.com!news.webusenet.com!newsfeed2.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!stamper.news.atl.earthlink.net!harp.news.atl.earthlink.net!not-for-mail
From: Maynard Philbrook <UseThis.jamie12@mindspring.com>
Newsgroups: borland.public.cppbuilder.multimedia
Subject: Re: Form in Dll
Date: Tue, 27 May 2003 18:15:06 -0400
Organization: MindSpring Enterprises
Lines: 24
Message-ID: <3ED3E36A.9F3B5863@mindspring.com>
References: <3ed384cc$1@newsgroups.borland.com>
Reply-To: UseThis.jamie12@mindspring.com
NNTP-Posting-Host: 42.a8.28.eb
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Server-Date: 27 May 2003 22:17:14 GMT
X-Mailer: Mozilla 4.5 [en]C-CCK-MCD {TLC;RETAIL} (Win98; U)
X-Accept-Language: en