Dr. Starck,
We just upgraded the entire program from 32 bit keys to 64 bit keys. The change broke all the anesthesia code. Because it wasn't very well documented and we were unfamiliar with it, we were unable to repair it. The only way to make the program compile was to remove the anesthesia feature from the program. You can add it back by:
1. Uncomment the code in the various anesthesia classes in OpenDentBusiness. Make it compile.
2. Add the forms back to the OpenDental project. The files are still there, but they were removed from the project.
3. Fix the menu items to once again call the forms.
If you don't care if it works with replication, then the basic strategy would be to change PIn.PInt() calls to become PIn.PInt32(). And when the main program passes in a PatNum or some other 64 bit int, then put a (int) in front to explicitly convert it to a 32 bit int.
If you do want it to work with replication, let me know. The instructions are more complex.
Anesthesia
- jordansparks
- Site Admin
- Posts: 5744
- Joined: Sun Jun 17, 2007 3:59 pm
- Location: Salem, Oregon
- Contact:
Anesthesia
Jordan Sparks, DMD
http://www.opendental.com
http://www.opendental.com
Re: Anesthesia
OK, I'll have a look
Cheers,
Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA
Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA
- jordansparks
- Site Admin
- Posts: 5744
- Joined: Sun Jun 17, 2007 3:59 pm
- Location: Salem, Oregon
- Contact:
Re: Anesthesia
Instead of having you commit your fixes, we've decided to build a plug-in framework.
http://www.open-dent.com/manual/plugins.html
Advantages:
Faster implementation, you don't have to follow our style, keeps our code safe and uncluttered, each hook can be used by a variety of programmers, allows selling of plug-ins, etc. It's just going to be a much cleaner solution.
http://www.open-dent.com/manual/plugins.html
Advantages:
Faster implementation, you don't have to follow our style, keeps our code safe and uncluttered, each hook can be used by a variety of programmers, allows selling of plug-ins, etc. It's just going to be a much cleaner solution.
Jordan Sparks, DMD
http://www.opendental.com
http://www.opendental.com
Re: Anesthesia
That's really nice.
Until that's fully implemented, do you recommend fix #1 above so that we can keep current with updates?
Until that's fully implemented, do you recommend fix #1 above so that we can keep current with updates?
Cheers,
Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA
Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA
- jordansparks
- Site Admin
- Posts: 5744
- Joined: Sun Jun 17, 2007 3:59 pm
- Location: Salem, Oregon
- Contact:
Re: Anesthesia
No, it will be fully functional in version 6.8.
Jordan Sparks, DMD
http://www.opendental.com
http://www.opendental.com