Article View: borland.public.cppbuilder.nativeapi
Article #15631Re: How to use LoadPackage in BCB ?
From: Clayton Arends
Date: Tue, 24 Jun 2003 00:55
Date: Tue, 24 Jun 2003 00:55
22 lines
2229 bytes
2229 bytes
"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:
<3ef7a17a$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!216.170.153.135.MISMATCH!tdsnet-transit!newspeer.tds.net!out.nntp.be!propagator2-sterling!news-in-sterling.nuthinbutnews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3ef2a233@newsgroups.borland.com> <3ef2aa44$1@newsgroups.borland.com> <3ef5c77e@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-23 18:12:27 PST From: "Clayton Arends" <nospam_claytonarends@hotmail.com> Newsgroups: borland.public.cppbuilder.nativeapi,borland.public.cppbuilder.students References: <3ef2a233@newsgroups.borland.com> <3ef2aa44$1@newsgroups.borland.com> <3ef5c77e@newsgroups.borland.com> Subject: Re: How to use LoadPackage in BCB ? Date: Mon, 23 Jun 2003 17:55:43 -0700 Lines: 24 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: 24.30.135.218 Message-ID: <3ef7a17a$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1056416122 24.30.135.218 (23 Jun 2003 17:55:22 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!216.170.153.135.MISMATCH!tdsnet-transit!newspeer.tds.net!out.nntp.be!propagator2-sterling!news-in-sterling.nuthinbutnews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail