Hi Sorry for late reply, was on business in Vienna. I used C# simply because our mobile developers use it (we use C++ in db code). They suggested it was easier to design GUIs than Java. This is all relative; a good design tool could make Java easy to use. Because I am still not understanding C# I havent put the code up, but soon I will. I finally worked out (I think) why I was sig11 in obscure places. The intention was always to find a hardware solution, and the BCR was the closest I could find. I am grateful to all those who found out about it's internal language. The ability to use buttons to control low cardinality NRPNs is cool. Just need to find a kinky solution for incr CC06/38 to see if one can make the -ve (by large +ve increment). Regards Steve H More details of the issues I found with C# and midi. I had to learn then write the interop code to call winmm.dll function from with C#. Then I had to find our about delegates (function pointer :-)). Next, to "invoke" methods from the GUI thread (yes I did try to update GUI objects outside the GUI thread ... not anymore!). Finally, because you marshall code from the managed (C#) world to the unmanaged (dll) - when you pass a managed object as a handle to the unmanaged dll, from the pushing of info onto the method's parameter stack until it's popped, the object is in use. After this, C# says "oh you not using me ... I will reclaim you". Alas, the callback IS still holding a reference ... c# doesnt know. I think the solution to this last one is to make a list, in a constructor, which hopefully add a keep count (and hence stops the GC from tearing the objects down). Hopefully this will work else I gotta go back to C++ where a "new" remains until you delete, or the program crashes :-). --- In bc2000@yahoogroups.com, Martin Klang <mars@...> wrote: > > > what did you use for MiniakTools? > I like the colours! Couldn't find the source on sf, though - not using svn? > > /m > > On 17 May 2011, at 20:13, sghookings@... wrote: > > > If your GUIs are in Java, then congrats ... they are superb GUIs. > > I didnt persue Java for MiniakTools because I had poor experience with old Swing etc. But your GUI is just great. > > > > Regards > > > > Steve H >
Message
Re: Reading BCR current encoder value in .bcl, c or hex please?
2011-05-22 by sghookings@tiscali.co.uk
Attachments
- No local attachments were found for this message.