-
Content Count
139 -
Joined
-
Last visited
-
Days Won
1
Everything posted by microtronx
-
I had the same experience in the beginning. After encountering the initial issues, I decided to reinstall all third-party components (TMS, DevExpress, etc.), and now everything is running smoothly without any problems. You might want to try reinstalling those components as it could resolve the access violations and debugging issues you're facing.
-
Delphi 12.1 : Freezed during words search
microtronx replied to gioma's topic in Delphi IDE and APIs
I've been dealing with this issue for years, even before Delphi 11, and it's incredibly frustrating—especially when it happens after I forget to save my work. -
What do you think of "Local Global variables"
microtronx replied to Tommi Prami's topic in RTL and Delphi Object Pascal
I use them sometimes but I ensure that all variables and constants in local procedures have a _ as prefix procedure Main(); var vmyString:string; procedure _one(); begin vmyString:=vmyString+'_def'; end; procedure _two(const _var:string); begin vmyString:=vmyString+' : '+_var; end; begin vmyString:='abc'; _one(); _two( copy(vmyString,1,3) ); end; -
Hi All, If we have a XML element in an XML-file with more than 32k size, we got a RangeError in delphi. I tried to write a issuereport on https://github.com/kattunga/NativeXml/issues/9 but it seems that this page is not active. has someone a better solution than following lines: function TsdBufferWriter.Write(const Buffer; Count: Integer): Longint; var Idx, Siz: integer; begin // index in the source buffer Idx := 0; // remaining size Siz := Count; while FRawPosition + Siz >= FChunkSize do begin Move(TByteArray(Buffer)[Idx], FRawBuffer[FRawPosition], FChunkSize - FRawPosition); WriteChunk(FChunkSize); dec(Siz, FChunkSize - FRawPosition); inc(Idx, FChunkSize - FRawPosition); FRawPosition := 0; end; // copy the raw buffer Move(TByteArray(Buffer)[Idx], FRawBuffer[FRawPosition], Siz); inc(FRawPosition, Siz); Result := Count; end; It seems that this works only for a speficic datasize. Any ideas / hints to make it better?
-
It seems one of the declared variables as :integer was the problem. Changing all "integer" vars to "longint" and the problem is gone somehow
-
Wohoo - crazy stuff ...
-
We have been utilizing ReportBuilder for over a decade and have never encountered any insurmountable issues. The support provided is commendable, and we have successfully developed numerous additional features for their "RAP" - the runtime scripting engine to create functionalities for our special needs.
-
Ann: TsiLang Components Suite v7.9.5 with ChatGPT integration is here!
microtronx replied to Igor Sitikov's topic in Delphi Third-Party
Your ChatGPT extension is working very very good. Thanks Igor. -
ANN: HelpNDoc 8.6 is available Introducing a Powerful Non-Destructive Multi-Layered Image Editor, and more...
microtronx replied to HelpNDoc's topic in Delphi Third-Party
Hi John, is any discount for us / Delphi users available? -
Yes I know, but I was unable to fully comprehend the question.
-
simply change your line from x := StrToInt('x'); to x := StrToInt(inttostr(x)); crazy, but will work. But I do not understand why someone would do this
-
Can Delphi set session data in opening a webpage?
microtronx replied to PiedSoftware's topic in Network, Cloud and Web
Yes, look at tidHTTP and its CookieManager property (tidCookieManager). I think there are some examples out there. -
Can Delphi set session data in opening a webpage?
microtronx replied to PiedSoftware's topic in Network, Cloud and Web
Normally Sessiondata is stored in cookies and yes you can handle them with delphi -
1. try: Updated with Webinstall ... started doing something, uninstalled getit packages and delphi, installed delphi and registered some dlls + closed setup ... Starting Delphi does not show anything. 2. try: Same with ISO-install 3. uninstalled manually everything, deleted everything from delphi from install-path and started ISO install again ... now successful
-
Hi guys, is there anyone who has used the Firebase Crashlytics SDK within a Delphi 11 App? I found Kastri with Firebase Analytics which works now ... I see the app in the Firebase Analytics console but I was not able to activate also the Crashlytics. Possible that someone has done this and can point me into the right direction.
-
Hi Ian, on our mainapp we have one tDataModule with tEngine, tSession but we create all other tTables and tQuery etc. in runtime on each form. This is different when we have threads: for each thread, we create a seperate tSession
-
asmprofiler - Freeware Profiler for Delphi saved my day - Thanks
microtronx posted a topic in Tips / Blogs / Tutorials / Videos
Thank you very much @AndreMussche. Your https://github.com/andremussche/asmprofiler has saved my day ... my week ... after searching the bug and not finding it by myself ... and a "not working AQ..." demo 😉 I found your project! What a good coincidence! Don't know, if others know your work .. but they definitely should! Very good job! Thanks again! -
Better way to maintain a list in a database table??
microtronx replied to Ian Branch's topic in General Help
If your entries can be saved within a varchar field, I would use a table with at least these fields: id - autoinc type - varchar name - varchar With such a table, you can filter by type ... use this list/lookup in different areas and add / delete entries as needed. Adding i.e. a field "sorted" (integer) would makes it possible to order them in your list as needed. -
Hi Angus, there is no possibility to download the tMagRas component sources ... or I was not able to find that page 😉
-
Create multiple instances of tApplication with multiple MainThreads?
microtronx posted a topic in VCL
Hi Folks, is it possible to have multiple MainThreads with multiple tApplication instances within one application? Something like this: procedure TForm2.bNewApplicationFormClick(Sender: TObject); var vapplication:tApplication; vNewForm:tForm2; begin IsMultiThread:=true; vApplication:=tApplication.Create(nil); vapplication.Initialize; vapplication.MainFormOnTaskbar := True; vapplication.CreateForm(TForm2, vnewform); vapplication.Run; end; I'm searching for a way, having multiple forms with different MainThreads in runtime instead of having multiple application-instances (exe files) started. -
Create multiple instances of tApplication with multiple MainThreads?
microtronx replied to microtronx's topic in VCL
Yes cxgrid can be configured, but if you need the grid in GridMode=FALSE to use special functionality (filtering, grouping, sorting, etc) the grid needs to load all data ... and this makes it harder for us. thanks for you suggestion. -
Create multiple instances of tApplication with multiple MainThreads?
microtronx replied to microtronx's topic in VCL
Main reason is to have multiple forms not "blocking the whole app" i.e. when the cxgrid refreshes data ... This cannot be done in a background thread and we're working with a lot of tables / rows at the same time from different forms. -
Create multiple instances of tApplication with multiple MainThreads?
microtronx replied to microtronx's topic in VCL
@all Thanks for your clarifications. Now I accept "No." -
Create multiple instances of tApplication with multiple MainThreads?
microtronx replied to microtronx's topic in VCL
Since we're all crazy programmers ... is "No" acceptable? Any explanation of why No? -
I would open both files with notepad++ and save them / convert them to "windows CR LF" and "ANSI" and try it again with delphi.