FredS
-
Content Count
408 -
Joined
-
Last visited
-
Days Won
4
Posts posted by FredS
-
-
7 hours ago, dkprojektai said:Asking for advice quicker solution.
I wrapped most Alter statements into a 'SQL.Patching.pas' unit which fires what is needed depending on a version field at startup.
Found the simplest way was to make all changes and then use Beyond Compare on the db creation script to generate an output which is used to call the methods in the Patching unit. -
13 hours ago, mikerabat said:MachineGuid
I've seen that change when the Windows license is changed.
-
Maybe you need to open the port in the Firewall(s)..
-
3 hours ago, ParodiusX said:that’s not the problem
Adding this to the unit worked for me:
{$RANGECHECKS OFF}
-
5 hours ago, Vandrovnik said:ldapsend.pas
9 minutes ago, Lainkes said:there I don't know
I don't use that unit, you'll need to figure out how searches are made using it.
-
1 hour ago, Lainkes said:retrieve a field
Use
ldap_search_sW
-
-
22 hours ago, Silver Black said:native simple bookmarks
Sure, sometimes I use Notepad++ bookmarks and its Editor.. 🙂
- 1
-
-
51 minutes ago, mvanrijnen said:expose only in larger projects
Or when you start using some of the IDE features meant to help you manage large projects..
-
11 hours ago, Anders Melander said:I always have to answer the challenge 3 times
I just type garbage for the first two now, then try and read that idiotic picture on the third one..
-
55 minutes ago, Ian Branch said:Something changed under-the-hood from D10.4 to D11.
RSP-35486 TRttiField.SetValue breaks past bevaviour with Null and String
- 1
- 3
-
5 hours ago, Nasreddine said:will freeze the app waiting
Not if you you code it to respond to the
Classes.SyncEvent
: https://stackoverflow.com/a/610224492 hours ago, Nasreddine said:block current execution while pumping the message queue,
I use both, in one case I have many threads collecting data and triggering updates to a form while getting ready to launch another Task I don't want to pause the updates so a call gets wrapped in an Async which uses the trick above.. but I try to only do that for single calls that are guaranteed to take a short time.
-
This scenario doesn't sound like it needs Async at all.
- Start a thread with an OnTerminate Event
- Disable all user input and show a busy signal
- When the thread completes the event fires and all reverts back to normal
For the few cases that Async is needed there is `MsgWaitForMultipleObjects`..
-
54 minutes ago, Silver Black said:Now I got re-used to the old Delphi IDE bookmarks
Notepad++ next 🙂
- 2
-
Nearly all forms I show modal return a result.
At the most basic level all these forms are inherited from one base form which has this code:class function TBaseDialogForm.ShowDialog(AOwner: TComponent): Boolean; begin with Create(AOwner) do try Result := ShowModal = mrOK; finally Free; end; end;
class function ShowDialog(AOwner: TComponent): Boolean; virtual;
- 1
-
7 hours ago, Lars Fosdal said:<crickets>
Maybe looking for a third MVP to help out 🙂
-
To paraphrase a post; it now takes two MVPs to update a plug-in for D11 HighDPI..
- 1
-
2 hours ago, Darian Miller said:Refactoring can break, code formatting breaks, debugger gets confused...
Sure, its only been what.. well under a decade 🙂
-
5 hours ago, pcoder said:The harddisk can get fully occupied by system activities and thus blocks user processes
Explains some complaints I've heard..
-
8 hours ago, Serge_G said:If it's a vote
I use Flamerobin
Always loved Flamerobin, one of the best functions in Flamerobin is their quick way to 'Generate rebuild script'..
-
2 hours ago, Der schöne Günther said:It is what happens when the application that called ShellExecute did not provide a HWND of a foreground window. What is the value of your
I also ran a couple of tests and it made no diff; Zero, GetDesktopHandle, GetActiveWindow, Application.Handle and Mainform.handle all appeared as normal.
-
5 hours ago, mvanrijnen said:Would be nice if they would patch 10.4.x
Be happy with what you've got 🙂
-
13 minutes ago, Silver Black said:I don't want to disable it
My point was that your user can disable it which is why it may show up as you first described.
Secondly, if an option can be set it can be read, that way at least you would be able to alert the user that such a thing might occur..
Solution to compare mysql schema via sql file
in Databases
Posted
I can show you an example but most of my code uses internal stuff.
But let me make one thing clearer; the action after Beyond Compare is manual NOT automatic..
In short, after comparing the prior db creation script with the new one methods within the Patching unit are called manually..
This example increase the Size of a [N]Varchar Column using UniDAC, FB3/4 and SqlServer dbs: