Connect with IBM terminal using Micro Focus Reflection - emulation

I have to connect IBM terminal through Micro Focus Reflection using C#, but unable to find any code for this except
Micro Focus Reflection Desktop
But this is also not working. In this I have to add reffrences to
using Attachmate Reflection Framework
using Attachmate Reflection Emulation IbmHosts
using Attachmate Reflection UserInterface
namespaces. But these namespaces are not available there in Com,Assemblies or any other tab.
Please help me in this

Related

Developing C++ WinUI3 Desktop App with MVVM

I am looking at the WinUI3 framework with native C++ support for desktop applications.I cannot see any MVVM support as in C#. Should I expect it will be never supported and go i.e. with MVP with some code behind, or I am missing something?I cannot find any sample.
When you are talking about automatic tooling for XAML than you have to wait until 2024 to use it with C++. This is the estimated timeline from MS as they first hebr yo push a reflection API into the C++2023 standard.
But the MVVM fundamentals are perfectly working. Just write it out by hand and enjoy a developer experience last seen in 2006.
You can do MVVM by implementing interfaces such as INotifyPropertyChanged manually. Check out this sample which showcases how to implement the interface.
The cppxaml library (part of the unpackaged NuGet package) has been providing some help with MVVM though it's very barebones compared to MVVM frameworks available for .NET apps.

xamarin.forms integration of zendesk chat

I am new to Xamarin development. And, currently I want to integrate the zendesk chat.
As per my RnD and after contacting Zendesk support center they are not supporting the xamarin yet.
Currently they have sdk for native android and ios respectively.
I need you expertize people's guidelines for the development regarding what scenario i should follow to achieve the same using xamarin.forms :
Integrate the both platforms native sdk's for xamarin in each platform and later call it from Xamarin.Forms by adding platform dependency using Device.OnPlatforms . ( I am not sure about this scenario, please suggest)
Create a jar/aar of Zendesk SDK and use it using binding library concept.( I am not sure it will be accessible into ios platform)
Kindly, suggest me the best approach for this.
Any sample reference for suggestions will be grateful.
Thanks in advance.
I think it's a mix of number 1 and number 2 (and a little extra).
You will need to create the Binding libraries for both iOS and Android. Xamarin has a good documentation of how to do this: Android/Java and IOS/Objective-C
Then you can go either with Xamarin Native (Xamarin.iOS and Xamarin.Android projects) adding the binding to each project. Or you can go with Xamarin.Forms but this will require a little more work as you will need to create an interface of the methods you want to use from the SDKs (most likely all off them) and create the implementations for each platform.
Let's say your interface is called: ISendeskSdkService you will need at least two implementations: ISendeskSdkServiceiOS and ISendeskSdkServiceDroid. These implementations will be on the Platform project and they will be calling the binding libraries you just created and added to each of these projects.
You will be developing your app on top of your interface and which implementation to use will be set on the application load when you are configuring your IoC.
Hope this gives you an idea.

Where did lcdui go, in JME SDK 3.0+?

I want to write a tiny "hello world" J2ME MIDlet. In a sample like this one, classes in javax.microedition.lcdui.* are used for display output. When I try to compile it in Eclipse, I get the error,
The import javax.microedition.lcdui cannot be resolved
I've installed JME SDK 3.4, and I'm able to run MIDlets that don't import javax.microedition.lcdui.*. I read somewhere that lcdui can be obtained from the wireless toolkit; and Oracle says that the wireless toolkit has been integrated into JME SDK as of 3.0+.
So why can't Eclipse find it?
OK, I think I know the answer now.
I got back to the JME SDK 3.4 documentation page on Using Sample projects, and created and ran an instance of UIDemo. It uses lcdui classes, but it runs flawlessly - no errors about inability to resolve javax.microedition.lcdui.*.
The difference appears to be that the working sample uses different libraries than the one I tried at first. The first one uses org.elipse.mtj.JavaMEContainer/Oracle Java(TM) Platform Micro Edition SDK 3.4/IMPNGDevice1,
while the one that works uses org.elipse.mtj.JavaMEContainer/Oracle Java(TM) Platform Micro Edition SDK 3.4/JavaMEPhone1. They contain different sets of jars, e.g. the working one contains midp_2.1.jar, while the earlier one has impng_1.0.jar.
A follow-up question might be, why doesn't IMP-NG have lcdui in it? Well, those who pay attention to what they're doing will have read that
This JSR [for IMP-NG] will define a J2ME profile targeting embedded networked devices that wish to support a Java runtime environment similar to the Mobile Information Device Profile (MIDP) version 2.0, but that do not provide the graphical display capabilities required by MIDP 2.0.
The Information Module Profile - Next Generation (IMP-NG) will be a strict subset of MIDP 2.0, where at least the APIs relating to GUI functionality (the LCDUI) are removed. Functionality not already present in MIDP 2.0 is not anticipated or desired. "
The next question might be, why did I end up selecting IMP-NG when I was going through the tutorial... when I really do want a MIDlet that does something graphically? But I'm not sure I care, now that it's working.
The new me sdk 8.2, as I understood after browsing all class and in packages, does not provides any class to develop user interface. not like sdk 3.4, that have many graphical components.

I try to make chart graph component, library . for web and desktop. what language most common?

I try to make chart graph component, library . for web and desktop. what language most common?
I try make very cheap chart, graph component. I worked for 3D engine programmer.
I always use C++ and my own library.
I want to make cheap library component for desktop application and web service.
which language is common for desktop developing?
what language and platform most use for web page chart?I hope there is no download at all. difficulty is not matter at all for me.
I've just completed a 3D chart library for the desktop, mobile and the web. I used Java for the desktop, wrote a native Android application (it's a Java-like platform, different API but same programming language), and Javascript (actually Dart compiled to Javascript) for the web. I didn't do a native iOS version. Those were my choices, I think it worked out well. Your mileage may vary.

Expose COM object to an application running in Wine/Linux

Only one Windows application is troubling me before I can fully move to Linux. It's a stock charting application (couldn't find any decent one native to Linux) that I'm running using Wine.
This application has its own language and it allows the user to create objects from COM components to implement external functions. In Windows, I created a program using Mono that exposes certain functions that allow me to interact with the charting software.
Example:
myObj = CreateObject("myApp.application");
myObj.data = Price;
volatility = myObj.Volatility;
Question: How could I expose the ComVisible components of "myApp" which is running in the Linux environment under Mono runtime to the charting software running in Wine?
Unfortunately, mono and wine have no particular integration, and so you can't directly invoke Wine-hosted code in Mono.
One option would be to use Microsoft's .NET 2.0 framework in Wine. Only up to 2.0 is supported well. This may or may not be a violation of the .NET license.
Another option would be to write a custom proxy using winelib that runs in wine, but listens on a unix domain socket for commands from your mono program.
Another option would be to write the (rather complex) code needed to get mono to talk to wine over DCOM. This would be rather difficult, but would benefit anyone down the line who wants to get COM objects working in mono.
You should be able to install the Windows version of Mono under Wine and run your code in that.

Resources