Jump to content

Roger Cigol

Members
  • Content Count

    412
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Roger Cigol

  1. Roger Cigol

    12.2 Crashing during debugging

    I can't find this RSS report at https://embt.atlassian.net/ - Are you sure it got entered correctly? Can you post a URL to in this thread please?
  2. Roger Cigol

    12.2 Crashing during debugging

    I can confirm that I get the same problem as you (RSS-1987). I get the same issue if I compile with TwineCompile. @Jirka52This is what you would expect - it's not a compile time error - it is a debugger issue. If you get a compile time error there must be a problem with your source file. (or something else strange). I also get the same issue if I add a line: String S = _D("μ \u00B5 α Ω °C © Å "); and then save the file - this forces the file encoding to be UTF-8 with a BOM identifier. Definitely a bug. What is interesting is that the IDE works fine with target of Win64 (traditional) or Win64 (modern). What is interesting and surprising is that the IDE hangs in the same bad way if you use the Win32 classic compiler.
  3. Roger Cigol

    Delphi 12.2 enterprise : code insight 64 bits version

    Tiny and easy work around maybe - but still worthy of reporting. That way there's a chance it will be fixed in a later release. Small improvements help make the tool set better for seasoned users and new users alike. Out of interest: 12.2 does include a minor fix that I reported so it is worth doing !
  4. Thanks @David P. Yes, you do need to recompile with the \win64x output directory. All is good now - thank you for your extra explanation. Thanks too to @Uwe Raabefor his help / clarification.
  5. Yes, you can compile them of course. But not with the clang C++ compiler. Under the hood the C++ Builder (or RAD Studio) uses the pascal / delphi compiler to compile the *.pas files.
  6. For the benefit of me and other interested parties can you expand on this please? Delphi components implies they are written in Delphi. You can't compile these with any of the C++ compilers..... So what exactly did you do that made the third party component work in your case ?
  7. I've been using C++ with VCL since the early 1990s and still think it's the easiest way to write C++ GUI windows apps.
  8. This page lists the different debuggers https://docwiki.embarcadero.com/RADStudio/Athens/en/Debugging_Multi-Device_Applications Have you tried selecting the "classic" compiler? - this will (I think) debug into the VCL.
  9. This is related to the different debugger technology in use for Delphi and the different C++ compilers. This is unlikely to change between 12.1 and 12.2 (it would be a big change to change the debugger for a particular compiler - not one that would normally be done as as a same version upgrade). I am sure there is another posting on delphi-praxis covering exactly this issue - but I must admit I spent five minutes looking and couldn't find it.
  10. Roger Cigol

    Delphi 12.1 : Freezed during words search

    it's difficult for Embarcadero to fix if it's related to a third party tool. Do you have third party tool(s) installed ?
  11. Roger Cigol

    XML: Parsing UBL 2.1 in Delphi

    Do you have an XML Schema file (typically file extention = .xsd) for the UBL 2.1 model invoice? If so you can use this with XML Mapper to generate a transform (at design time) which you then use in code so that it can populate a client dataset (at run time) with data from an incoming XML file. With this approach XML files that only contain partial amounts of data (as you anticipate) are handled correctly.
  12. Roger Cigol

    XML: Parsing UBL 2.1 in Delphi

    Are you aware of the XML mapper tool?
  13. I have a working class to interface to a COM interface (created by a 3rd party). My working class is a wrapper around the type library functions I generated using C++ Builder. This code works 100% when compiled under C++ Builder 10.4. I have just used the same class in a new application running on the same machine as the working system but this time compiled using 11.2 patch 1. This doesn't work. The problem seems to be in passing pointers to BSTR. I use WideString.c_bstr() to get the pointer to the BSTR to pass to the COM interface. QUESTION: can anyone confirm that this approach works ok using 11.2 ? (or should I be looking into this at a lower level with a view to creating an Embarcadero RSP bug report?)
  14. Roger Cigol

    DElphi XE 10 FireDac

    or write a function that checks if your text ends with a ';' character and if so deletes the ';' character. Then use a global search for each time you set the SQL property of the query and surround each text with a call to your new function.....
  15. Roger Cigol

    Newbie Question 1

    ...Also: which compiler are you using. C++ "classic" is the 32 bit compiler developed by Borland but basically frozen quite some number of years ago. The recommended compilers are Clang32 for 32 bit targets and Clang64 for 64bit targets. 12.1 also introduced a new tool chain for clang 64bit which is expected to replace the earlier 64bit system (this is currently called clang64 modern) but in 12.1 it has some minor limitations which may make it not your first choice if you are still finding your way around. These limitations are understood by Embarcadero and are expected to be removed in next version or two with the goal being to replace the clang64 approach with this "clang 64 modern" approach. You select the compiler used for 32 bit applications using the menu Project | Options and then under Builiding | C++ compiler there is an entry "Use classic borland compiler" (I suggest you set this to "false"). You select the compiler used for 64 bit applications using the "target platform" in the project tree.
  16. Roger Cigol

    Newbie Question 1

    Hi Newbee, I wonder what version you are using here? Embarcadero have tried various experiments with the auto completion type editing functionality in recent editions. It is only in 12.1 - with reasonable integration of the visual assists components from Whole Tomato that things are working well. I find 12.1 auto completion fast and reliable.
  17. Roger Cigol

    Suggestion for next version name - YASAB

    Me also - and I use the C++ side a lot and that too is also good.
  18. Roger Cigol

    Using FireDAC with Access accdb file

    This is true for design time connections. But you can compile to 64 bit application and then connect at run time (but if you do this you CANNOT connect at design time because of the limitation I mention above).
  19. Roger Cigol

    Using FireDAC with Access accdb file

    You can only open MS Access files on a PC using either 64 bit apps (in which case you need to install the 64 bit MS Access drivers into Windows) or 32 bit apps (in which case you need MS Access on the machine (or at least the drivers). You cannot have both on the machine at the same time.
  20. Roger Cigol

    Why does IDE require UAC elevation when starting?

    Everyone accepts that it is correct that you need elevated privileges to install. "There is no difference between them" means for me either route has always led to being able to run the IDE from a "standard user" account without elevated privileges.
  21. Roger Cigol

    Why does IDE require UAC elevation when starting?

    I've used ISO and web based installers for different installations - no difference between them.
  22. Roger Cigol

    Why does IDE require UAC elevation when starting?

    I've been using RAD Studio since 2009 (ie pre "XE" days") and never had to use elevated privileges to run the IDE. 12.1 exactly the same..... I second this.
  23. I have a short sample XML file which is as follows <?xml version="1.0"?> <authors> <author> <name>abc</name> <posts> <items> <title lang="eng1">abc item 1</title> <content lang="eng2">abc item 1</content> </items> <items> <title lang="eng3">abc item 2</title> <content lang="eng4">abc item 2</content> </items> <items> <title lang="eng5">abc item 3</title> <content>abc item 3</content> </items> <items> <title>abc item 4</title> <content lang="eng6">abc item 4</content> </items> </posts> </author> </authors> I need a schema (ie a file *.xsd format) for this xml format. Schema creation tools I have tried don't seem to be able to handle the fact that nodes such as <title>...</title> contain both an attribute and text data. If I use a tool to create a schema *.xsd and then recreate a sample xml from the created schema I always find that the resulting xml created is missing either the attribute or the data, meaning the schema I have generated does NOT match my XML file. Can anyone create a schema that does correctly map to an XML file with nodes with both attribute and text data? I know it's not a delphi question (or a C++ Builder question) but I also know there are some XML gurus on Delphi Praxis that might be able to solve my problem very easily ! Thanks in anticipation
  24. Roger Cigol

    XML File - I need a schema for this file

    Wow! super fast response. I wasn't aware of that useful site - so thanks for the link. I will try this xsd and see how I get on.... Thank you Lars.
  25. Roger Cigol

    Convert Visual Studio 2012 code to Delphi

    Exactly, I've checked my tool box, I don't have a BMW ZGW device or a way of simulating one........ I would also need someone to tell me what it was supposed to do in the event of different failures when communicating with the BMW ZGW device.....
×