RTC Forums
November 24, 2024, 02:12:00 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Login
Register
RTC Forums
>
Subscription
>
Support
>
Using rtcActiveX in BPL package plug-in's
Pages: [
1
]
« previous
next »
Print
Author
Topic: Using rtcActiveX in BPL package plug-in's (Read 4575 times)
jeff.lott
RTC Expired
Posts: 11
Using rtcActiveX in BPL package plug-in's
«
on:
December 06, 2015, 04:23:20 AM »
I'm nearly done creating the framework for my JSON REST server using rtc components.
It's a tiny exe that loads plugin's I've created that do all the work.
The plugin's are Delphi bpl packages.
The exe is set, as it must be, to use runtime packages, including rtcSDK.dcp
Any plugin package that uses components TRtcHttpServer, TRtcDataProvider, and such must also add rtcSDK.dcp to their "requires" list.
Otherwise, when loading the package you'll get a message like
Cannot load package 'Settings_Controller.' It contains unit 'rtcSDK', which is also contained in package 'HTTPserver'
Most of my plugin packages will use OLE DB Connections, so I need to add "rtcActiveX" to their uses list.
But rtcActiveX is not provided by rtcSDK.dcp, so I'm getting the error
Cannot load package 'Settings_Controller.' It contains unit 'rtcActiveX', which is also contained in package 'HTTPserver'
What runtime rtc package do I need to add to my exe/"uses" and plug-in.bpl/"requires" lists?
Thanks, Jeff
Logged
jeff.lott
RTC Expired
Posts: 11
Re: Using rtcActiveX in BPL package plug-in's
«
Reply #1 on:
December 06, 2015, 05:49:14 AM »
Ahhh, never mind.
I created a new package rtcActiveX.bpl with the rtrActiveX.pas unit as the only unit in "contains". Then added rtcSDK.dcp to it's "requires" list.
Built the package.
Now I can add rtrActiveX.dcp to any of my plug-in.bpl packages that need to use rtrActiveX unit.
So all is good!
Logged
D.Tkalcec (RTC)
Administrator
Posts: 1881
Re: Using rtcActiveX in BPL package plug-in's
«
Reply #2 on:
December 06, 2015, 07:56:52 PM »
Thumbs up and thanks for your feedback
Best Regards,
Danijel Tkalcec
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Dashboard
-----------------------------
=> General
=> 3rd-Party
=> Quick Start
-----------------------------
Subscription
-----------------------------
=> Support
Loading...