-
Content Count
312 -
Joined
-
Last visited
-
Days Won
5
Everything posted by Patrick PREMARTIN
-
links have been fixed 🙂
-
You should not have the need of administrator privileges to install components packages from GetIt. Do you have other users on this computer ? Did you installed with default installation folder or do you changed it ? It could explain this.
-
I suppose it's on an existing project. Did you previously enabled the Windows 64 platform on it ? Check in the project manager if you can add a platform from the contextual menu. If it's a compiler installation problem this symptom is usually a license-related problem. It's best to check that the license is up to date in the license manager and try to reinstall the missing platforms.
-
@Lajos Juhász It seems you have an installation problem : projects in 12.2 and DCU can be used in 12.3. You don't need to do anything for that (except for Android where you need to refresh the libraries list for the SDK change). You don't need administrator privileges to work in RAD Studio. Please go to https://qp.embarcadero.com and open an issue where you explain what is your setup and how you installed the release.
-
The mobile apps I've compiled are working as expected. Waiting a few days is a good idea. If you work with a VM you can clone it and upgrade Delphi on one of them.
-
For me GetIt is okay : 408 packages (for an Enterprise edition). If you installed using the ISO, you have to change GetIt settings to go online.I suppose you already tried to reboot your computer ? Do you have GetIt elements listed in the welcome page (the two panels under the list of recent projects) ? Can you create a VCL or FMX project in Delphi and compile it ?
-
If you have to move immediately go to 12.3, don't install the 12.2.
-
ok, but it's not about VCL, it's about projects using C++ and Delphi code
-
Where did you saw the 64 bits IDE can't debug VCL apps ? It works for VCL&FMX in Delphi & C++Builder for 64 bits Windows projects.
-
You have to login on QP before trying to access issues. Some of them may be private, even if submitted by the public. The links are wrong : go to quality.embarcadero.com to search these reports.
-
I like your "just". 😉 The IDE is not the only thing in 64 bits : at least the compilers, debuggers and LSP server. 🙂 That said, I'm using the 12.3 RTM since a week and no big problem appeared. It's a little speeder than the 12.2 on the same VM (Windows ARM on a Mac mini M1). LSP is working well but I don't have worked on big projects.
-
Skia is an open source library available under BSD Free Software License. We can use and deploy it with our projects. https://skia.org/about/ With the Skia4Delphi project I don't know if you can link it dynamically. Check with the developer team on https://github.com/skia4delphi/skia4delphi/discussions
-
You need the Skia.dll file with projects using Skia. Check "Project / Deployment wizard" option to see where it's located on your development computer. It should be in the "bin" folder of RAD Studio installation. See https://docwiki.embarcadero.com/RADStudio/en/Skia4Delphi for other links and infos about using Skia in Delphi or C++Builder.
-
Delphi 12.1 with MacOS version and iOS version
Patrick PREMARTIN replied to Peter J.'s topic in Cross-platform
Official support for each Delphi / C++Builder version is listed on https://docwiki.embarcadero.com/PlatformStatus/en/Main_Page The minimal OS version is supposed to be needed by the RTL and used components, the highest should be latest in most cases (depending on APIs and what features you use). For Apple devices the debugger or signing projects could not work. They change things sometimes with no compatibility with existing toolchains. We don't have an iOS debugger in Delphi 12.x releases. Use the iOS Simulator if you want to debug. For the certificates, it's probably an error of downloading them (I had it with Xcode 16). Just move them to the good folder on your Mac (check the forum, some post are about this problem). Check Perhaps this one : -
It should work at least on Windows 10. Do you have the DLL when you deploy your project ?
-
Hi In general FMX works like the VCL for desktop platforms. The main differences are : - positions are single instead of integer (position.x, position.y instead of Top/Left) - Text replace Caption property everywhere (instead of for a TForm) - each visual component is a container - many more alignments than for VCL components - the components are styled and can be completely changed with styles (but don't try that to start). - no TDBxxx components, use LiveBindings to link data to visual components - for macOS the first option of the TMainMenu is fusion with macOS App menu, add an empty one (and hide/remove in FormCreate it if its not macOS) if you want the classic "file" option To debug / deploy to macOs you need a Mac available locally or on Internet and PAServer installed on it. I've done many things on FireMonkey with a lot of open source projects on GitHub (not only games 😉 ). Replay videos (in French) of my Twitch live coding streams are available, but you can check this series (the page is in French, the videos are in English) : https://apprendre-delphi.fr/coding-bootcamp-2023.html To the books list I had the "Delphi Programming Projects" from William Duarte. For other samples then the ones available with Delphi you have this code repository https://github.com/FMXExpress/Cross-Platform-Samples and some others I've listed on https://github.com/DeveloppeurPascal/Delphi-samples/blob/main/OtherDelphiSampleRepositories.md If you have a first project to create, give us some tips, we will find the available resources around it.
-
Hi If you use FireMonkey and the styles, can you tell me which are your preferred styles for light and dark theme ? I like the Polar and Impressive but it's time I decide what styles I propose on each tools I publish. "all" is of course not the good answer because of EXE weight.
-
What FireMonkey style do you use and like ?
Patrick PREMARTIN replied to Patrick PREMARTIN's topic in FMX
Thanks for the link to this project @havrlisan It's a very interesting solution to bypass current FMX implementation of styles. For my projects I prefer to use standard features to share source codes, but I add this one to my "projects to try" list. -
What FireMonkey style do you use and like ?
Patrick PREMARTIN replied to Patrick PREMARTIN's topic in FMX
Hi I've included the Dark/Light themes by default, but I have problems with the contrast of the dark one on my monitor (or with my eyes). It's the reason why I've added Polar et Impressive styles, but perhaps an other one is preferred. We are so many to have "monitors, eyes or colors problems". 😉 -
Check If File is what he claim to be
Patrick PREMARTIN replied to mazluta's topic in RTL and Delphi Object Pascal
For images, in the old times, we opened the file and tried to get its size. If it work the image was saved to avoid using the original file. Of course it can change the image quality and it supposed the loading/getsize feature has no security issue. -
shareware Some open sourced tools for Delphi developers
Patrick PREMARTIN posted a topic in I made this
Hi From the contacts I have from time to time following presentations or training courses, it seems that I'm better known for the video game coding part of my hobby than for the other stuff. It's true that I find it more fun (especially to stream on Twitch), but I also have utilities for Delphi developers created to simplify my life that I make available as binaries and source code on my GitHub account. App Stores Screen Captures Generator : to generate all the needed images from your screen captures when you have to publish your softwares on current app stores Copyright Pascal Projects : to add a copyright text in the header of each PAS/DPR files of a folder tree DProj To Windows Setup : to generate the Windows setup from Delphi deployment wizard data. It uses Inno Setup to create the install program and Exe Bulk Signing to sign the exe files. Exe Bulk Signing : a local and network signing program for Windows executables (exe+msix). It has an API you can use to integrate it in your projects like I did with "DProj To Windows Setup". Folder to FMX Image List : to create a FireMonkey TImageList to copy paste in your project or in a data module unit from all images in a folder tree. It fills the multires bitmaps depending on file names. Google Play Developer Banner Generator : to create a picture to use has your Play Store developer banner composed by a random collage of images you add to your project. I use it with icons of my Android apps. HTML Writer : to simply get HTML source code or WYSIWYG HTML content. I use Delphi HTML Components library in this program to have the WYSYWYG HTML editor and a memo for the source code tab item. Pic Mob Generator : my icons generator from basics layers or images, SVG, paths or rectangles. It export JPEG&PNG images, ICO and ICNS files. For the SVG I used RiverSoftAVG SVG Component Library, but next release will use Skia4Delphi. SM Code Generator : I use it in some multi players games, for EXE Bulk Signing API and client projects. The program generates Delphi code you only have to use in your projects to have a client / server solution to exchange formatted messages over IP. The library uses standard TCP sockets from Embarcadero (with no external dependencies). SVG Folder to Delphi Unit : to import SVG files as Pascal strings in your projects. I use it in some games with Skia4Delphi to show icons or sprites. The program generates a unit (compatible with Delphi 12.X and higher) with SVG found in a folder. Some of these programs are available from GetIt. The others will be submitted before the end of the year. The download links are on their GitHub repositories and will be added to their websites (which should be redirected to GitHub in the meantime). If you need changes in these programs or have suggestions, be free to tell here or as issues on their repositories. I'm also looking for ideas of simple tools to develop during live coding streams to show Delphi or web solutions. They are distributed as shareware programs. Contributions and sponsoring are welcome but not obligatory, and there are no program restrictions in the absence of a valid license. All features are available for free. -
shareware Some open sourced tools for Delphi developers
Patrick PREMARTIN replied to Patrick PREMARTIN's topic in I made this
I've just released HTML Writer v1.1 Changes : - added styles choice (light, dark, impressive, polar) - added languages choice (en/fr available, but this project has not many texts) - CilTseg has been enabled for activating the license and checking for new updates - the WYSIWYG editor has been updated with latest version of Delphi HTML Components Now this program uses my FMX Tools Starter Kit project. It's still a work in progress but you can check it on GitHub too. Like for the Gamolf FMX Game Starter Kit a more friendly documentation and some tutorials will be available one day (hope "soon" but who knows). The source code is available on https://github.com/DeveloppeurPascal/HTML-Writer You can download the binaries for Windows and Mac from the "releases" section. -
Best Practices for Secure Authentication in Delphi REST Applications
Patrick PREMARTIN replied to nolanmaris's topic in Network, Cloud and Web
Depending on what you are developing you should have : - an private ID for the user - an private ID for the application/software/site/... - an private ID for the device Users or admins should be allow to stop access to each one. For each API call you should sign the content of the call and identify the user/app/device or both with one public ID, sign with private ID and perhaps a public/priv key or one time code for the API endpoint. Of course all API call must be secured at least over https. Use API access levels depending on the app or the user or both. All keys/token must be stored encrypted locally and never published in a code repository (even private). And if you do things in JS, never put your keys in the code. Users have access to it and can show anything. (never do JS things with a private API in a public site, it's an open door to your content) -
Looking but not finding...
Patrick PREMARTIN replied to Rick_Delphi's topic in Job Opportunities / Coder for Hire
"We" have some (real) job offers in France but I suppose it's not of any help because they want local workers. Is there anything "we" (as Delphi lovers, MVPs and others) can do to help showing and sharing job offers or demands ? (it's one of the numerous topics I'd like to help on to increase Delphi visibility) -
Hi What branch or release of Mars do you use ?