Page 1 of 1

11.0 and EHR

Posted: Sat Jul 09, 2011 10:13 am
by drtech
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..

Re: 11.0 and EHR

Posted: Tue Jul 12, 2011 5:50 am
by jordansparks
No, that's on purpose. Just exclude that from your build. You don't need it.

Re: 11.0 and EHR

Posted: Tue Jul 12, 2011 10:02 am
by drtech
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?

Re: 11.0 and EHR

Posted: Wed Jul 13, 2011 12:35 pm
by jordansparks
I guess we should have come up with a different symbol instead of just reusing DEBUG. Fixes posted.

Re: 11.0 and EHR

Posted: Thu Jul 14, 2011 8:19 am
by drtech
thanks, will try it now...

Re: 11.0 and EHR

Posted: Sat Jul 16, 2011 4:21 pm
by drtech
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...

Re: 11.0 and EHR

Posted: Sun Jul 17, 2011 3:58 pm
by drtech
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...

Re: 11.0 and EHR

Posted: Mon Jul 18, 2011 10:26 am
by wjstarck
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.

???

Re: 11.0 and EHR

Posted: Mon Jul 18, 2011 3:32 pm
by jordansparks
I found some more that I missed. If there are still more, please let me know which files.

Re: 11.0 and EHR

Posted: Tue Jul 19, 2011 3:01 am
by drtech
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...