The Jedi API Lib units can be used solely or just by including jwaWindows.pas.
1. Single units use:
If you want to use it solely you just have to set the compiler unit path to
Thats all.
2. JwaWindows.pas and JwaVista.pas (also for the use with JWSCL)
There is also the possibility to use only one file that includes all other Jedi API headers.
It is called JwaWindows.pas and should not be included along the other unit files.
Do not mix up the Jwa units like this:
We also suggest that you compile the file at first and then use the binary dcu file instead of the source.
Because the source file will need a lot of time when recompiling.
Howto:
For this purpose there are packages in the jwapi\Packages folder for the different Delphi versions. If not just
use an older package version.
You can load the project group for your Delphi version and compile the different package types :
The project group contains all four package types and are predefined to save the output in different folders.
After successfull compilation copy the folder or point the compiler path to the directory of your choice e.g. <your absolute path>\jwapi\trunk\Packages\d7\bin\debug\dynamic . Now your Delphi will use the dcu files instead of the source files.
The packages contains JwaWindows AND jwaVista. Both units must be included in a uses clause. JwaWindows does not contain jwaVista!
The JEDI Windows Security Code Library uses the second choice (JwaWindows.pas and JwaVista.pas) only. See here how to setup JWSCL.
3 Responses
How to setup JWSCL? by JEDI Windows API
03|Mar|2008 1[...] The JWSCL does not need to be setup. The only setup is needed to create a binary unit file (DCU-file) for the JEDI API Headers as described here. [...]
Ron
07|Mar|2008 2“JWSCL uses the second choice only” ?
What dose this means?
Regards.
[Edit by Christian Wimmer
It means that JWSCL does not include single units like JwaAccCtrl.pas or JwaWSnetbs.pas.
JWSCL only uses JwaWindows and JwaVista that you either have to make available through source path or compile it and make the binary DCU files available. I recommend the DCU thing because it makes compiling much faster if you rebuilt your project.]
You cannot compile JWSCL? #1 by JEDI Windows API
09|May|2008 3[...] this case you did not follow the instructions of How to setup JWSCL. However there is [...]
Leave a reply