11.0 and EHR

This forum is for programmers who have questions about the source code.
Post Reply
User avatar
drtech
Posts: 1651
Joined: Wed Jun 20, 2007 8:44 am
Location: Springfield, MO
Contact:

11.0 and EHR

Post by drtech » Sat Jul 09, 2011 10:13 am

For the new verions 11.0, I think you forgot to add the xEHR folder/project to the SVN. It won't load when I try to build the program and the project is listed as "unavailable."

Thanks..
David Fuchs
Dentist - Springfield, MO
Smile Dental http://www.887-smile.com

User avatar
jordansparks
Site Admin
Posts: 5755
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Re: 11.0 and EHR

Post by jordansparks » Tue Jul 12, 2011 5:50 am

No, that's on purpose. Just exclude that from your build. You don't need it.
Jordan Sparks, DMD
http://www.opendental.com

User avatar
drtech
Posts: 1651
Joined: Wed Jun 20, 2007 8:44 am
Location: Springfield, MO
Contact:

Re: 11.0 and EHR

Post by drtech » Tue Jul 12, 2011 10:02 am

ok...

so, you have the includes only with debug...so to run debug I have to manually edit all those out?

Also, line 215 in FormRxSend.cs in project OpenDental does not build b/c EHR does not exist in the current context....I am going to just have to comment this out or can you get it to only use that line in your build somehow?
David Fuchs
Dentist - Springfield, MO
Smile Dental http://www.887-smile.com

User avatar
jordansparks
Site Admin
Posts: 5755
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Re: 11.0 and EHR

Post by jordansparks » Wed Jul 13, 2011 12:35 pm

I guess we should have come up with a different symbol instead of just reusing DEBUG. Fixes posted.
Jordan Sparks, DMD
http://www.opendental.com

User avatar
drtech
Posts: 1651
Joined: Wed Jun 20, 2007 8:44 am
Location: Springfield, MO
Contact:

Re: 11.0 and EHR

Post by drtech » Thu Jul 14, 2011 8:19 am

thanks, will try it now...
David Fuchs
Dentist - Springfield, MO
Smile Dental http://www.887-smile.com

User avatar
drtech
Posts: 1651
Joined: Wed Jun 20, 2007 8:44 am
Location: Springfield, MO
Contact:

Re: 11.0 and EHR

Post by drtech » Sat Jul 16, 2011 4:21 pm

works fine to build in release...

but still gives EHR errors when I try to build in debug to test my plugin:

#if DEBUG
using EHR;
#endif

and all the code still in the #if DEBUG....did it get changed yet? I am not getting it in the current SVN version...


it builds fine if I am in release mode...but If I comment those Using statements I get all kinds of other errors of course in the code because it isn't there to reference.

I don't understand what I need to do to get it to build now...I am stuck and can't fix my plugin to match all the referral changes you made in v 11.o

can you give me some help on what to do? Thanks...
David Fuchs
Dentist - Springfield, MO
Smile Dental http://www.887-smile.com

User avatar
drtech
Posts: 1651
Joined: Wed Jun 20, 2007 8:44 am
Location: Springfield, MO
Contact:

Re: 11.0 and EHR

Post by drtech » Sun Jul 17, 2011 3:58 pm

can you (or I) make a new configuration (Release/Debug/LinuxRelease + /PluginDebug) or something so that when I am running in debug that code is not running/compiling?

I tried to copy debug and make a new one, but that didn't work...
David Fuchs
Dentist - Springfield, MO
Smile Dental http://www.887-smile.com

User avatar
wjstarck
Posts: 941
Joined: Tue Jul 31, 2007 7:18 am
Location: Keller, TX
Contact:

Re: 11.0 and EHR

Post by wjstarck » Mon Jul 18, 2011 10:26 am

David-

Why don't you just set all your Projects to Release/x86 in Configuration Manager then run Debug > Start Debugging? This is what I do and I never seem to have any problems debugging this way.

???
Cheers,

Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA

User avatar
jordansparks
Site Admin
Posts: 5755
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Re: 11.0 and EHR

Post by jordansparks » Mon Jul 18, 2011 3:32 pm

I found some more that I missed. If there are still more, please let me know which files.
Jordan Sparks, DMD
http://www.opendental.com

User avatar
drtech
Posts: 1651
Joined: Wed Jun 20, 2007 8:44 am
Location: Springfield, MO
Contact:

Re: 11.0 and EHR

Post by drtech » Tue Jul 19, 2011 3:01 am

wjstarck-->


I didn't realize I could do that! I might try it that way...although Jordan thinks he got it corrected I think...I will try it today or tomorrow...
David Fuchs
Dentist - Springfield, MO
Smile Dental http://www.887-smile.com

Post Reply