Jump to content

mvanrijnen

Members
  • Content Count

    471
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by mvanrijnen

  1. mvanrijnen

    Delphi 12 is available

    But WHY 🙂 The whole purpose of the CE licenses is to attract developers, not scare them away ?
  2. mvanrijnen

    Removing String

    double trouble 🙂
  3. mvanrijnen

    Removing String

    and now try this ) with this ( text as it )() fill fail (sometimes) 😉
  4. mvanrijnen

    Removing String

    Use this: System.SysUtils.TStringHelper.IndexOf - RAD Studio API Documentation (embarcadero.com) How to use the above to solve your problem is your job as a developer 😉
  5. mvanrijnen

    Can not install Delphi Community Edition 11.2

    How do you get the CE version of 12 ? Delphi IDE for Native Apps: Community Edition - Embarcadero States its still 11.x ?
  6. mvanrijnen

    Delphi CE application accesses unknown IPs

    Ah see, little bit strange that a site as virustotal does not take this to consideration or report it with the found ip's.
  7. In D11.3, with search (ctrl-f and/or ctrl-shift-f), the checkbox for "Whole words only", goes randomly to checked state in my IDE. Somebody who knows why this is, and/or how to fix this ? (i want it not checked by default)
  8. mvanrijnen

    Delphi CE application accesses unknown IPs

    You can check this also with procmon: Process Monitor - Sysinternals | Microsoft Learn as said, i'm gonna check this now 🙂 (private laptop i have CE installed, will do the same tomorrow with the Enterprise edition). procmon does not detect any network connectivity simple console app: (and just for fun i attached the ip trace from procmon, running bds-> start project1 -> close bds) Virustotal result: Link: VirusTotal - File - 956317d6f12af53a4c97db41807e9dd51fd37c30057607cecb969fc9214ccb99 Scanning: Bkav Pro W32.AIDetectMalware RisingTrojan.Generic@AI.100 (RDML:gihstO5MCnK0eVlOewg5Rw) SecureAgeMalicious VBA32 TScope.Trojan.Delf IP Traffic When executing the file being studied, it generated the following IP traffic. 192.229.211.108:80 (TCP) 20.99.184.37:443 (TCP) program Project1; {$APPTYPE CONSOLE} {$R *.res} uses System.SysUtils; begin try try Writeln; Writeln('This is just a test'); except on E: Exception do Writeln(E.ClassName, ': ', E.Message); end; finally Writeln; Write('press enter...'); Readln; end; end. bds ip trace.txt
  9. i'm out of idea, very strange that you get a statuscode 200, visible content in the proxy but not content in the delphi object.
  10. mvanrijnen

    Spring4D dictionary and record values

    litlle bit offtopic, just curious, but what would be the (big) advantage of using Spring4D for collections instead of the "Built In" generics/collections from Delphi?,.
  11. but there is clearly JSON data in the response, i really would not know where your response content is empty
  12. ah ok. You can see that there is content (348 bytes) but i think i know the problem, probably your accept header is not ok. more will follow in a minute, i check something..... you have this RESTProfileRequest.Params.AddItem('Accept', '*/*', TRESTRequestParameterKind.pkHTTPHEADER); somewhere? change the '*/* in 'application/json' or better just use the constant: CONTENTTYPE_APPLICATION_JSON (is declared in the Rest.Types unit) i use: req.AddParameter('Accept', ctAPPLICATION_JSON, pkHTTPHEADER, [TRESTRequestParameterOption.poDoNotEncode]);
  13. mvanrijnen

    Delphi 12 is available

    could be that we had the same problem, therefore we only use the pure/clear $(Auto)
  14. mvanrijnen

    Delphi 12 is available

    Just set it to auto in de Project options for the package: Lib suffix: $(Auto)
  15. mvanrijnen

    Delphi 12 is available

    Yes, they should turn it around, first release the CE as a preview,, get the community to work for you, they will if you provide them a free IDE. Go more to a system as MS does, you need to have a payed license if you have $xxx in annual revenue.......
  16. mvanrijnen

    Delphi 12 is available

    hmz, have to take a look at that if we upgrade to D12
  17. mvanrijnen

    Delphi 12 is available

    I think they should also change the BDSCatalogRepository BDSCatalogRepositoryAllUsers paths, by default they do not have a version in it (at least untill 11.3), i always change these to something like "D:\Data\Delphi\Catalog\22" (and then the same value for BDSCatalogRepository as for BDSCatalogRepositoryAllUsers)
  18. mvanrijnen

    Delphi 12 is available

    but is i read it correctly how to solve this, it's just plain old DLL hell, not so difficult to solve ....
  19. mvanrijnen

    Delphi 12 is available

    Maybe the problem is that the Beta testing is done on "clean" systems only ?
  20. Very strange, if you get a response code of 200 and you see the body in the proxy it should have a value, can you see if request.Response.Content contains any text? (debug it right after request.execute in your code)
  21. so you do get a response now, try now without the Async, i think problem might be in the Async method now. (not in the method, but how you handle it). I never used that method, i believe you have to have an event catching the response or something like that ? (can check that tomorrow, i now go to bed : )
  22. mvanrijnen

    Delphi 12 is available

    When will the CE release will be released? (i have the CE version on my private laptop)
  23. mvanrijnen

    trying to POST multiple values of same parameter

    Don ;t think thats possible with the Params property, it all ends up merging the diffentt params from client/request etc, and there they get overwritten when having the same name. You have to fill your request body by hand then i think.
  24. mvanrijnen

    trying to POST multiple values of same parameter

    Best way is to use a proxy, for a list see for example: mitmproxy Alternatives: Top 10 HTTP(S) & Web Debuggers | AlternativeTo ( i use mitm and/or fiddler, charles is also mentioned by @Uwe Raabe i believe) let mee see if i can capture some output for this. Here it works like a charm..... var ...... prm : TRESTRequestParameter; begin ..... req := TRESTRequest.Create(nil); try req.Client := FRestClient; req.Method := TRESTRequestMethod.rmPost; req.Resource := cExtensionResource; ..... prm := req.Params.AddItem(); prm.Name := 'testmultivalue'; prm.AddValue('Value_1'); prm.AddValue('Value_2'); prm.AddValue('Value_3'); prm.AddValue('Value_A'); req.Execute(); ..... don't mind the 400 error, i just changed a get into a post to try.
×