New build required

Apr 2, 2013 at 10:13 PM
Hi

Can you rebuild the Viewer agains the latest code base, there are changes to the settings structure which will render the current version incompatible with the latest BETA version.

Also, maybe you can borrow the code from the client to report incompatible versions of the Viewer with the engine.
Coordinator
Apr 5, 2013 at 8:17 AM
Ok, I'll do it.
As to the second proposal, it is difficult to implement. The program uses a recompiled framework 3.5 libraries of mcebuddy, But libraries are only needed for the communication interface with the engine. The rest of the functionality is almost never used. Therefore, to change the library makes sense only when changing the communication interface or parameters associated with it.
Apr 5, 2013 at 1:37 PM
Maybe I didn't clarify it.

the 2nd feature is a version imcompatiblity between MCEBUddy versions (e.g. engine is a 2.3.12 and your client does not support it).

Its' quite simple in the latest code, you'll see a catch statement which evaluates the innerexeption for a code.
                    // Check for version mistmatch
                    if (e.InnerException is System.Runtime.Serialization.SerializationException)
                        _versionMismatch = true;
                    else
                        _versionMismatch = false;
The pipeproxy will throw this exception if the versions are incompatible due to the changed settings structure when you call

_pipeProxy.GetConfigParameters()

That way you can report a version mismatch and ask the user to update your software to the latest version.
Coordinator
Apr 10, 2013 at 10:39 AM
Release 1.0.7 based on MCEBuddy 2.3.12 libraries is ready. You can test it.
Apr 10, 2013 at 2:13 PM
great


Apr 15, 2013 at 9:32 PM
some updated code to check fro version mismatch
                    if ((e.InnerException is System.Runtime.Serialization.SerializationException) || (e is System.ServiceModel.ActionNotSupportedException))
                        _versionMismatch = true;