Anesthesia
Posted: Sat Sep 05, 2009 12:21 am
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.
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.