How to upload files to google drive using delphi...plaese any one help me
Posts
Showing posts from August, 2016
A big thank you to Warren Postma for reviewing our Nexus Quality Suite!
- Get link
- X
- Other Apps
Stupid question?
- Get link
- X
- Other Apps
Stupid question? This is the first time I have created a package in Delphi 10.1, so I did everything I used to do before. I have : 1. My DPK has been created. 2. I have added all the units into my DPK. ( They are derived from DevExpress components, as we need to subclass ) 3. I have added a Register in there ( see screen shot ) I can build the BPL, but I cannot install it I get an error ( see screen shot ). If anyone can explain to me just how stupid I am I would be eternally grateful
hello
- Get link
- X
- Other Apps
hello, I'm trying to use a class helper to replace a public method from a base class and to add other methods. If the base class method has no operators then the patch works, the code calls the function of the class helper (same function name and parameters). In my case the base class function has a override directive, from another ancestor class with virtual, abstract method. In this case the code calls the function method of the base class instead of the helper one. Any hint? It's a bug or a bad behavior?
I wrote this as a reply to another post where there was some discussion about StackOverflow (SO), and decided to post it separately so as to not continue to distract from the topic of the original thread. Please don't waste your time responding with TL;DR, just ignore it if you're happy with the world the way it is. The problem I'm addressing here is that there ARE NO USEFUL DISCUSSIONS about this topic anywhere, especially on SO because self-reflective topics like this are not allowed on SO.
- Get link
- X
- Other Apps
I wrote this as a reply to another post where there was some discussion about StackOverflow (SO), and decided to post it separately so as to not continue to distract from the topic of the original thread. Please don't waste your time responding with TL;DR, just ignore it if you're happy with the world the way it is. The problem I'm addressing here is that there ARE NO USEFUL DISCUSSIONS about this topic anywhere, especially on SO because self-reflective topics like this are not allowed on SO. Personally speaking, I see SO as a "crowdsourced help desk". There's a class of problems that come up where you can clearly define an error and how to reproduce it. However, there's a far LARGER class of topics where things just don't go the way you expect and you want some help figuring out what's wrong -- sometimes it's your code, sometimes it's your expectations, and sometimes it's just confusing behavior due to changes from one version of Delph...
I am using XSuperObject to create some JSON to be used in JQuery. This is an options list and for the most part it is fine. However, I am trying to get it to produce the function parameter correctly, and failing dismally. What I need is a raw string type property so that it doesn't escape quotes and doesn't surround the value with quotes either . At the moment I am adding it as a string type (ISuperObject.S['name'] := Value). It is producing
- Get link
- X
- Other Apps
I am using XSuperObject to create some JSON to be used in JQuery. This is an options list and for the most part it is fine. However, I am trying to get it to produce the function parameter correctly, and failing dismally. What I need is a raw string type property so that it doesn't escape quotes and doesn't surround the value with quotes either . At the moment I am adding it as a string type (ISuperObject.S['name'] := Value). It is producing "click":"function() { $(this).dialog(\"close\"); $(this).html = \"\";}" when I need "click":function() { $(this).dialog("close"); $(this).html = "";} any ideas (rather than StringReplace)? Thanks
Trick question: what is wrong with that code? (apart from obviously being useless) - and it compiles and runs. Also not talking about some syntax preferences.
- Get link
- X
- Other Apps
Trick question: what is wrong with that code? (apart from obviously being useless) - and it compiles and runs. Also not talking about some syntax preferences. procedure Main; var arr: array of string; i: Integer; begin SetLength(arr, 100000); for i := 0 to High(arr) do arr[i] := 'Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.'; end;
The JSVerbalExpressions has been very cool to me at first sight few years ago - It does what Regular Expression does, but is *much human-friendly* . The Good news is, today I came across a Delphi implementation, by Tim, from Jena, Germany!
- Get link
- X
- Other Apps
The JSVerbalExpressions has been very cool to me at first sight few years ago - It does what Regular Expression does, but is *much human-friendly* . The Good news is, today I came across a Delphi implementation, by Tim, from Jena, Germany! Usage example: var LobjVerbalExpression : TVerbalExpression; begin LobjVerbalExpression := TVerbalExpression.Create .StartOfLine() ._Then('http') .Maybe('s') ._Then('://') .Maybe('www.') .anythingBut(' ') .endOfLine(); ListBox1.Items.Add(LobjVerbalExpression.AsString); if LobjVerbalExpression.Test(' https://github.com ') then ListBox1.Items.Add('valid url') else ListBox1.Items.Add('invalid url'); end; https://github.com/enko/DelphiVerbalExpressions
i need help using listview custom
- Get link
- X
- Other Apps
i need help using listview custom, i didnt know why this crash, read some sample using FilledListItem on binding, but i always get crash, any help, sample include here listview_always_buggy delphi berlin procedure TForm1.LinkListControlToField1FilledListItem(Sender: TObject; const AEditor: IBindListEditorItem); var LItem: TListViewItem; begin if AEditor.CurrentIndex > 0 then begin LItem := ListOrder_H.Items[AEditor.CurrentIndex]; LItem.Objects.DetailObject.Font.Size := 10; // crash here LItem.Objects.AccessoryObject.Visible := False; LItem.Objects.TextButton.Enabled := False; LItem.Objects.TextButton.Visible := False; if FDMemTable1.Active = True then if FDMemTable1.RecordCount > 0 then begin if FDMemTable1.FieldByName('validasi_terkirim').AsString '' then begin LItem.Objects.AccessoryObject.Visible := False; LItem.Objects.TextButton.Enabled := False; LItem.Object...
At the upcoming events in September
- Get link
- X
- Other Apps
At the upcoming events in September (see http://www.tmssoftware.com/site/blog.asp?post=358 ), Bruno Fierens takes up the challenge to fully code live a fancy trackbar control from scratch in less than 20 minutes and working in 3 frameworks (VCL/FMX/LCL), 3 IDEs (Delphi/C++Builder/Lazarus) and 6 operating systems (Windows, macOS, iOS, Android, Linux desktop, Raspbian) http://www.tmssoftware.com/site/img/fnctrackbar.gif Come & see it! http://www.tmssoftware.com/site/img/fnctrackbar.gif
TL;DR: What data structure should I use for looking up key-value pairs where the key needs to fall within a range?
- Get link
- X
- Other Apps
TL;DR: What data structure should I use for looking up key-value pairs where the key needs to fall within a range? I'm looking for something like a TDictionary but with a twist. I have a HexEditor with lines, say 8 bytes per line (this can and does differ though). Any byte within the memblock displayed by the hexeditor can have a comment. I thought about storing the comments in a TDictionary however that will not work, because I need to lookup if the comment falls within a range and a Dict only matches on exact matches. The range can change dynamically so I can't link to that either. I don't want to do a query to the Dict for every byte in a line. I suspect the answer is "binary tree" but I'm hoping for something a bit more O(1)ish. (I'd ask the question on SO, but it's off-topic there).
Why is the EMB registered user downloads still down, it has been like this for weeks?
- Get link
- X
- Other Apps
Why is the EMB registered user downloads still down, it has been like this for weeks? Also not so important, but why when entering the EMB youtube site, does EMB still play the "See What’s new in Delphi, C++Builder and RAD Studio 10 Seattle" . What about Berlin? Does not give users a very good impression.
Blog post "Linux Just Turned 25 and Delphi is Coming to Celebrate" at http://blog.marcocantu.com/blog/2016-august-linux-25-delphi-coming.html (with 2 preview screenshots)
- Get link
- X
- Other Apps
Several major product updates are available now in the TMS Business Subscription! What's new & improved: http://www.tmssoftware.com/site/forum/forum_posts.asp?TID=6930&PID=26785#26785
- Get link
- X
- Other Apps
Several major product updates are available now in the TMS Business Subscription! What's new & improved: http://www.tmssoftware.com/site/forum/forum_posts.asp?TID=6930&PID=26785#26785 TMS Business Subscription ( http://www.tmssoftware.com/site/bipack.asp ) : add business intelligence to applications and application development with VCL frameworks, libraries, components to automate & streamline development as well as use of applications. From ORM framework to dynamically extending applications with scripting tools, TMS Business Subscription makes the developer & user more productive. http://www.tmssoftware.com/site/forum/forum_posts.asp?TID=6930&PID=26785#26785
I did not know Delphi 6?, 7? or 8? introduced operator overloading for variants via TCustomVariantType?
- Get link
- X
- Other Apps
Do I need a splash screen?
- Get link
- X
- Other Apps
Do I need a splash screen? In my app, I have a splash screen and then the main window opens. Recently I am questioning whether it is really needed. While splash screen is on, I do some work with license verification, database setup etc but all these can be done when the main window is open. What do you thing? Thanks
I have been trying to use the TJvFileOperation from JvFileUtil.
- Get link
- X
- Other Apps
Help with DLL
- Get link
- X
- Other Apps
Help with DLL Hi all, I am trying to access a function in C from a DLL. The function is defined like this: int32_t __cdecl AnalyseFile (STRCTYPE filename); and STRCTYPE is defined as LPCWSTR in C. How do I declare this in Delphi? I tried this but ti doesn't seem to work: function AnalyseFile(newPath: PWideChar): LongWord; cdecl; and I call it like this: AnalyseFile(PWideChar('Mypath')); Anyone can spot what I am doing wrong? Thanks UPDATE: I had mistakenly written that the initial C declarion was stdcall instead of cdecl. I correct it now
I am indicating the #Delphi Starter Edition to some people but they are unable to register. The Key is invalid!
- Get link
- X
- Other Apps
Is there a way to convert 'array of const' (open array) to TValue?
- Get link
- X
- Other Apps
Is there a way to convert 'array of const' (open array) to TValue? For example, I want to call SysUtils.Format function using System.RTTI.Invoke which requires function arguments to be passed as TArray . I tried type TVArray = array of TVarRec; ... a[1] := TValue.FromArray(TypeInfo(TVArray), [TValue.From (100)]); System.Rtti.Invoke(@format, a, ccReg, TypeInfo(string)); but it leads to 'Invalid class typecast' when convering array values inside Invoke.
I have been asked by the folks at work to recommend a Delphi profiler.
- Get link
- X
- Other Apps
Ann: Nexus Quality Suite CodeWatch and 64 bit update
- Get link
- X
- Other Apps
Ann: Nexus Quality Suite CodeWatch and 64 bit update We are happy to announce a significant update to our quality assurance and profiling product suite. The following items are new in the latest v1.60 release: - CodeWatch is back! The long awaited return of the memory and resource leak, and Windows API validation tool, is here! - BlockTimer and LineTimer profilers now support profiling of 64 bit targets - CoverageAnalyst now support analyzing 64 bit targets - NexusDB Memory Manager is now bundled with NQS, providing you with the best high-performance memory manager for your multi-thread applications. See our web site for details: http://www.nexusdb.com/support/index.php?q=qualitysuite The Nexus Quality Suite (NQS) is a set of tools that enables you to finetune your applications to the highest possible performance and quality standards. The current collection of tools include three profilers (Method level, Block level, and Line level), a unit test coverage analyzer, a memory/resource le...
From JediVcs to Git (It's possible !)
- Get link
- X
- Other Apps
From JediVcs to Git (It's possible !) Hi everybody, a few months ago, I asked for the best way to migrate from JediVcs to Git. the answers I got were not satisfying, I was told to create a new repository from now on and to keep JediVcs for history but I wanted to have all my history in one repository. Today, we did the migration and if someone is interested, here is the story : the facts : - I use JediVcs since 2002 and I want only one tool to keep all my history (11600 checkins). - JediVcs works with projects and shared modules and Git works with Directories (Repository), - the Git module between projects is not very easy to use, So after doing some research, I did the following - write a Delphi tool to convert the JediVcs data into a git fast-import format, - use one repository for all the projects and shred modules, - keep all the checkins from the history as one commit per day and per user. Now we have : - one repository which we access with Sourcetree or Git Extensions or any ...
Chetu's #DelphiProgrammingServices from Concept to Code. For details, visit: http://goo.gl/4vwzr7
- Get link
- X
- Other Apps
A new blog has been posted about our presence at several upcoming events in Europe: September ... a busy 'event' month at tmssoftware: http://www.tmssoftware.com/site/blog.asp?post=358
- Get link
- X
- Other Apps
Why Delphi (like other developer environments) natively not included full call stack for every exception?
- Get link
- X
- Other Apps
Did anyone try canvas drawing in FMX for iOS and Android target? Please let me know if this is supported or you know any work around.
- Get link
- X
- Other Apps
Did anyone try canvas drawing in FMX for iOS and Android target? Please let me know if this is supported or you know any work around. 1. How to fill a path using Winding and Alternative modes? 2. Canvas.Stroke.Join, Canvas.SetCustomDash, Canvas.Stroke.Cap methods seems to have no effect on iOS and Android. Code snippet: var LDash: array [0 .. 1] of Single; LBitmap: TBitmap; LPath: TPathData; begin LBitmap := TBitmap.Create(500, 500); LPath := TPathData.Create; LBitmap.Canvas.BeginScene(); LBitmap.Canvas.Clear(ClAWhite); LBitmap.Canvas.Stroke.Color := ClABlack; LBitmap.Canvas.StrokeThickness := 30; LDash[0] := 3; LDash[1] := 2; LBitmap.Canvas.StrokeDash := TStrokeDash.sdCustom; LBitmap.Canvas.Stroke.Dash := TStrokeDash.sdCustom; LBitmap.Canvas.SetCustomDash(LDash, 2); LBitmap.Canvas.Stroke.Join := TStrokeJoin.sjRound; LPath.MoveTo(PointF(100, 100)); LPath.LineTo(PointF(400, 400)); LPath.LineTo(PointF(100, 400)); LPath.LineTo(PointF(400, 100)); LB...
Hello community! With recent release of C++ Builder/Delphi Starter editions for free (during Boot Camps) we have updated our tool RAD & Installer so now it supports Starter editions too!
- Get link
- X
- Other Apps
Hello community! With recent release of C++ Builder/Delphi Starter editions for free (during Boot Camps) we have updated our tool RAD & Installer so now it supports Starter editions too! RAD & Installer is feature rich expert for creating NSIS and Inno Setup installers directly from IDE. Official website & download: http://www.rad-installer.com
I can't reach GetIt from my personal machine.
- Get link
- X
- Other Apps
I can't reach GetIt from my personal machine. My work machine? No problem. But with my personal machine, it times out every time. Searched for differences, but I haven't found anything significant other than my work machine is Seattle only and my personal machine is Berlin only. I've checked my proxy settings. I've poked all around my network settings. Everything seems in order. Anyone have any ideas what is blocking me?
Hi all
- Get link
- X
- Other Apps
Hi all, I'm looking to hunt down a bug & I could do with a little advice? I'm getting an Access Violation when the InstHashMap singleton finalizes. More specifically in TMonitor.Destroy the Access Violation occurs on the following line (#18089 in Berlin): if (MonitorSupport nil) and (FLockEvent nil) then The pointer "FLockEvent" is not NIL, but clearly doesn't have a valid pointer. This problem has occurred since I added an FMX form & associated code to this VCL application. I've tried to replicate the problem in a test application, but (as you might guess) the problem doesn't occur, because all the FLockEvents are NIL during finalization. I don't really know enough about this topic -- so I'd be interested to know what sort of code would produce a non-nil pointer in a TMonitor in a TInstBucket in the InstHashMap singleton? In other words, what should I be doing to provoke this? What sort of code should be looking for in the origin...
JEDI libraries now in GetIt Package Manager
- Get link
- X
- Other Apps
I installed free Delphi 10.1 Berlin Starter I used GetIt Package Manager to search for JEDI libraries and could not find although http://community.embarcadero.com/blogs/entry/jedi-libraries-now-in-getit-package-manager states it suppose to be there Any help ? http://community.embarcadero.com/blogs/entry/jedi-libraries-now-in-getit-package-manager
From Delphi License: "Licensee agrees not to use the Product to develop an application that is directly competitive to the Product or to any other Embarcadero products". Is that legal in EU law? It breaks basic freedom.
- Get link
- X
- Other Apps
From Delphi License: "Licensee agrees not to use the Product to develop an application that is directly competitive to the Product or to any other Embarcadero products". Is that legal in EU law? It breaks basic freedom. Marco Cantù Is that mean no FPC/Zeos/mORMot development with Delphi (and most of OpenSource I think)? Even Delphinous package from Alexander Benikowski is illegal in that case (competitive to the GetIt).
With all those people looking into a Starter, i added support for this Edition. At least to some degree ;)
- Get link
- X
- Other Apps
Hi
- Get link
- X
- Other Apps
Hi i'm trying to run CMD keep it running and pass parameters to it tired this begin ShellExecute(Handle, nil, 'cmd.exe',' /K "C:\pgsql\bin\pg_ctl" -D "C:\pgsql\bin\/data" -l logfile start', nil, SW_SHOWNORMAL); end; i got the error: "filename directory name or volume label syntax is incorrect" i also tried : var Source : string; begin Source := Trim( '/K "C:\pgsql\bin\pg_ctl" -D "C:\pgsql\bin\data" -l logfile start'); ShellExecute(Handle, nil, 'cmd.exe', PChar(Source) , nil, SW_SHOWNORMAL); end; got the same error
Delphi Berlin, blank android project, non-blocking input dialog with anonymous method.
- Get link
- X
- Other Apps
Delphi Berlin, blank android project, non-blocking input dialog with anonymous method. Thanks to point me to what's wrong with this code: if I click on dialog Cancel button my app crashes trying to access default value instead of my input (tested on two devices) No differences using a valorized ADefault parameter or not calling that input dialog from OnShow event of the main form.
#CAD , #CADVCL
- Get link
- X
- Other Apps
#CAD , #CADVCL Try out SDK for developing software in Delphi and C++Builder – CAD VCL. It allows creating, visualizing, importing, exporting, converting and printing drawings. Supports 2D and 3D CAD formats including AutoCAD DWG/DXF, HPGL, STP, STL, SVG, CGM and others. Download a free demo version at http://cadsofttools.com/company/news/cad-vcl-11-2/ http://cadsofttools.com/company/news/cad-vcl-11-2/
Delphi personal comeback or limited time promotion? ;)
- Get link
- X
- Other Apps
Glenn Anderson - Delphi Developer for 15 years. Would like to network with Delphi Developers in France and South Africa
- Get link
- X
- Other Apps
Does anyone using TChart on iOS? I found that my App under windows run just perfect but the same app on my iPad Air is very slow. I am using Berlin 10.1. I read few post from 2014 about using BufferedDisplay := True, but this does not make it for me.
- Get link
- X
- Other Apps
Does anyone using TChart on iOS? I found that my App under windows run just perfect but the same app on my iPad Air is very slow. I am using Berlin 10.1. I read few post from 2014 about using BufferedDisplay := True, but this does not make it for me. I really like FMX but on iOS, application are not smooth, performance are not great. Chart is the worst. It seems that between Berlin 10 and 10.1 performances have degraded. Unless it is because of iOS 9.3.2 versus 9.1. Anyway, anyone that has a more recent trick on how to resolve performance issue on iOS, would be really welcome. Thanks Marco
Chasing down a duplicate resource error...
- Get link
- X
- Other Apps
Chasing down a duplicate resource error... We've got a project, of reasonable size, which originally was developed on FireMonkey but recently we've pulled it back over to VCL. When we build the project now we get a handful of duplicate resource errors which, to my eye, seem to imply there is a FMX resource somewhere still being linked in. [dcc32 Hint] H2161 Warning: Duplicate resource: Type 12 (CURSOR GROUP), ID 32761; File c:\program files (x86)\embarcadero\studio\17.0\lib\Win32\release\FMX.Controls.Win.res resource kept; file c:\program files (x86)\embarcadero\studio\17.0\lib\Win32\release\controls.res resource discarded. I've searched all of the units' USES clauses, to no avail - is there an easy way to work out what file(s) might be causing this error?
http://www.andreamagni.eu/wp/2016/08/conferences-pascon-itdevcon-and-ekon/
- Get link
- X
- Other Apps
Hello guys
- Get link
- X
- Other Apps
Hello guys, Is it possible to wrap/bridge a define from an external lib? I want to access the value of HOST_NAME_MAX from in my Android project. I was able to access a function from libc: function gethostname(name: PUTF8Char; len: NativeUInt): Int32; cdecl; external LibC name Prefix + 'gethostname'; However I don't know how to access/wrap/bridge the value of HOST_NAME_MAX define from . Once its value is platform-dependent I can't hardcode it in my Delphi code. Thanks in advance :D
How to debug this?
- Get link
- X
- Other Apps
How to debug this? Hi guys, I am in this situation where I have no idea how to debug an exception I get. My app works just fine on Win32 but on Win64 and OSX I get an exception. On Win64, I have the following message and the stack : Can anyone offer an idea where to look for or what those messages mean? The stack shows the MouseMove event of the form but the event is empty. Thanks JK
Hello guys
- Get link
- X
- Other Apps
Hello guys, I think the new macOS 64-bit compiler (scheduled for next year) should gone the old one (DCCOSX) as mantain two macOS compilers (old-gen and next-gen) would be dangerous in terms of quality and most of Apple desktop devices support 64-bit. As part of DCCOSX killing, the DCCIOS32 (iPhone Simulator compiler) should be gone as well as it share the same old architecture of DCCOSX and DCC32. iOS Simulator apps are in fact macOS apps, the DCCIOS32 compiler share the same DCCOSX architecture to generate Intel assembly. Only the iOS ARM compilers that should not be affected by the new macOS 64-bit compiler. Not changing the iPhone Simulator compiler ( I mean creating a new) as well would make it have bugs different from the new macOS compiler, you will end up having to fix things in the old gen DCCOSX and in the next gen compiler. It would bring equality/uniformity among another compilers, the compiler directive UNDERSCOREIMPORTNAME is a bit boring and there is only on the old gen ...
Originally shared by David Berneda
- Get link
- X
- Other Apps
Originally shared by David Berneda Experimental test project comparing the speed of TeeBI vs FireDAC in-memory tables and LocalSQL (SQLite) queries. Not sure if I've forgotten some FireDAC property or setting to speed it up. (TeeBI is aprox 7x times faster on Windows, 50x on Mac OSX) https://github.com/Steema/BI/tree/master/demos/experiments/speed/FDMemTable_Sqlite_Queries
Another Blast from the Past and another Quote of the Day.
- Get link
- X
- Other Apps
Today I just was asked, why my company started with Delphi, 6 years ago instead of using C#. I just answared, that Delphi was the better choise at this time (maintenace, deployment, ...).
- Get link
- X
- Other Apps
Today I just was asked, why my company started with Delphi, 6 years ago instead of using C#. I just answared, that Delphi was the better choise at this time (maintenace, deployment, ...). But now a days, it's hard to argue, that a company should start with Delphi (for windows development), since the cost of Delphi is pretty high in contrast to VS C#. Question: Would you invest in Delphi for a new project, if you had to buy a license first (for windows development)? And why? New User: VS Prof: € 636,- Delphi Prof: € 1.939,20 https://www.microsoftstore.com/store/msde/de_DE/pdp/Visual-Studio-Professional-2015/productID.323836900 https://www.embarcadero.com/app-development-tools-store/delphi https://www.embarcadero.com/app-development-tools-store/delphi
Anybody has any experience with code signing certificate issued by startssl.com? I just went through their Class 2 validation and got my personal cert, the cost is $59 per year, but the best part is that, for an individual, the validation process is much easier then what I experienced with Comodo few years ago - what I needed to do is just uploading two of your ID documents, a picture of mine holding my ID card, a picture my debit card and transfer 0.1 to a bank account provided by startCOM. Tried signed a program of mine. Tried signed an EXE under Win7, initial tests show that the digital signature is recognizable under both Win7 and XP.
- Get link
- X
- Other Apps
Anybody has any experience with code signing certificate issued by startssl.com ? I just went through their Class 2 validation and got my personal cert, the cost is $59 per year, but the best part is that, for an individual, the validation process is much easier then what I experienced with Comodo few years ago - what I needed to do is just uploading two of your ID documents, a picture of mine holding my ID card, a picture my debit card and transfer 0.1 to a bank account provided by startCOM. Tried signed a program of mine. Tried signed an EXE under Win7, initial tests show that the digital signature is recognizable under both Win7 and XP. Related post: === https://plus.google.com/u/0/+StefanGlienke/posts/9ituJw6MZ1p?cfem=1
Does anybody have any idea how to find the IOffset from an interface reference that work on all delphi compiler ?
- Get link
- X
- Other Apps
Does anybody have any idea how to find the IOffset from an interface reference that work on all delphi compiler ? the old good function GetPIMTOffset(const I: IInterface): integer; from http://hallvards.blogspot.fr/2006/09/hack11-get-guid-of-interface-reference.html doesn't work on Android platform. Thanks. http://hallvards.blogspot.fr/2006/09/hack11-get-guid-of-interface-reference.html
Hey guys
- Get link
- X
- Other Apps
Hey guys, I am playing with libc bridging on Android and iOS. I was able to use it on Android as follow: const LibC = '/system/lib/libc.so'; function gethostname(name: MarshaledAString; len: NativeUInt): Int32; cdecl; external LibC; However I don't know where is the libc library on iPhone devices and simulator. The LibC constant only works for Android now as I don't know what I put on it for iOS, where ia stored the libc on iOS? Can you help me? Thanks in advance :D
Hello guys quick question . why Currency variables are not null when declare them and the Delphi gives some random values?
- Get link
- X
- Other Apps
Mark your calendars & prep your desk for Delphi Boot Camp. Register now: http://embt.co/delphicamp2016
- Get link
- X
- Other Apps
Originally shared by Gnostice.com
- Get link
- X
- Other Apps
Originally shared by Gnostice.com Gnostice StarDocs On-Premises trial R2 released. Gnostice is pleased to announce the availability of the beta trial R2 release of the Gnostice StarDocs On-Premises edition. The R2 release includes the capability to setup secure end-points with your own SSL certificate. R2 also includes other major enhancements in PDF forms viewing and filling. You can download the virtual appliance and host it on your virtualization platform on your private servers. StarDocs provides Web APIs to enable a variety of document processing and document viewing scenarios. StarDocs is available as a cloud-hosted API service and as a virtual appliance that you can deploy on-premises. The following article explains how to set up a secure end-point for the API with your SSL certificate and using the new Administration Console: http://www.gnostice.com/nl_article.asp?id=336&t=Configuring_the_StarDocs_On_Premises_API_server&rr=122 To know more about StarDocs, please see the...
Hi How to get MS SQL Instance names and Database name list to ComboBox in Delphi ?
- Get link
- X
- Other Apps
I have prepared an 'improvement suggestion' for FMX.
- Get link
- X
- Other Apps
I have prepared an 'improvement suggestion' for FMX.Types3D.TVertexBuffer, verified with 64 lines of test code in a console app. A corner case, nothing urgent, but it can make it easier to debug things. Description: 1) TVertexBuffer is part of TMeshData which is part of TCustomMesh, which is a TShape3D, which has a TMaterialSource, which has a TMaterial, which contains the shader byte code for the VertexShader and PixelShader. 2) It is typical that user code updates Vertices, TextCoord0 and Normals of the TVertexBuffer. Normals are also updated implicitely when user code calls TMeshData.CalcFaceNormals. P: TPoint3D; T: TPointF; Data.VertexBuffer.Vertices[Index] := P; Data.VertexBuffer.TexCoord0[Index] := T; Data.VertexBuffer.Normals[Index] := P; 4) Assume that the developer creates a new custom Material which updates Position, TexCoord and Normal as part of the VertexShader. It is no longer needed to compute TexCoords and Normals on the CPU. Only the initial position data will ...
I have prepared an 'improvement suggestion' for FMX.Types3D.TVertexBuffer, verified with 64 lines of test code in a console app. A corner case, nothing urgent, but it can make it easier to debug things.
- Get link
- X
- Other Apps
I have prepared an 'improvement suggestion' for FMX.Types3D.TVertexBuffer, verified with 64 lines of test code in a console app. A corner case, nothing urgent, but it can make it easier to debug things. Description: 1) TVertexBuffer is part of TMeshData which is part of TCustomMesh, which is a TShape3D, which has a TMaterialSource, which has a TMaterial, which contains the shader byte code for the VertexShader and PixelShader. 2) It is typical that user code updates Vertices, TextCoord0 and Normals of the TVertexBuffer. Normals are also updated implicitely when user code calls TMeshData.CalcFaceNormals. P: TPoint3D; T: TPointF; Data.VertexBuffer.Vertices[Index] := P; Data.VertexBuffer.TexCoord0[Index] := T; Data.VertexBuffer.Normals[Index] := P; 4) Assume that the developer creates a new custom Material which updates Position, TexCoord and Normal as part of the VertexShader. It is no longer needed to compute TexCoords and Normals on the CPU. Only the initial position data will ...
I was checking a website for a piece of software and it says this:
- Get link
- X
- Other Apps
I was checking a website for a piece of software and it says this: "ERP5 is mostly built in Python, using the NEO transactional NoSQL database and a relational SQL database (MariaDB preferred)" I'd like to ask if anyone has experience with NoSQL DBs. As I am not familiar with NoSQL, does this statement mean that NoSQL is used with SQL as an option? can be used? or something else? And for what purposes one would use NoSQL AND SQL DBs? Thanks
Hi
- Get link
- X
- Other Apps
Hi I'm trying to send an email with html body and several attachements via MAPI. For this purpose JclEmail class. I'm struggling with following issue - when there is no attachements - email client show perfect html body but when any other file is attached - html body is shown as another attached file and the message text is empty. Is there some way to get html message content and some files attached via JclEmail MAPI solution? Thanks
Does or did have someone problem with debugger and antivirus? I had headache with cryptic error "Free heap block modified at after it was freed" everytime I debugged one application and as soon as I deactivated AVG AV then it mysteriously went away. I am somewhat puzzled by this behaviour. The idea to try deactivating AV didn't come from my head but from site that is added to this post.
- Get link
- X
- Other Apps
Does or did have someone problem with debugger and antivirus? I had headache with cryptic error "Free heap block modified at after it was freed" everytime I debugged one application and as soon as I deactivated AVG AV then it mysteriously went away. I am somewhat puzzled by this behaviour. The idea to try deactivating AV didn't come from my head but from site that is added to this post. EDIT: I use XE7 with updates. https://social.msdn.microsoft.com/Forums/vstudio/en-US/01bae812-0a5f-4b17-9745-b1c8293a25b1/free-heap-block-modified-at-after-it-was-freed?forum=vclanguage
Any hints?
- Get link
- X
- Other Apps
Any hints? The obvious solution ... procedure TContentHandler.startElement(var strNamespaceURI, strLocalName, strQName: WideString; const oAttributes: IVBSAXAttributes); begin if SomeCondition then SysUtils.Abort; end; ... results in the infamous "Catastrophic failure" OLE exception. http://stackoverflow.com/q/38992143/49925
- Get link
- X
- Other Apps
Looking for a docking library for a VCL app using Delphi Berlin that supports docking multiple forms. We've been using the JEDI docking components but keep having problems and the lack of documentation is frustrating. I was looking for something like AQTime docking library, but that doesn't seem to be available anymore. Anyone have suggestions?
Pessoal o Delphi seria uma boa IDE para quem esta inicia em programação? E qual as vantagens do Delphi?
- Get link
- X
- Other Apps
Desktop VCL application that is based on SQLite (with Zeos lib). Now I need to expand it allowing some Windows LAN clients of the same application to connect to SQLIte database for some (limited) functionalities.
- Get link
- X
- Other Apps
Desktop VCL application that is based on SQLite (with Zeos lib). Now I need to expand it allowing some Windows LAN clients of the same application to connect to SQLIte database for some (limited) functionalities. Just to see what I'm able to do, I was trying to connect clients installations to main installation (call it server) with tethering (I use Berlin) , using shared resources (DATA) to exchange some small datasets (using XML). But I'm experiencing problems mainly with tethering: despite my efforts at this point I'm still not able to identify the client that asks the server for a query (AResource.Hint that looses his content on his way to the client, and AResource.Profile.Identifier that, too, reaches my clients completely blank). So, starting from SQLite as database,do I have a chance to engineer the new (very light) C/S version without a complete rewrite of the database part (and a new database technology)? Thanks for your help!
New blog post that describes the cause for a deadlock with Castalia's Clipboard history feature and using "Copy" in a TRichEdit in a debugged application.
- Get link
- X
- Other Apps
IDERA is really doing some job in Embarcadero!
- Get link
- X
- Other Apps
IDERA is really doing some job in Embarcadero! - GetIt is not working for some weeks: "The Embarcadero GetIt Server could not be reached...." - Registered downloads is also not working: "Unable to complete network request to host " etnaedndb02.embarcadero.com:3046 ". Failed to establish a connection. Only one usage of each socket address (protocol/network address/port) is normally permitted." What should be the next "improvement"?
Hi guys!
- Get link
- X
- Other Apps
Hi guys! I bought a Mecer tablet. It comes with a 32bit Windows, and with a Intel 64bit CPU. I checked and the CPU definitely supports a 64bit OS. I thought I would have a 64bit OS with the stock settings, but the Windows 8.1 that comes with it, is a 32bit OS. I'm not quite, but almost out of options: the BOIS seems incapable of booting 64bit UEFI flash drive, 32bit works fine. Now my question is not about the tablet, I'll just go with whatever the limitations are of the system, I have no choice... the question is about Delphi 32bit and 64bit targets. I'm thinking of developing some on the tablet, and with my current project everything is 64bit, even the Integers, Int64... what are the actual difference between 32 and 64bit targets? I'm pretty sure a 32bit Integer will be enough for my needs, I'm wondering what is the speed/ and other implications of "downgrading" to 32bit? (Oh, and I know 32bit can use less RAM, but I rarely pass 40mb RAM usage, so there ...
Unfortunately, I don't remember who owns beginend.net, so I post this as public rant.
- Get link
- X
- Other Apps
Hello guys
- Get link
- X
- Other Apps
Hello guys, Why should I use [Ref] attribute for const parameters? I read the doc http://docwiki.embarcadero.com/RADStudio/Seattle/en/Parameters_(Delphi)#Constant_Parameters however I was unable to understand the use cases of it. Passing reference types as const make it to be passed by copy instead of by reference? I didn't understand why [Ref] is necessary to make sure the reference type will be passed by reference. Can you help me? Thanks in advance :D http://docwiki.embarcadero.com/RADStudio/Seattle/en/Parameters_(Delphi)
I've boosted the project gpProfile in the form of a fork with the objective to purpose an Open source solution working as well on CodeTyphon, Delphi and Lazarus.
- Get link
- X
- Other Apps
I've boosted the project gpProfile in the form of a fork with the objective to purpose an Open source solution working as well on CodeTyphon, Delphi and Lazarus. Named opProfiler for Open Pascal Profiler, the idea is to purpose a tool of optimization of code for Pascal Object developers. The volunteers (developers, testers, translators) are welcome, because there is lots work... At the moment, I began code conversion... Will needed safe to make level the set, because gpProfile is not any more maintained since a few years. The repository is here: https: // github.com / Libaud / opprofiler. I would load as soon as possible the converted sources. Knowing that I recommend to use CodeTyphon for the development. I've setup a public project on Slack : https://opprofiler.slack.com/ . https://opprofiler.slack.com/
What do people think about of following hack?
- Get link
- X
- Other Apps
What do people think about of following hack? Just read the following on BeginEnd: https://translate.google.com/translate?sl=ja&tl=en&u=http%3A%2F%2Fd%2Ehatena%2Ene%2Ejp%2Ftales%2F20160812%2F1470932247 I was just struck by the creativity of abusing the explicit typecast operator `()` as a makeshift function parameter brackets `()`. class operator StrToEnum .Explicit ( const Value: string): StrToEnum ; Combined witha implicit operator overload resolve the StrToEnum This allows us to fake a naked generic function. X:= StrToEnum (string1); Horrible hack? or great code?
Android, other than on phones. I have been finding that with each new OS update, my Nexus 7 (2013) becomes less and less reliable for ordinary web surfing. I have had no luck finding any answers. Everything I turn up on Google suggests rebooting. Uh-huh, but that's part of the complaint. I find it necessary to reboot with ever greater frequency. It has been necessary once a day for a few months now, but the latest update seems to require a reboot every few hours.
- Get link
- X
- Other Apps
Android, other than on phones. I have been finding that with each new OS update, my Nexus 7 (2013) becomes less and less reliable for ordinary web surfing. I have had no luck finding any answers. Everything I turn up on Google suggests rebooting. Uh-huh, but that's part of the complaint. I find it necessary to reboot with ever greater frequency. It has been necessary once a day for a few months now, but the latest update seems to require a reboot every few hours. I did find a workaround of sorts. If I run WiFi Analyzer, and leave it running, that seems to reduce the need for reboot. Can I be the only one having Android issues? I doubt it. But it certainly dims my view of the mobile market.
We love Delphi Berlin. And the developer community does too. So it is surprising to hear from a third party tool vendor:
- Get link
- X
- Other Apps
We love Delphi Berlin. And the developer community does too. So it is surprising to hear from a third party tool vendor: "The Berlin release is full of bugs and crashes with an "internal compiler error" when trying to compile the SDL Suite." So says the author, Hans Lohninger, of SDL Components, who has yet to release a Berlin version of his tools. We've been very happy with their components and support up until now. Last year, we purchased his source code to avoid this kind of problem. But (probably due to the above) it is not buildable. So we have not been able to start using Berlin. The vendor is no longer responding to emails. Has anyone here been able to get SDL to compile on Berlin? Does anyone have suggestions on a light-weight statistics library for polynomial and spline fits?
Copy to clipboard from RichEdit hangs IDE
- Get link
- X
- Other Apps
Copy to clipboard from RichEdit hangs IDE Could someone check if this happens for you, or it is just me 1. In Windows 10 and Delphi 10.1 drop TRicheEdit on form 2. Run it from IDE add some text to richedit and press Ctrl-C Application and IDE hangs. This only happens in Windows 10 (Windows 7 is ok), only when running from IDE and only for TRichEdit Update: It hangs for ~30 seconds and only first time you press Ctrl-Insert or Ctrl-C.
Looks like there is a bug in ObjectInvoke when calling method returning interface.
- Get link
- X
- Other Apps
Looks like there is a bug in ObjectInvoke when calling method returning interface. Result is cleared by VarClear(Result); and later passed as interface pointer: ResultPointer :=@TVarData(Result).VInteger; but VarClear do not set VInterer to zero, so interface RefCounter contains garbage, and when called method set Result to some value it first calls to _Release which leads to AV.
Project Options, Version Info
- Get link
- X
- Other Apps
Project Options, Version Info My company is UK based and I have a few projects and therefore a few deliverables ( mixture of EXE and DLL ). I am setting the Version Info up, including the Locale ID to $0809 English ( United Kingdom ) and everything seems fine when I check it via properties it has reverted to $0409 English ( United States ). It feels like I am going insane. I have tried this at least a DOZEN times on the same DLL and the same EXE within the project and the Locale ID always reverts to $0409. Firstly, Has anyone else experienced this ? and more importantly does anyone have a fix?
Hi , i accidentally deleted 10 days of code working :( .
- Get link
- X
- Other Apps
I think our ecosystem should really have two things:
- Get link
- X
- Other Apps
I think our ecosystem should really have two things: 1. Functional package manager targets D7+ (So third-parties would like to get involved in). 2. Tools create/manipulate/sync project source/configuration files for different product versions Then we may follow the unix philosophy: Every package solves only single problem. Take Spring4D for instance, we may separate it to common types, collections, logging, dependency injection framework, persistence framework, etc. by this scale, we will have evolved a big package tree some day. People are also free to choose what packages they want. Large libraries may not adapt well today. It is really wasteful to implement similar features in every project... P.S. Delphinus package manager supports XE+. I would suggest them try different architecture. e.g. Inter-Process Communication, so that modern Delphi syntax can be still used in the command line interface while the thin IDE plugin support D7+ platforms.
Anyone used the splitter in FireMonkey? It has a MinSize property, which seems to allow you to limit the minimum size of the 2 panels on either side of the splitter. Trouble is, I need these limits to be uneven (ie, top panel never smaller than 100px, bottom panel never smaller than 200px).
- Get link
- X
- Other Apps
Anyone used the splitter in FireMonkey? It has a MinSize property, which seems to allow you to limit the minimum size of the 2 panels on either side of the splitter. Trouble is, I need these limits to be uneven (ie, top panel never smaller than 100px, bottom panel never smaller than 200px). There doesn't seem to be a 'can resize' type event, so I wondered if there was an obvious way to do this that I'm missing, or does it become something I can only respond to after it's happened?
Today was the first time I heard of Embarcadero's "Premium Update Subscription":
- Get link
- X
- Other Apps
Today was the first time I heard of Embarcadero's "Premium Update Subscription": https://www.embarcadero.com/support The only point I don't understand (and which is the only one I see any value in for me personally) is this: "Prior version support/updates for top issues (some limitations apply)" https://www.embarcadero.com/support
Does anyone have or know where I could get a copy of the (originally free) Icarus Uses Analyser? The website seems up (http://www.peganza.com/products_icarus.html) but the download page is missing.
- Get link
- X
- Other Apps
Does anyone have or know where I could get a copy of the (originally free) Icarus Uses Analyser? The website seems up ( http://www.peganza.com/products_icarus.html ) but the download page is missing. (Having a problem with FMX unit initialization order - FMX.forms initialises before FMX.Platform & this causes access violation when finalization sections are called in the wrong order & I can't figure out why. Difficulty = mixing VCL & FMX) Thanks in advance.
Hello guys
- Get link
- X
- Other Apps
Hello guys, I can see Nullable types support in Delphi but what about Non-Nullable types support in Delphi? It would help us to avoid dancing with Acess Vioalations, mostly of these run-time errors could get translated to compile-time errors. https://blogs.msdn.microsoft.com/typescript/2016/07/11/announcing-typescript-2-0-beta/ https://gist.github.com/olmobrutall/31d2abafe0b21b017d56 :D
TMS FlexCel for VCL & FMX v6.9 has been released with a major new feature: Conditional Format support for .XLSX files
- Get link
- X
- Other Apps
TMS FlexCel for VCL & FMX v6.9 has been released with a major new feature: Conditional Format support for .XLSX files http://www.tmssoftware.com/site/flexcel.asp TMS FlexCel for VCL/FMX is a suite of Delphi components allowing to manipulate/generate 100% native .XLS,.XLSX,.XLSM,.PDF,.HTML,.SVG files
i need help, i need to create License key for my software, when its open it should check and validate, key should save in DLL file.
- Get link
- X
- Other Apps
Blaise Pascal Magazine - Future of DELPHI interview - now a free download( issue 53)
- Get link
- X
- Other Apps
Blaise Pascal Magazine - Future of DELPHI interview - now a free download( issue 53) You can download the issue 53 for free. It is the issue with the interview with Atanas Popov about the future of DELPHI we have decided to make the interview public, so you can download the issue for free http://www.blaisepascal.eu/ and we have three special offers for you: SPECIAL SUMMER OFFER JULI/AUGUST/SEPTEMBER 1. Combination of the LIBRARY USB STICK and free subscription for 1 year. http://www.blaisepascal.eu/subscribers/UK/UK_CD_DVD_USB_Department.html 2. Combination of the book COMPUTER MATH & GAMES and the LIBRARY USB STICK http://www.blaisepascal.eu/david_dirkse/UK_Book_Department_DavDataORDER.html 3. RENEWAL of your subscription for two years and have the third year for free. http://www.blaisepascal.eu/subscribers/UK/UK_Renewal_Department.html http://www.blaisepascal.eu/
Hi
- Get link
- X
- Other Apps
Hi, I have an algorithm already built in a Delphi 10.1 VCL application which I wish clients to be able to access via the web either from a Delphi FMX client app (desktop, tablet, phone), or else a javascript web interface (any device). I need to access a Firebird database on the server. Direct access to the database or my app is not acceptable for security reasons. The data to and from the sever is small, just perhaps 20 keywords each way, no images or binaries etc. I need encryption of the JSON and aurthorisation of cleints. I have assumed JSON via HTTP should be the web transport method. I have therefore toyed with the idea of setting up a Webbroker server, as Delphi sets this up easily as a template and I can create the relevant endpoints having watched Craig Chapmans's excellent recent videos. I want to use Delphi as the solution as I am familiar with it, not with other technologies. I assume I will need to put each client request into its own TThread to allow simulta...
I have developed life insurance software in Delphi 5 using ms Sql server 2008r2 in 2010 and used at 3 insurance...
- Get link
- X
- Other Apps
I have developed life insurance software in Delphi 5 using ms Sql server 2008r2 in 2010 and used at 3 insurance companies. Most of the business logic are in Sql stored procedure and data modules. Now I wanted to change the architect to make it future proof and easily deployable and maintainable. At present the problem is customer has to install at hundreds of client machines scattered geographically connecting to DB server using low bandwidth. So can any body suggest me the best option available in Delphi to handle this issue. I am exploring thin client , intraweb , multi tier etc. please advise me.
I have developed life insurance software in Delphi 5 using ms Sql server 2008r2 in 2010 and used at 3 insurance companies. Most of the business logic are in Sql stored procedure and data modules.
- Get link
- X
- Other Apps
I have developed life insurance software in Delphi 5 using ms Sql server 2008r2 in 2010 and used at 3 insurance companies. Most of the business logic are in Sql stored procedure and data modules. Now I wanted to change the architect to make it future proof and easily deployable and maintainable. At present the problem is customer has to install at hundreds of client machines scattered geographically connecting to DB server using low bandwidth. So can any body suggest me the best option available in Delphi to handle this issue. I am exploring thin client , intraweb , multi tier etc. please advise me.
Chalk this up to "A question I shouldn't have to ask". This seems way to hard, but should be easy I would think:
- Get link
- X
- Other Apps
Can anyone with Delphi 10.1 check if this gives an internal compiler error? I only have Delphi 10.
- Get link
- X
- Other Apps
Can anyone with Delphi 10.1 check if this gives an internal compiler error? I only have Delphi 10. uses System.SysUtils; type Func = reference to function(const Arg1: T): TResult; // various algorithms Alg = record class function Transform (const F: Func ): TArray ; overload; static; end; class function Alg.Transform (const F: Func ): TArray ; begin end; // adding another overload of Trim breaks the compiler // in my case it was due to System.AnsiStrings.Trim() function Trim(const S: integer): integer; overload; begin end; begin Alg.Transform (Trim); // F2084 Internal Error: AV00000000-R00000000-0 end.
Here's one of those times when words matter. From the Delphi online docs:
- Get link
- X
- Other Apps
Here's one of those times when words matter. From the Delphi online docs: --no-config = do not load default DCC32.CFG file The key word here is "default". If dcc32.cfg is the default config file, that would imply that we could pass a specified config file. But I see nothing in the docs to support that. Anyone know if it is possible? Or is it simply a case of badly written "documentation"?
Snappy updated, sorry I forgot optimize...
- Get link
- X
- Other Apps
Snappy updated, sorry I forgot optimize... SNAPPY is 400% faster than SynLZ (the fastest similar algo on Delphi) on uncompress and offers a better compression ratio 1GB test file, corei7 2.6ghz COMPRESS Snappy compress in 2.69s, size=508411112, 179.9 MB/s SynLZ compress in 3.66s, size=532219716, 138.4 MB/s UNCOMPRESS Snappy uncompress in 952.86ms, size=1043862016, 1 GB/s SynLZ uncompress in 3.84s, size=1043862016, 258.6 MB/s I have updated the lib in www.dellapasqua.com/snappy64 thanks Roberto http://www.dellapasqua.com/snappy64
Hello everybody
- Get link
- X
- Other Apps
Hello everybody, I need some help with Windows Active Directory and Delphy 10.1 Berlin. I want to write an application for in-house use to read information from the active directory, compare to Data in a separate sql Database and then write the Information back to Active Directory. This is supposed to aid in keeping network irrelevant information like the office number, telephone number, etc up to date in the ADS. I am able to read the information from the AD usind ADO, but it is not possible to write information back to the AD. Thanks for help. Frank
HTML Library now has built-in support for Font Awesome
- Get link
- X
- Other Apps
Does anybody know if I'm doing something wrong?
- Get link
- X
- Other Apps
Does anybody know if I'm doing something wrong? I call if AJSONObject.GetValue('ContractState') nil then begin StringToAnsiCharArray(AJSONObject.GetValue('ContractState').Value, FULInputs.ContractStateAbbrev, sizeOf(FULInputs.ContractStateAbbrev)); end I get an access violation if ContractState is not in the JSON, but if it is the JSON, then it works fine.. The access violation is probably in the code in the begin..end, but I was thinking that the if statement should prevent it from executing those statements.. any ideas?
Hi!
- Get link
- X
- Other Apps
Hi! Does anyone have an working example of FDEventAlerter? I have followed the process in http://docwiki.embarcadero.com/RADStudio/XE6/en/Database_Alerts_%28FireDAC%29 But in gives me the error that the primary key of the table FD_Events already exists, and then a general error. This is my code. The target DB has the Broker enabled FDConnection1.Connected:=true; FDEventAlerter1.Names.Text := 'Customers'; FDEventAlerter1.Options.Synchronize := True; FDEventAlerter1.Options.Timeout := 10000; FDEventAlerter1.OnAlert := DoAlert; FDEventAlerter1.OnTimeout := DoTimeout; FDEventAlerter1.Active := True; http://docwiki.embarcadero.com/RADStudio/XE6/en/Database_Alerts_%28FireDAC%29
If the user will press two buttons fast one after other, VCL will not wait for the first user action to finish and will start the second, suspending first execution.
- Get link
- X
- Other Apps
If the user will press two buttons fast one after other, VCL will not wait for the first user action to finish and will start the second, suspending first execution. Then, after second executions is finished, first execution will continue but with modifications made by the second execution. This will lead to very strange errors. For this problem do I need to build my own queue?
Hey, has anybody used HTTP/REST "OAuth 2.0 for Service accounts" against Google with Delphi (I'm using Berlin)?
- Get link
- X
- Other Apps
Hey, has anybody used HTTP/REST "OAuth 2.0 for Service accounts" against Google with Delphi (I'm using Berlin)? https://developers.google.com/identity/protocols/OAuth2ServiceAccount I'm struggling with the part where I need to create a signature with RSA SHA-256 algorithm. As stated in the documentation "Sign the UTF-8 representation of the input using SHA256withRSA (also known as RSASSA-PKCS1-V1_5-SIGN with the SHA-256 hash function) with the private key obtained from the Google API Console.)" I have tried Lockbox, Fundamentials 5, the OpenSSL dll. All without any luck. Tips and hints will be appreciated. Preferably an open source solution. https://developers.google.com/identity/protocols/OAuth2ServiceAccount
Delphi 10.
- Get link
- X
- Other Apps
Delphi 10.1 Berlin repeated IDE flicker on Windows 10. I recently updated to Berlin on Windows 10 and the IDE becomes unresponsive for a few seconds while the display flickers while controls are being redrawn. I've found one reference ( https://forums.embarcadero.com/thread.jspa?threadID=226877 ) but this is not my issue. Have others found any workarounds? https://forums.embarcadero.com/thread.jspa?threadID=226877
Delphi 10.1 Berlin repeated IDE flicker on Windows 10. I recently updated to Berlin on Windows 10 and the IDE becomes unresponsive for a few seconds while the display flickers while controls are being redrawn. I've found one reference (https://forums.embarcadero.com/thread.jspa?threadID=226877) but this is not my issue. Have others found any workarounds?
- Get link
- X
- Other Apps
Delphi 10.1 Berlin repeated IDE flicker on Windows 10. I recently updated to Berlin on Windows 10 and the IDE becomes unresponsive for a few seconds while the display flickers while controls are being redrawn. I've found one reference ( https://forums.embarcadero.com/thread.jspa?threadID=226877 ) but this is not my issue. Have others found any workarounds? https://forums.embarcadero.com/thread.jspa?threadID=226877
Blog post "RAD Studio, Windows 10 Anniversary Update and Centennial" at http://blog.marcocantu.com/blog/2016-august-windows-anniversary-centennial.html
- Get link
- X
- Other Apps
Not much to add... http://community.embarcadero.com/article/news/16418-product-roadmap-august-2016
- Get link
- X
- Other Apps
I was wondering if there is a reason why setting multiple array values on the same array consecutively results in repeating that one instruction over and over.
- Get link
- X
- Other Apps
I was wondering if there is a reason why setting multiple array values on the same array consecutively results in repeating that one instruction over and over. No I don't want to start another "omg, the optimization sucks" discussion just if there is a reason why this obvious (and easy?) peephole optimization was not done (remember, I suck at compiler knowledge ^^) - apart from the cough aforementioned reason. ;) procedure Main; var a: TArray ; begin SetLength(a, 2); a[0] := 1; a[1] := 2; end; This code results in this asm (same situation on x64): a[0] := 1; mov eax,[ebp-$04] mov [eax],$00000001 a[1] := 2; mov eax,[ebp-$04] mov [eax+$04],$00000002
Originally shared by David Berneda
- Get link
- X
- Other Apps
Originally shared by David Berneda TeeBI Beta 15 released, including full source code ! August-3rd 2016 Documentation and demos: https://github.com/Steema/BI Release notes: https://github.com/Steema/BI/blob/master/docs/releasenotes.md Download: https://drive.google.com/file/d/0BymV3q6di65nTHFOU2U1aENITFk https://drive.google.com/file/d/0BymV3q6di65nTHFOU2U1aENITFk
Hey people! I want to "sendkeys" to another application. How to focus on that application? Basically I have:
- Get link
- X
- Other Apps
I want install C++Builder Starter in a machine that previously was Delphi DX Seattle installed.
- Get link
- X
- Other Apps
Is it possible that this code in Delphi XE is defect? I keep getting AVs in the last line:
- Get link
- X
- Other Apps
Is it possible that this code in Delphi XE is defect? I keep getting AVs in the last line: class function TInterlocked.CompareExchange(var Target: Integer; Value: Integer; Comparand: Integer; out Succeeded: Boolean): Integer; asm XCHG EAX,EDX XCHG EAX,ECX LOCK CMPXCHG [EDX],ECX MOV ECX,[ESP+4] SETZ [ECX].Boolean end;
After this post https://plus.google.com/+shlomoabuisak/posts/7efYtwNESqH
- Get link
- X
- Other Apps
Hi all
- Get link
- X
- Other Apps
Hi all, I'd like your view on something. I am developing an app which I hope to lead to a commercial product in a year or so. I have hired a freelancer to work on UI/UX but I think that at the moment and given the very tight budget it is not worth paying him to create the icons. I prefer him to work on the UX. For the icons, I am considering to buy one of those packages that exists around. Would that be bad for the app? To use same icons as other apps? What do you think? And any good collections worth buying? Some time ago there was a post about Akron or something like this Thanks John
Anyone here using Devart products? I have downloaded CHM help files this morning for three different products, on two different machines, with Win7 and Win10, and all show the same behavior: I see the topic tree, but the topic window is empty.
- Get link
- X
- Other Apps
Anyone here using Devart products? I have downloaded CHM help files this morning for three different products, on two different machines, with Win7 and Win10, and all show the same behavior: I see the topic tree, but the topic window is empty. I've used their products in the past, and have been thinking of them for a new project, but the PDF doc files are not very well done, and the CHM files appear useless, at present. I have reported this to Devart, but wondered whether anyone else has seen the issue.
Hello guys
- Get link
- X
- Other Apps
Hello guys, My personal wishlist for Godzilla release, no order of preference: - Declare local variables with value https://quality.embarcadero.com/browse/RSP-14867 - Enumerable constraint to generics https://quality.embarcadero.com/browse/RSP-12767 It could use some kind of duck typing to discover if a type is enumerable without needing to implement IEnumerable interface as it is already implemented for the for each loop. - PPL Task Continuation and Cancellation Token support https://quality.embarcadero.com/browse/RSP-13286 - Nullable Types and Null Propagation https://quality.embarcadero.com/browse/RSP-13305 - Iterators (aka. yield) https://quality.embarcadero.com/browse/RSP-13341 - ARC support for all platforms (including Linux) \o/ :D