Hi Folks,
I'm working on a compiler front-end for building our Powerbuilder applications. I've been using the pborca170.dll and the Orca API documentation as my guide.
My process is basically:
1. Bootstrap the application using PBORCA_CompileEntryImport, per the recommendation here.
2. Import objects into each PBL using PBORCA_CompileEntryImport.
3. Rebuild the application using PBORCA_ApplicationRebuild
4. Set the EXE info using PBORCA_SetExeInfo
4. Generate the EXE using PBORCA_ExecutableCreate
This seems to "work" for trivial applications, but once I move to our more complex products I run into a lot of compilation errors. Specifically, I get a bunch of errors during PBORCA_CompileEntryImport.
Most errors seem to be related to undefined symbols. But, these are just symbols that are defined in another PBL so I expect the references to get resolved during PBORCA_ApplicationRebuild (I've tried FULL_REBUILD, INCREMENTAL_REBUILD, and 3PASS here).
That does not happen though. My question: what is the critical piece/pieces I'm missing here?
AFAICT I have the session configured properly at each step of the way. I close the session and create a new one between bootstrapping the application and the rest of the process. I close and create new sessions when updating the library list.
Any help/advice is appreciated.
Thanks,
Rob
To clarify, this is a native C++ application that calls the functions in the pborca170.dll. I'm not doing anything from within Powerbuilder or within a Powerbuilder application. It's all command line C++.
I've implemented the callbacks. I can see the errors. What I don't understand is why I'm getting the errors, unless there's a gap in the process I outlined above.
Thanks again.
Rob