Does anyone of you guys use an WPF custom control in your apps and is willing to share some code?
I am trying to implement a richtextbox from Syncfusion, but without success.
All I get is a black box (literally) and no error at all.
- Founder/Site Admin
- Posts: 1207
- Joined: 24 Feb 2017, 09:12
- Location: Gouda, The Netherlands
This was some extra info given by OpenText engineer:
GMap.NET.WindowsPresentation is old and does not work at all. It also throws Exception if it run from Win32 application (it's easy to fix but still does not work).
In this case now SalMessageBox showing message from Exception appears.
Another issue on this samples is you cannot run Win32 application from IDE because of assemblies loading issue. But it works from generated executable.
TD IDE can load .NET assemblies from TD installation folder or Global Assembly Cache but not from application folder even though you add application folder to PATH.
This is default .NET runtime behavior and we cannot change it.
I actually opened a ticket for the TD7.1 WPF documentation (a white paper JM wrote some times ago) and the management decided to simply withdraw it from the docs as it is misleading and the samples are missing/not working .
It seems to me that we have a WPF container only, some SalWPF functions to Invoke methods and Set/Get properties, but there are no interfaces exposed and we are left to ourselves to dig thru the WPF control docs to find out how to use it.
It was too good to be true that I will have a quick and good solution for displaying/simple editing of word docs or html without using MS Interop.
Not the first time though...
I was able to implement cefSharp wpf browser in win32 TD 7.1 app.
In this sample, WpfApp1.exe has been build from C# code and WebBorwser.exe from TD WebBorwser.apt
For this to work I had to build an exe in a folder with the cefSharp runtimes.
If it can help ..
Who is online
Users browsing this forum: No registered users and 0 guests