-
Content Count
1936 -
Joined
-
Last visited
-
Days Won
25
Everything posted by Attila Kovacs
-
Check if database table string field is empty or NULL??
Attila Kovacs replied to Ian Branch's topic in General Help
Then it's a lie. -
Check if database table string field is empty or NULL??
Attila Kovacs replied to Ian Branch's topic in General Help
what the actual f VAR(n) is? -
Check if database table string field is empty or NULL??
Attila Kovacs replied to Ian Branch's topic in General Help
if it's a string field then you can check against empty string => .AsString = '' , both, empty string and NULL will be true (side note: you can set a field to NULL with ".Clear", if it's a nullable field) -
How to open a file in the already running IDE?
Attila Kovacs replied to aehimself's topic in Delphi IDE and APIs
I don't think so. The opposite. My version is more efficient as it only talks to BDE instances. I don't care DDE, neither other apps, it's just for BDE. -
Actually the way how AI will kill mankind is not like in terminator or co., but a copy pasted AI code into some nuclear reactor code or similar 😛
-
Delphi 11.1 + patches - No debug source / breakpoints?
Attila Kovacs replied to Lars Fosdal's topic in Delphi IDE and APIs
I tried to look up this for you and as I changed the remote debugging settings it screwed up my custom Version info what I'm using for building the database connection so I had to restore the dproj from a backup as I could not get it work again. You are on your own now. -
Delphi 11.1 + patches - No debug source / breakpoints?
Attila Kovacs replied to Lars Fosdal's topic in Delphi IDE and APIs
Last one, did you restart your PC after installing the IDE? 🙂 -
Delphi 11.1 + patches - No debug source / breakpoints?
Attila Kovacs replied to Lars Fosdal's topic in Delphi IDE and APIs
-
Delphi 11.1 + patches - No debug source / breakpoints?
Attila Kovacs replied to Lars Fosdal's topic in Delphi IDE and APIs
ok, well, I'd try clean/build or remove the .dproj and reconfigure the project.. is this the only one IDE installed on that machine? -
Delphi 11.1 + patches - No debug source / breakpoints?
Attila Kovacs replied to Lars Fosdal's topic in Delphi IDE and APIs
and they are debug dcu's? (Use debug .dcus) -
I have it for two reasons, first, ppls. manual input is messy, second, if they copy-paste from websites it can be a strange thing in the edit field and they don't look.
-
It's a very-very bad suggestion. You should read an article how not to get into a spam db. First, you have to avoid sending emails to malformed email addresses. Nope. Also, there is a difference between private/non ~ emails, first / second+ contact, etc....
-
there is a PCRE regex in newer Delphi releases, yes, at some degree it will work
-
\p{L}+([-+.']\p{L}+)*@\p{L}+([-.]\p{L}+)*\.\p{L}+([-.]\p{L}+)*$ the devanagari fails
-
How to open a file in the already running IDE?
Attila Kovacs replied to aehimself's topic in Delphi IDE and APIs
I can't imagine what would take so long to load, opened datasets on the forms? Anyway, I can't reproduce, it opens everything just fine. The messages are the very same at the end of the day, you can log it yourself with spy++. -
How to open a file in the already running IDE?
Attila Kovacs replied to aehimself's topic in Delphi IDE and APIs
Nah, at the end user32.dll also using the windows messages so I'm pretty happy using as little dde@user32 as possible. But thx anyway, maybe others finding it useful. -
I don't believe you a word. You can't even debug. You are just trolling us.
-
Well, not much left, either hook it runtime or put your own Dialogs.pas / Vcl.Dialogs.pas into the project dir. Don't forget to implement the needed methods first.
-
Include External Text Files in Output Folder
Attila Kovacs replied to Jeff Steinkamp's topic in General Help
Just for curiosity, why don't you just copy the 4 files into the output folder manually and move on? -
CardForm := TCardForm.Create(Self)
-
How to open a file in the already running IDE?
Attila Kovacs replied to aehimself's topic in Delphi IDE and APIs
great! you can remove that comment in the middle 🙂 -
How to open a file in the already running IDE?
Attila Kovacs replied to aehimself's topic in Delphi IDE and APIs
@aehimself great work, nice catch. would you make a QC report? -
How to open a file in the already running IDE?
Attila Kovacs replied to aehimself's topic in Delphi IDE and APIs
hehe, suddenly, the results of "UnpackDDElParam" make sense 😉 so looks like it can be done without it and without FreeDDElParam and without the reimport edit: almost The lParam parameter of the posted DDE message that was received. The application must free the memory object specified by the lParam parameter by calling the FreeDDElParam function. - -
How to open a file in the already running IDE?
Attila Kovacs replied to aehimself's topic in Delphi IDE and APIs
pLo, pHi: UIntPtr; .. if UnpackDDElParam(AMsg.msg, AMsg.lParam, @pLo, @pHi) then .. GlobalUnlock(pHi); GlobalFree(pHi);