I seem to be the one on the list (that posts) who has the most
experience with Delphi.  And to be honest, it was difficult for me to
get all the controls installed properly.  I will attach some brief
notes I made (working off someone else's document)

It seems that you are talking about compiling a variety of versions. 
I wouldn't advise this.  You have to have different versions of the
controls for different versions of the source code.  So figure out
which version you want to target, and then next get the controls
installed onto your component pallet.  Then bring up the source coude
and look in project options and check out the specified directories. 
The often need to be adjusted to reflect your directory structure.

Post back if you want.

Kevin



On 12/19/05, Alejandra Ruiz <[EMAIL PROTECTED]> wrote:
> Hi, i have a lot of problems to compile CPRs in delphi,
> i was try to compile the diferente versions of cprs in the diferent versions
> of delphi, but i have diferent errors.
>
> i try to compile in delphi 3, 4 , 5, 7, and 2005. the following versions of
> cprs
>
> OR_30_155_SRC
> OR_30_187_SRC
> OR_30_206_SRC
> OR_30_235_SRC
> OR_30_231_SRC
>
> The documentation says that de FMDC must be installed in delphi but, it just
> can be installed in delphi 3, 4, 5 and the rpc broker just in delphi 3, 4,
> 5. I installed both in version 5, then i compile the souce code but...
>
> In the latests versions of cprs delphi call a classes to the forms, and
> these classes calls a JAWS, but i dont know how to use
>
> In Oldest version of cprs delphi said this error [Fatal Error]
> ORCtrls.pas(9): File not found: 'Variant.dcu'
>
> What version of CPRS and Delphi i have to use to compile and build without
> error.
> how to use JAWS, and if is necessary components like fmdc.
>
> thanks.
>
> _________________________________________________________________
> T1msn Search. Todo lo que buscas ahora más rapido
> http://search.t1msn.com.mx/
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> Hardhats-members mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/hardhats-members
>
The following steps will install the latest Broker Development Kit as well as 
the OR Custom Controls for CPRS.

1.  Remove all instances of the OR Custom Controls and Broker component from 
Delphi 7.  This is accomplished by  going to the Component menu and selecting 
Install Packages.  Once this dialog is open, scroll to the CPRS Custom  
Controls, highlight and remove, do this for the CPRS Date/Time Dialogs and 
VistA RPC Broker packages as well.

--I then exited Delphi

2.  Install the latest Broker Development Kit (XWB1_140PG.EXE)

--When returning to Delphi, the components were not in the components packages.

3.  Unzip the OR_30_224.ZIP file to the location you desire.

4.  Install the CPRS Custom Controls and CPRS Date/Time Dialogs from the 
unzipped source from step 3.  The package (.dpk) files are located in the 
CPRS-Lib folder that was created as part of the unzipping of the OR  source zip.

--I opened ORDateLib60.dpk, then clicked install
   I got a "can't make file".  So I ensured that read-only properties were not 
set.
  I then went into options and selected directories/conditionals directories, 
and took all the paths data out from Output Directory, Unit dir, search dir, 
Debug Src, DCP dir.
  -- then clicked install again.  I get error:
        Cannot load package 'XWB_R60'. It contains unit 
'VERGENCECONTEXTORLIB_TLB', 
        which is also contained in package XWB_R70.
 -- I notice that the package file 'requires' XWB_R70.dcp
 -- I remember that we added the XWB_R70.dcp earlier.  But I can't figure out 
where it is connected to Delphi right now.  So I look in Component->Install 
packages.  I see "VistA RPC Broker" which is in design package: c:\Program 
Files\Borland\Delphi7\Projects\Bpl\XWB_D70.bpl
-- so I remove XBW_R60.dcp from the 'requires' list in the package.
 -- I click install again.  I compiles 20-30 files.  Then pops up a box:
        The following changes are needed...  'Add XWB_R70'  I clicked OK.
-- I then get a dialog box that lists about 20-30 components that have been 
registered.
--Now when I look at Component->Install packages, I see 'CPRS Custom Controls'. 
 It is file:  c:\Program --Files\Borland\Delphi7\Projects\Bpl\ORCtrlLib60.bpl  
(this is 60, because the original package was ORDateLib60.dpk)
--I then click Delphi's File->close all.  I save changes to ORDateLib60, and 
also save changes to project XWB_R60

I then open file ORCtrlLib60.dpk.  I go into the options button, and remove all 
path data from directories/conditionals tabs.
I then click install.  It compiles the files quickly.  But there was no dialog 
box saying that components have been installed.  The install button is greyed 
out.  So I compiled again.  I get a box saying "ORCtrlLib60.bpl has been 
installed."
Now, when I go to Components->Install packages.  I see CPRS Date/Time Dialogs, 
that is in c:\Program Files\Borland\Delphi7\Projects\Bpl\ORDateLib60.bpl
I go File->Close all.  I save changes to ORCtrlLib60.

I open VA10.dpk, remove path entries in the options.  Then click Install.  I 
get a dialog box saying that TVAWrapGrid has been registered.
I go File->Close all.  I save changes to project VA10


You should now be able to load and modify the CPRSChart.dpr (Delphi Project) 
source.


I did not use the CPRSChart source provided in the Zip files.  I have made 
changes to the old source that cuts out TWebBrowser, and I don't want to loose 
that yet.

When I compile, I get an error in CCOWRPCBroker during a typcast with type 
TXWBWinsock.  It says this is an unknown type.  I don't know why this would be 
unknown.  CCOWRPCBroker uses unit Wsockc in its implementation uses list.  So I 
add Wsockc to the CPRSChart project list.  Compiling now seems to get a bit 
further.

I then get an error regarding unit being redeclared.  Its ORCtrls in 
fReports.pas.  But I think I was the one who added this before in an attempt to 
fix a bug.  I compare to the newer CPRSChart source tree.  Sure enough ORCtrls 
should not be in the uses list.  So I take it out.  Compiling goes MUCH further 
then....

Next error is in uOrders.pas.  It doesn't know what type TfrmOMHTML is.  This 
is because of incomplete removal of the web browser functionality.  I had 
previouslty removed fOMHTML.pas from the project.  So I commented out all 
instances accessing this object.

I am now getting a mysterious message: 'the webViewBeforeNavigate2 method 
referenced by webView.OnBeforeNavigate2 does not exist.  Remove the 
referenced?'  I can't find where this reference is stored.  I suspect it is in 
a form.  But I can't find it.  I even used windows find/search function to look 
for 'BeforeNavigate' in the entire c:\vista-kt directory--but no finds.
 OK... just found it.  It was in the form for fOMHTML.  This is not in the 
project, apparently it was just trying to save the file and finding the error.  
I just closed the file, and the message resolves.


Finished compiling. .... Hurrah!
... now to connect to a server.





Reply via email to