DOA C++ 2010 package wizard

stef

Member³
Hello,

I want to use the DOA PackageWizard in c++ Builder 2010.
(We want to migrate)
After I have created the .pas file i have to compile the
project and a .hpp file should be created.

This I have to use in my #include, but i cannot compile the project, because of the error:
[DCC Fatal Error] SbTest.pas(10): F1026 File not found: 'Oracle.dcu'

The Oracle .pas is also not available.
What am I doing wrong??

Please help...
DOA ( trial Version) is that the problem?

 
If you add this unit to your project (which is a standard option in the Package Wizard), choose "File -> Include Unit Hdr" in the unit where you want to use the package, and select the package unit, you are basically done. If you subsequently build your project, a .hpp will be created. You can now use this package from your C++ code:

{
pkg *TMypackage;
pkg = new TMypackage(NULL);
pkg->Session = MainSession;
ShowMessage(pkg->Somefunction("1223"));
}

and so on.
 
Back
Top