Version 6, last updated by markcopenhaver at July 31, 2010 01:58 UTC
Creating a Component
EncounterPRO Components come in 3 flavors: Built-In (PowerBuilder), COM, and .Net. It is highly recommended however that all new components be developed using the .Net API.
Creating a new .Net component is relatively simple. With Visual Studio 2008 or later:
- Set the Application Target Framework to 3.5*
- Include a reference to the EncounterPRO-OS Component Base Class assembly
- Create a new class, descending from the appropriate EncounterPRO-OS base class
- Add the desired functionality, overriding the public base class methods as necessary
* I'm sure we can use framework 4.0, but the couple time I've tried I could not put the assembly into the GAC. I haven't spent much time on it and maybe a.Net expert out there can illuminate the way. Perhaps if we rebuild the base class dll in the 4.0 framework?