-
Content Count
2063 -
Joined
-
Last visited
-
Days Won
27
Everything posted by Attila Kovacs
-
Can I change the entry point for a VCL application?
Attila Kovacs replied to JamieR's topic in Algorithms, Data Structures and Class Design
It's part of the know-how. 😉 -
Can I change the entry point for a VCL application?
Attila Kovacs replied to JamieR's topic in Algorithms, Data Structures and Class Design
ctrl-v on the project name (xy.exe or .dll etc..) in the project manager at the upper right corner of the IDE. Just saying. Looks like it will open something new for you. -
Delphi on Windows 11 on MacBook Pro 16 (2021)
Attila Kovacs replied to Lars Fosdal's topic in Cross-platform
I did something similar the other day, installed Win11 into a HyperV container + Delphi 11 Trial with Android SDK, connected my phone via WLAN debug to the system, added a button to the form, F9 and voila, app is running on the phone. Brilliant. It's just slow AF as I'm on my old notebook 😉 -
Delphi on Windows 11 on MacBook Pro 16 (2021)
Attila Kovacs replied to Lars Fosdal's topic in Cross-platform
Apparently not anymore. I'm glad to see the industry coming together. -
Delphi on Windows 11 on MacBook Pro 16 (2021)
Attila Kovacs replied to Lars Fosdal's topic in Cross-platform
Is that a Windows 11 ARM running in a VM on a 3000 EUR MAC emulating x86 to run RAD Studio? 🙈 That will be nice! 😉 -
And are you sure your android device is knowing that netbios name? What about using an IP instead?
-
I don't know, first of all, what is this? "http:/masterdata/Artikel.asmx" this is not an URL. Is it an example with typo? I'd try to change http to https, hopefully your endpoint supports https. (which will raise further questions/problems but that will be the next step)
-
should be https
-
Why don't you just connect to myip.opendns.com from the outside?
-
-
maybe "adresse'] as TJSONArray);" the return type of Values[] is very general, you have to process it with checking against the type and cast them if apply.
-
for example: (jsonObj.Values['forretningsadresse'] as TJSONObject).Values['adresse']
-
enable/disable the internet connection?
Attila Kovacs replied to David Schwartz's topic in Windows API
He was in ~10 reboot distance to his goal. 🙂 -
enable/disable the internet connection?
Attila Kovacs replied to David Schwartz's topic in Windows API
anyway, in powershell it should be pretty easy to disable/enable the networking or ptarts of it -
enable/disable the internet connection?
Attila Kovacs replied to David Schwartz's topic in Windows API
ups, my apologies 😄 -
enable/disable the internet connection?
Attila Kovacs replied to David Schwartz's topic in Windows API
What the heck are you talking about, linux since 10 years and you are asking for an "API"? Where is an API to do that under linux? Take a powershell and write your scripts like in linux. -
GDI object leak and overflow when TImageList is on a frame
Attila Kovacs replied to aehimself's topic in VCL
So they were leaks from the perspective of the initial test. This means that your repro's were also wrong, didn't they? -
GDI object leak and overflow when TImageList is on a frame
Attila Kovacs replied to aehimself's topic in VCL
The issue is always there, even at the first run. But I can't make you place breakpoints and run the app, so I can't really help further 😉 -
GDI object leak and overflow when TImageList is on a frame
Attila Kovacs replied to aehimself's topic in VCL
Well, I'm not sure on that. It's harder to create the exact same environment as one would think. You see what is leaking, you could start placing breakpoints to the constructor/destructor of the imagelists first and count them, and check who the caller is. -
GDI object leak and overflow when TImageList is on a frame
Attila Kovacs replied to aehimself's topic in VCL
I'm fine with 10000 decimal. Is that on the screenshot? It's showing a bunch of HBITMAP leaks in the comctl32.dll. TImageList is a wrapper for some windows imagelist so I'm suspecting that it's not freed correctly or created twice under the same reference etc... I'd look for that. -
GDI object leak and overflow when TImageList is on a frame
Attila Kovacs replied to aehimself's topic in VCL
I don't think that the ImageList should be on the frame. Anyway, is your test-project also creates the sub-frames from the constructor? You should check where and what is calling GetDC/ReleaseDC in the VCL and if they are called in pair. -
Compiler detecting repeated lines?
Attila Kovacs replied to Mike Torrettinni's topic in Algorithms, Data Structures and Class Design
You would not wait for the compiler to finish 😉 But maybe in the future there will be such things. Why not. However, as @ConstantGardener mentioned, it would be a task for static code analysis as you would lost too much time on every compile vs. the cases you have in your code. -
Compiler detecting repeated lines?
Attila Kovacs replied to Mike Torrettinni's topic in Algorithms, Data Structures and Class Design
who gives you the guarantee that the second call is returning the same value? <o>? -
Strategies for minimizing app start time
Attila Kovacs replied to PeterPanettone's topic in General Help
move the splash screen randomly to 0,0 (topleft) corner and show it blurry for no reason