Posts

Showing posts with the label programming

No C++ Builder, not even behind VI/VIM.

No C++ Builder, not even behind VI/VIM. Via Joe C. Hecht​ Originally shared by Linux Inside 14 Best IDEs for C++ Programming or Source Code Editors on Linux #linux #sysadmin #tecmint #programming #coding   http://www.tecmint.com/best-linux-ide-editors-source-code-editors

Delphi Developers Posting Guidelines

Image
Delphi Developers Posting Guidelines A community for people who write their software using Embarcadero's Delphi development tools. #delphi #objectpascal #programming Be constructive, informative and helpful. Avoid flame wars, please. This community is not StackOverflow. Well formulated questions with sufficient detail are preferred, but not an absolute requirement. Don't be afraid to ask. OBS: The community search is now working well, and it is currently possible to find posts where the keywords you search for are in the comments only. Use the post categories, and add #tags to specify more context where needed. Want: To deal with the things we can solve, instead of dwelling on what we can't. To help people solve coding related issues and discover new tools, components, techniques, blogs, jobs, etc. Want not: Posts that go very far off-topic, are of an incendiary nature, or posts that are related to Embarcadero policies or practices, or in general deal with issues that are b...

Hello

Hello, I just fell over this one with my 1st Delphi project moved to XE7 (previously XE6):     dsQ := TFDQuery.Create(Self);     dsQ.Connection := DM1.FDConnection1; // MySQL Server     dsQ.SQL.Text := 'SELECT gueltig_id FROM gueltig ORDER BY gueltig_id DESC';     dsQ.Open;     if not dsQ.Eof then         ResultID := dsQ.Fields[0].AsInteger + 1 // XE6 gives 156989 = correct    XE7 returns 5400 = WRONG!!     else         ResultID := 100; // just dont want to start with 1 or 10     dsQ.Close;     dsQ.Free; This little code sample returns the correct result in XE6, but completely incorrect in XE7 (both debug mode). Both On exactly the same server. MySQL Server is v5.6.12 FireDAC version is standard delivered with XE7 Delphi XE7 running on Windows 8.1 Update 1 in a VM (same OS for XE6, but separate VM). Moving code into another unit (form) doesn't help. Nor using TFDTable instead of TFDQuery. Anybody any clue? #delphi #programming #xe7 #firedac #mysql

For a project of writing a windows service with Delphi I stumbled across the problem that not all WinAPI functions were present in the libraries, this is probably not only the case with WinSvc.pas which mostly seems to have the API bindings of Win9x and nothing of the API which came with WinNT4, Win2k and later. This is why I decided to make a normal unit which would do the binding and make a place for implementing more missing API functions if any found missing.

For a project of writing a windows service with Delphi I stumbled across the problem that not all WinAPI functions were present in the libraries, this is probably not only the case with WinSvc.pas which mostly seems to have the API bindings of Win9x and nothing of the API which came with WinNT4, Win2k and later. This is why I decided to make a normal unit which would do the binding and make a place for implementing more missing API functions if any found missing. A little bit more detailed motivation and analysis is in my blog: http://rarog-it.blogspot.de/2013/12/delphi-and-missing-windows-api-functions.html The code is at github: https://github.com/rarog/winapi-for-delphi If someone knows another repository, has more ideas of missing API  calls in other units or wants to contribute, please feel free to contact me. #delphi #programming #windows #api

Just found this "programming language popularity" post.

Just found this "programming language popularity" post. http://www.dataists.com/2010/12/ranking-the-popularity-of-programming-langauges/ Yes, it is there, promise. It's just not where you'd expect it :) #delphi #programming #ranking Regards, A http://www.dataists.com/2010/12/ranking-the-popularity-of-programming-langauges/