-
Content Count
392 -
Joined
-
Last visited
-
Days Won
5
Everything posted by Cristian Peța
-
TCameraComponent is using FMX.Graphics.TCanvas and you should replace with Vcl.Graphics.TCanvas and so on. Look what TCameraComponent is doing and do the same using Vcl units. Some things are not the same but with some work I think it should be doable.
-
Accessing camera has nothing to do with VCL or FMX. It should be feasible to copy what FMX.Media.TCameraComponent is basically doing (trimming all the FMX part) and make you own simple component for VCL. At least that's what I would do.
-
Difference between Pred and -1
Cristian Peța replied to John Kouraklis's topic in RTL and Delphi Object Pascal
I would like to have List.High or List.HighIndex or List.LastIndex or whatever. Why to write every time -1 when you want the last index? -
I don't understand. Have you reproduced this on your machine? Then you can debug and see the call stack. If not, then as @Lars Fosdal said: get MadExcept or EurekaLog and don't waste your time. I dot't know how EurekaLog is but with MadExcept you need only to install it and check the checkbox that you want it in your app. That's all. Then you will have a full call stack to see where this happens in your code.
-
Using Delphi in Virtual machine for a month
Cristian Peța replied to Mike Torrettinni's topic in Tips / Blogs / Tutorials / Videos
I enabled out of curiosity the Hyper-V and shut myself in the foot because this enabled Credential Guard. VMware doesn't run with Credential Guard enabled. I lost an hour to turn it off. -
Set a PC environment based on a Country name..
Cristian Peța replied to Ian Branch's topic in General Help
Don't use date as string in SQL filters. Pass dates as parameters. That calendar component should give you the date as TDate or something, not string. -
FastReports VCL 6 - worst ever installation experience
Cristian Peța replied to a topic in Delphi Third-Party
It's easy with Web Installer. In menu Tools->Manage Platforms... Do you installed from ISO? -
What if somewhere this BitmapListAnimation1 is used while you call LoadFromFile? We don't see your code so what advice do you expect?
-
I think to get rid of RTF so I can go cross-platform but from your website I don't see how much is subscription.
-
Any Good tutorial on Parallel Programming Library?
Cristian Peța replied to Tommi Prami's topic in RTL and Delphi Object Pascal
If PPL is not working and OTL is overkill why not directly TThread? And you are in control. -
Messages for exceptions only for main thread?
Cristian Peța posted a topic in RTL and Delphi Object Pascal
I just realized that exception messages are shown only for main thread. I'm right? And if yes, why? madExcept will show exception for all app threads and I was surprised to see that without madExcept you can see exceptions for other threads only debugging from IDE. -
tDialogService.MessageDialog with ACloseDialogProc / need synchronize or not?
Cristian Peța replied to microtronx's topic in FMX
I tried with both TDialogService.TPreferredMode.Async and Sync and I see the same main thread in the procedure. So, no synchronize needed. -
Anyone compiled Android apps (api 16) for Industrial devices with Android 4.1.x
Cristian Peța replied to microtronx's topic in Cross-platform
I used minSdkVersion="14" in manifest. Works here on android 4.4.4 (older Honeywell 75e) I have a customer with Honeywell 70e and Android 4.0 but doesn't tried yet. -
Have you tried to delete all Tfdconnection and Tsqlconnection? Still does not start? Do you open Tfdconnection at runtime after the service start-up? Or it's set active at design time? Toooooo many questions....
-
Some sort of compilation to an intermediate representation must be there. Not to machine code but something much faster than parsing every time the source. Otherwise it will be very slow. I use FastScript and there is a compilation before execution. Execution is dozens times faster than compilation.
-
I've put on github a project that is using standard libraries from Honeywell and Zebra to read barcodes on devices with Android. It's my first project on github and I just made a restructuring. I hope it's all there. https://github.com/CristianPeta/HandheldBarcodeReader
-
Barcode reading on Honeywell and Zebra devices
Cristian Peța replied to Cristian Peța's topic in I made this
I tried to subclass the Activity in Java for Honeywell and doesn't work. No errors but doesn't start the scanner. Maybe my Java knowledge was not enough. I will give it an other try when I will have a little time. -
About that circles: https://community.idera.com/developer-tools/b/blog/posts/ide-improvements-in-rad-studio-10-3-3
-
Load a String from a file - returns strange char set
Cristian Peța replied to bernhard_LA's topic in Algorithms, Data Structures and Class Design
Or directly if you don't need to add but to replace. Memo.Lines.LoadFromFile(FileName, TEncoding.ASCII); -
Deal - breaker: Registration Limit Increase
Cristian Peța replied to John Kouraklis's topic in General Help
My VMs are connected to network and 10.1 does complain if 10.2 or 10.3 are started in an other WM. Probably because every WM does have an other IP (VMware stuff). "Duplicate License Key found. The same license key is used on 192.168.136.152. Please install a separate license" But starts and works. But 10.2 and 10.3 doesn't say anything. -
Running in 32 bit mode and accessing more than 4GB.... I thought this is a relic of an ancient era.
-
You don't think what? I don't think that new devices with 4GB and less are running in 64 bit mode. Only some exceptions. The vast majority are running in 32 bit mode.
-
I don't think so. 64 bit OS will use more memory than a 32 bit. With 2GB RAM it's better to run in 32 bit mode. I have a Samsung A10 (model SM-A105FN released 2019) with 2GB RAM and running in 32 bit mode. PS. It's running Android 9
-
There can't be a device with more than 4GB memory and 32 bit OS. You can take the cheapest with 6GB.
-
TLabel is not native: http://docwiki.embarcadero.com/Libraries/Rio/en/FMX.Controls.Presentation.TPresentedControl.ControlType