Jump to content

wuwuxin

Members
  • Content Count

    50
  • Joined

  • Last visited

  • Days Won

    2

wuwuxin last won the day on June 29

wuwuxin had the most liked content!

Community Reputation

13 Good

Technical Information

  • Delphi-Version
    Delphi 10.4 Sydney

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Thank you. I am scratching my head - let me investigate at what point that this weird character $1A is added.
  2. Thank you for the prompt attention, and sorry I should have be more clear - I meant by "VarPyth.Import(APySourceFile)" The character i meant is $1A
  3. This is a weird problem that surfaced today after I updated Python4D to its latest. Delphi 10.4.2 A valid python source file, after loaded by Python4D, an extra character #1A will be append to it. Then next time the python source file is loaded by Python4D, it will complain invalid syntax at where the new char is appended (i.e, the end of the file). Anyone has encountered the issue?
  4. IMyInterfaceBase = interface procedure A; procedure B; end; IMyInterface = interface(IMyInterfaceBase) procedure C; procedure D; end; intf_1: IMyInterfaceBase intf_2: IMyInterface; Are the following lines legitimate? (intf_1 as intf_2).C();
  5. @Kas Ob. Thank you very much for all your valuable inputs.
  6. @Kas Ob. I have more one question: what this "specific time" would be? Is it specified in the protocol?
  7. @Kas Ob. Thank you very much for such an insightful answer. Very helpful indeed.
  8. Need to develop a custom sniffer application to detect Wifi and Bluetooth MACs in a train station, for the purpose of counting pedestrians. Is there any existing Delphi compoenent that can be used to that end? Thanks.
  9. I want a class to be pure static, which doesn't allow instantiating (except through a static method for creating singleton). Is that doable in Delphi?
  10. @David Heffernan Thanks you. If Unit A is where the class (that has a class constructror) is defined, and Unit B is where the static class method is called (in Unit B's initialization section) - that is, Unit B references Unit A. Does that mean Unit A initialization come BEFORE unit B?
  11. I am somewhat unclear about Delphi class constructor. Say, for the following code: TMyFunkyObject = class strict private class constructor Create; public class procedure FoBar; end; I am calling TMyFunkyObject.FoBar from the initialization section of another unit. Is it guaranteed that the class constructor will be (implicitly) called before TMyFunkyObject.FoBar? Or the sequence is in-deterministic?
  12. wuwuxin

    RAD Studio 10.4.2 crashes upon exit

    @Nigel Thomas Thank you. I double checked - "Save project desktop when closing" was indeed turned off. It seems not relevant to the crashing? Anyway, thank you again.
  13. wuwuxin

    RAD Studio 10.4.2 crashes upon exit

    @Rob Truby Thank you for the heads up. What should I do to fix this - where I can turn off "auto saving desktop on exiting"?
  14. My RAD Studio 10.4.2 works fine with opened project, but it ALWAYS crash upon exit (i.e., after I click the close button). however, if I don't open any project, just open the IDE then close it, no crash. This doesn't impact my programming work, but quite annoying. From Windows Event Viewer, I find the following info - I suspect the crash is related to some third-party component or some IDE expert. Any one can shed some lights? Faulting application name: bds.exe, version: 27.0.40680.4203, time stamp: 0x6030517d Faulting module name: rtl270.bpl, version: 27.0.40680.4203, time stamp: 0x603056c0 Exception code: 0xc000041d Fault offset: 0x0000fc74 Faulting process id: 0x30c Faulting application start time: 0x01d799ee7598f2cd Faulting application path: C:\Program Files (x86)\Embarcadero\Studio\21.0\bin\bds.exe Faulting module path: C:\Program Files (x86)\Embarcadero\Studio\21.0\bin\rtl270.bpl Report Id: 32b44a0f-9ac1-4bf2-81ae-72383b40e201 Faulting package full name: Faulting package-relative application ID:
  15. RAD Studio 10.4.2, Sydney. I have a solution group that includes a mixture of Delphi and C++ Builder projects. Upon closing the IDE, it will always crashes. If I remove those C++ Builder projects from the Group, then IDE will just work fine and not crash upon close. Anyone have the same problem?
×