Not that I know. I upgraded to the latest version of TMS WebCore, and used the new dialog for activating my licence. I removed TMS WebCore from VSC, deleted all in
You must have an incorrect setup.
WEBLib.TMSFNCPDFGraphics.General.pas uses {$I WEBLib.TMSFNCDefines.inc}
and this file {$I WEBLib.TMSFNCDefines.inc} should have the define WEBLIB
Everything is true what you wrote, but in this implementation of Drawtext, the string variable s which is used later in the delete() funtion is defined as UnicodeString :
function TTMSFNCGeneralPDFGraphicsLib.DrawText(Text: UnicodeString; Rect: TRectF; Calculate: Boolean = False): TRectF;
var
i: Integer;
s, sn, st: UnicodeString;
The variable s in that case is NOT wrapped inside a conditional compiler switch.
There must be a mismatch between FNC version and WEB Core version.
You have the latest versions of both installed?
As a workaround, for web use, can you change unicodestring to string (as for web this should not matter)
There must be a mismatch with TMS WEB Core & FNC & Visual Studio Code. We'll look into this as soon as possible. For now, please manually fix the UnicodeString declaration inside the WEBLib.TMSFNCPDFLib.General.pas unit. TMS WEB Core & FNC are currently going through a maintenance and thus this will take a significant amount of time.
Additionally, please note that FNC is not yet officially supported inside Visual Studio Code. While you might be able to compile projects at runtime, there is no designtime support, and there could be compiler issues rising. Official support for Visual Studio Code will be announced via blog post, social media, documentation and release notes when it's ready.
thank you for support. Actually I'm still having a lot to learn, coming back to delphi after more than 10 years of C# and very few ideas what web programming is about. I'm exited about the Electron framework and while learning, I'm using delphi 10.3 community edition, because Lazarus is currently not supporting WEBCore Electron projects. I'm not really happy with the delphi IDE. After a TMS WEBCore project becomes more complex, the code completion somehow stopps working, and besides learning the possibilities from TMS WEBCore this makes it really hard. I really do like VSC and was excited that with the latest version it supports the Electron framework as well. It's ok to wait for WEBCore for VSC 1.2 which will officially support also the TMS FNC components