Lajos Juhász
Members-
Content Count
986 -
Joined
-
Last visited
-
Days Won
12
Everything posted by Lajos Juhász
-
Pascal Script was also a good scripting language it's unfortunate that is dying slowly.
-
FYI - Several Embarcadero services are currently unavailable
Lajos Juhász replied to Keesver's topic in General Help
Nice idea, maybe they should by a licence. -
FYI - Several Embarcadero services are currently unavailable
Lajos Juhász replied to Keesver's topic in General Help
The Quality Portal is back online. Docwiki is still have issues, it starts loading (blue background) then: #0 /var/www/html/shared/BaseWiki31/includes/libs/rdbms/loadbalancer/LoadBalancer.php(1134): Wikimedia\Rdbms\Database->reportConnectionError('No route to hos...') #1 /var/www/html/shared/BaseWiki31/includes/libs/rdbms/loadbalancer/LoadBalancer.php(749): Wikimedia\Rdbms\LoadBalancer->reportConnectionError() #2 /var/www/html/shared/BaseWiki31/includes/GlobalFunctions.php(2801): Wikimedia\Rdbms\LoadBalancer->getConnection(0, Array, false) #3 /var/www/html/shared/BaseWiki31/includes/cache/localisation/LCStoreDB.php(45): wfGetDB(-1) -
I believe that the implementation of the shiny feature to show which part of the code is active broke the IDE (Delphi 12). I've tried to enter: {$Define DebugCOM} Nothing special, unfortunately after this the editor stopped receiving keyboard imput, I was still able to navigate using the mouse but when I tried to close the project the error message was: Instance of Class TEditSource has dangling reference count of 1. Did anyone noticed something similair? I would like to create a test case to report it to the QP.
-
I don't use it often. In this case I have decided that instead of commenting out the code for debugging the COM communication I am will place it inside a conditional block. The IDE went completely mad when I closed the IDE it was an Access Violation.
-
Error when installing custom package - Module not found
Lajos Juhász replied to JKNew's topic in Delphi IDE and APIs
You wrote that you want to install a runtime package in that case you cannot add a 64 bit bpl to required, runtime package must be 32. The Delphi IDE is 32 bit it requires a 32 bit bpl cannot load a 64 bit version (from the name w64 I guess it's a 64 bit package). Anyway the 32 bit version of the QuickReport package must be on a Windows path. You can add it for the Delphi IDE (Tools - Options - Environment Variables) and select path at the User System Overrides. -
Error when installing custom package - Module not found
Lajos Juhász replied to JKNew's topic in Delphi IDE and APIs
It's the Windows path that you have to update. Since BPL is a special type of a DLL the OS involved in loading the required packages. When a designtime package (that you want to install) is referencing the runtime package (it can also be a single package runtime + designtime) the OS (Windows) must locate it. Setting the search path will not resolve the bug. -
Recently (maybe D11) they've changed if a part of code is inactive the conditional symbol is not active the conditional code sections are greyed out. I'm not sure if that introduced this bug or something else. Of course after I have restarted the IDE it's working ok.
-
FYI - Several Embarcadero services are currently unavailable
Lajos Juhász replied to Keesver's topic in General Help
any proof? -
Delphi 12: The Embarcadero Gelt server could not be reached...
Lajos Juhász replied to PeterPanettone's topic in Delphi IDE and APIs
It's top secret. In case of docwiki we can get a backtrace: #0 /var/www/html/shared/BaseWiki31/includes/libs/rdbms/loadbalancer/LoadBalancer.php(1134): Wikimedia\Rdbms\Database->reportConnectionError('Connection time...') #1 /var/www/html/shared/BaseWiki31/includes/libs/rdbms/loadbalancer/LoadBalancer.php(749): Wikimedia\Rdbms\LoadBalancer->reportConnectionError() #2 /var/www/html/shared/BaseWiki31/includes/GlobalFunctions.php(2801): Wikimedia\Rdbms\LoadBalancer->getConnection(0, Array, false) #3 /var/www/html/shared/BaseWiki31/includes/cache/localisation/LCStoreDB.php(45): wfGetDB(-1) #4 /var/www/html/shared/BaseWiki31/includes/cache/localisation/LocalisationCache.php(412): LCStoreDB->get('en', 'deps') #5 /var/www/html/shared/BaseWiki31/includes/cache/localisation/LocalisationCache.php(458): LocalisationCache->isExpired('en') #6 /var/www/html/shared/BaseWiki31/includes/cache/localisation/LocalisationCache.php(334): LocalisationCache->initLanguage('en') #7 /var/www/html/shared/BaseWiki31/includes/cache/localisation/LocalisationCache.php(371): LocalisationCache->loadItem('en', 'magicWords') #8 /var/www/html/shared/BaseWiki31/includes/cache/localisation/LocalisationCache.php(292): LocalisationCache->loadSubitem('en', 'magicWords', 'tree') #9 /var/www/html/shared/BaseWiki31/languages/Language.php(3177): LocalisationCache->getSubitem('en', 'magicWords', 'tree') #10 /var/www/html/shared/BaseWiki31/includes/MagicWord.php(352): Language->getMagic(Object(MagicWord)) #11 /var/www/html/shared/BaseWiki31/includes/MagicWord.php(280): MagicWord->load('tree') #12 /var/www/html/shared/BaseWiki31/includes/parser/Parser.php(4848): MagicWord::get('tree') #13 /var/www/html/shared/BaseWiki31/extensions/TreeAndMenu/TreeAndMenu_body.php(24): Parser->setFunctionHook('tree', Array) #14 /var/www/html/shared/BaseWiki31/includes/Setup.php(948): TreeAndMenu->setup() #15 /var/www/html/shared/BaseWiki31/includes/WebStart.php(88): require_once('/var/www/html/s...') #16 /var/www/html/shared/BaseWiki31/index.php(39): require('/var/www/html/s...') #17 {main} The quality portal have only a generic error message: Sorry, an error occurred trying to log you in - please try again. For getit also only generic error message that it failed to load data. -
Delphi 12: The Embarcadero Gelt server could not be reached...
Lajos Juhász replied to PeterPanettone's topic in Delphi IDE and APIs
It is most probably since Friday. There are posts on this server about the new trend that embarcadero likes to take the servers down. (If you can not download you cannot complain about the bugs.) -
When the quality portal is online you can create a ticket. Maybe one day Embarcadero can deliver a descent welcome page.
-
How do I terminate a thread that doesn't have an Execute method ?
Lajos Juhász replied to dormky's topic in Algorithms, Data Structures and Class Design
You cannot terminate the thread while it's blocked by sleep. +1 for SimpleEvent and Waitfor. -
You cannot add a property without a new class. If you don't want to extend the component you can store the additional information in a dictionary or in other data structure.
-
I've tested: uses MMSystem; procedure TForm1.Timer1Timer(Sender: TObject); begin sndPlaySound('C:\Windows\Media\Tada.wav', SND_NODEFAULT Or SND_ASYNC); end; no problems.
-
I believe it was starting with 11 and "enhanced" in 12. I know that they wrote 12 should be much better than earlier versions.
-
You install them as any other component. First you compile the runitme packages then the designtime and install them.
-
Issue with Color Names Overlay in Object Inspector
Lajos Juhász replied to Shrinavat's topic in Delphi IDE and APIs
If you enter a bug report without a test case they will close it as works as expected, I've been there a couple of times. Even if you submit a reproducible case the bug can stay opened for a decade. -
Issue with Color Names Overlay in Object Inspector
Lajos Juhász replied to Shrinavat's topic in Delphi IDE and APIs
I sometimes also get a bug that the selected property shows a value of a different property. I cannot enter a bug report as it's impossible to find out when that can happen. Also search in D12 is working even worse than in Delphi 11.2, here also I have had no time to create an example. I hope we can get a fix for some issues soon as we're moving to beta phase of our application. -
In my opinion It's not a standard Delphi file, you've installed something that creates them. I am using VCL and tried to create an empty fmx file none has produced a file with a dsv extension.
-
In order to work with jpg image format you must add the jpeg unit to your uses. IF you add a TImage named imgName then you can write: imgName.Picture.LoadFromFile('D:\Delphi_11_Community\MyProjects\Dinobase\dino_images\'+ sName + '.jpg');
-
Delphi 12 IDE, cannot create regions
Lajos Juhász replied to A.M. Hoornweg's topic in Delphi IDE and APIs
How? It's broken for days (there is a thread on this forum, you get an: Error creating issue: Could not load FunctionProvider class). -
Delphi 12 IDE, auto-formatter mutilates generics
Lajos Juhász replied to A.M. Hoornweg's topic in Delphi IDE and APIs
Do not try the formatter in source where you've multiline string. They should deprecate also the IDE editor it can't cope with the code. I've a section in my code that I cannot edit inside the IDE (a class with inner types).