Article View: borland.public.cppbuilder.nativeapi
Article #15571Re: How to use LoadPackage in BCB ?
From: Miem Chan
Date: Thu, 26 Jun 2003 16:30
Date: Thu, 26 Jun 2003 16:30
41 lines
2754 bytes
2754 bytes
I read some of the recent postings in the group and searched the Google (without any luck) to find an example BCB code showing how to use dynamic package loading. Can some BCB guru donate a simple example code showing how to create a package to export a form and how to make a main application to load the exported form from the package dynamically? Miem Chan miemchan@yahoo.com "Clayton Arends" <nospam_claytonarends@hotmail.com> wrote in message news:3ef7a17a$1@newsgroups.borland.com... > "Pang Fu" <pangfu@hotmail.com> wrote in message > news:3ef5c77e@newsgroups.borland.com... > > > The runtime error is on the LoadPackage line. This line causes > > 'InvalidPointerOperation' run-time error message. > > Is "ProC00" exported from your package? You can use either __export, > __declspec(dllexport), or the preferred PACKAGE keyword. Also, C/C++ > usually prepends an underscore to all functions which would make the name of > your method "_ProC00". There are many other possiblities for the problem > you are seeing and I don't want to clutter this message any further. If you > still have problems then respond to this thread and include the relevant > source from your package. > > > Would you recommend further how to solve this problems? > > Is there any BCB example code somewhere in this universe showing how to > > use dynamic package loading in BCB? > > There are plenty of examples in past newsgroup messages. Use Google to > search for past postings: http://www.google.com/grphp > > - Clayton > >
Technical Details
Message-ID:
<3efb1fd9@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!skynet.be!skynet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3ef2a233@newsgroups.borland.com> <3ef2aa44$1@newsgroups.borland.com> <3ef5c77e@newsgroups.borland.com> <3ef7a17a$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,2a0bcef6d2779e50 X-Google-Attributes: gid10cc67,public X-Google-Thread: 102541,2a0bcef6d2779e50 X-Google-Attributes: gid102541,public X-Google-ArrivalTime: 2003-06-26 09:40:05 PST From: "Miem Chan" <miemchan@yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi,borland.public.cppbuilder.students References: <3ef2a233@newsgroups.borland.com> <3ef2aa44$1@newsgroups.borland.com> <3ef5c77e@newsgroups.borland.com> <3ef7a17a$1@newsgroups.borland.com> Subject: Re: How to use LoadPackage in BCB ? Date: Fri, 27 Jun 2003 02:30:40 +1000 Lines: 43 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 211.26.157.197 Message-ID: <3efb1fd9@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1056645081 211.26.157.197 (26 Jun 2003 09:31:21 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!skynet.be!skynet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail