Posts

Showing posts from January, 2014

Free #TeeChart update for RAD XE5, just released: http://cc.embarcadero.com/Item/29708

Free #TeeChart update for RAD XE5, just released: http://cc.embarcadero.com/Item/29708
I'm working on a port to Delphi from Visual Foxpro 9.0, anyone knows about a good converter for forms? I tried scx2dfm 1.5, but some forms didn't make it, not to mention that all the code is lost in translation. What I need is something that at least puts code as comments (there are 300+ forms in the original code)

InterBase

https://plus.google.com/101432152610774604658

Originally shared by InterBase

Originally shared by InterBase Want a free trial or developer edition of InterBase embeddable database? Click here to download http://embt.co/DownloadIB http://embt.co/DownloadIB

Hello

Hello, Given :  Type   TMyObject = Class(TInterfacedObject, IComparable)   Public     Name   : String;     Value: LongInt;     Function CompareTo(Obj: TObject): Integer;   End;   ... Function TMyObject.CompareTo(Obj: TObject): Integer;  Var   ObjComp: TMyObject;  Begin   ObjComp := Obj As TMyObject;   result := self.Value - obj.Value; End; The CompareTo  method is not used when TList .Sort()  is called. A strange sort (binary , I supposed) is done by default. So what is the IComparable interface for ????? And how do I use my nice CompareTo method ?

Can we please get the compiler generate W1035 (Return value of function might be undefined) for managed data types...

Can we please get the compiler generate W1035 (Return value of function might be undefined) for managed data types also? While I understand why this is not happening atm (internal handling of Result as var/out parameter) it would be very useful and prevent errors. Code like this would show an error and avoid wrong data: function Foo(list: TStringList): string; var   s: string; begin   for s in list do     Result := Result + s; end; Currently it does not show any warning and might have an unexpected result depending on what was inside the variable the function result is assigned to.

Can we please get the compiler generate W1035 (Return value of function might be undefined) for managed data types also?

Can we please get the compiler generate W1035 (Return value of function might be undefined) for managed data types also? While I understand why this is not happening atm (internal handling of Result as var/out parameter) it would be very useful and prevent errors. Code like this would show an error and avoid wrong data: function Foo(list: TStringList): string; var   s: string; begin   for s in list do     Result := Result + s; end; Currently it does not show any warning and might have an unexpected result depending on what was inside the variable the function result is assigned to.

Delphi Jobs: I'm in the Seattle area and use Craigslist on some daily searches. I've been seeing jobs requesting "Skills: Delphi and Microsoft Apps"... turns out there's a sales/catering package called Delphi.

Delphi Jobs: I'm in the Seattle area and use Craigslist on some daily searches. I've been seeing jobs requesting "Skills: Delphi and Microsoft Apps"... turns out there's a sales/catering package called Delphi. http://seattle.craigslist.org/search/jjj?zoomToPosting=&catAbb=jjj&query=delphi&excats= http://www.newmarketinc.com/products/delphi

After a long odyssey I finally found a solution for fixing a problem in our Delphi project that caused from time to...

After a long odyssey I finally found a solution for fixing a problem in our Delphi project that caused from time to time some unexpected and hard to trace crashes during the startup phase of our software on a Terminal Server (in a RDP session). The software crashed about 1 out of 20 starts and it took us almost 2 years to understand and find the source of the problem. Keeping this story short ... The final solution was to add the following line to the dpr files in our project: {$SETPEOPTFLAGS IMAGE_DLLCHARACTERISTICS_TERMINAL_SERVER_AWARE} As I understand this case: If this flag is missing, the terminal server produces some "hick ups" in the initialization process of a program within a RDP session due to some mix up of DLL initialization that happens only during a RDP session. My question is now: Is there any good reason NOT to add this line to any project? What are the possible side effects? Via Google I found only sources explaining how to add this /TSAWARE flag to a Delphi

After a long odyssey I finally found a solution for fixing a problem in our Delphi project that caused from time to time some unexpected and hard to trace crashes during the startup phase of our software on a Terminal Server (in a RDP session). The software crashed about 1 out of 20 starts and it took us almost 2 years to understand and find the source of the problem.

After a long odyssey I finally found a solution for fixing a problem in our Delphi project that caused from time to time some unexpected and hard to trace crashes during the startup phase of our software on a Terminal Server (in a RDP session). The software crashed about 1 out of 20 starts and it took us almost 2 years to understand and find the source of the problem. Keeping this story short ... The final solution was to add the following line to the dpr files in our project: {$SETPEOPTFLAGS IMAGE_DLLCHARACTERISTICS_TERMINAL_SERVER_AWARE} As I understand this case: If this flag is missing, the terminal server produces some "hick ups" in the initialization process of a program within a RDP session due to some mix up of DLL initialization that happens only during a RDP session. My question is now: Is there any good reason NOT to add this line to any project? What are the possible side effects? Via Google I found only sources explaining how to add this /TSAWARE flag to a Delphi

Hi Group

Hi Group, since we use XE2 we have the problem, that from time to time a modal form is behind the main window (from start or while using). This happens in programs but also in the ide. You can get that window in front with the windows-tab key. Do anyone else have that issue. Or a solution for that? Best regards Bernd

RAD-in-Action Webinar Unit Testing in Delphi Featuring Nick Hodges ...

http://forms.embarcadero.com/DelphiUnitTesting2-12?cid=701G0000000WLhl

Hi Group

Hi Group, I am using Delphi 7 with Interbase 7.5. I run a query and result set of query contains a Blob filed ,which is shown as (MEMO) in result set of query. I want to see the exact text of this Blob field, I tried Interbase CAST operator but all is vain. Any help would be greatful.

I'm suffering with slow VCL TPageControl on application resize under XE5 and was wondering if anyone had some ideas on how one could improve speed?

I'm suffering with slow VCL TPageControl on application resize under XE5 and was wondering if anyone had some ideas on how one could improve speed? There are a number of TabSheets which all have there own TPanel layouts which need to get resized proportionally.

Hi

Hi has anyone any experience with freepascal and synapse FTPS? I do have normal FTP working (this is for under OSX (console program)) but was wondering if it was possible to support FTPS with synapse? googling arond has not yeilded much thanks
Anyone know where I can download Borland Developer Studio 2006?
Help! In D2007, suddenly the Ctrl-Shift-Up and Ctrl-Shift-Dn keys stopped working. But it seems only in some files, so I assume a syntax issue. However, the project builds without errors. Any suggestions?

Blog post "Delphi XE5 Update 2 has FireDACJSONReflect for DataSnap" at http://blog.marcocantu.com/blog/delphi_xe5_update2_datasnap_firedac.html

Blog post "Delphi XE5 Update 2 has FireDACJSONReflect for DataSnap" at http://blog.marcocantu.com/blog/delphi_xe5_update2_datasnap_firedac.html http://blog.marcocantu.com/blog/delphi_xe5_update2_datasnap_firedac.html
We have a client that connects to a soap server (all in Delphi). The problem is that one of our users uses a proxy based on NTLM. We can connect to the outside world using TSslHttpCli, but can't see how to initiate the proxy authorisation using RIO. Any ideas?

Guess what's missing

Image
Guess what's missing

Originally shared by Corinne Meister

Image
Originally shared by Corinne Meister

How to read signal from mic and write it to text file or integer, double array?

How to read signal from mic and write it to text file or integer, double array? Thanks for feedback.

Please make it stop...found this little gem today. (And yes, the variant only ever holds a string.)

Please make it stop...found this little gem today. (And yes, the variant only ever holds a string.) FErrorList: TList < TPair < Variant, string >> ;
Why don't Embarcadero add NuGet feature to Rad Studio like in Visual Studio? Wouldn't be it good?

Hello

Hello, how to get output of prompt into delphi, in windows 7. I found some examples, but when I run from an error in a dll kernel32.dll, I'm not calling. If anyone has any solution to my problem, I thank you.  hugs.

Hi everyone!

Hi everyone! Recently I stumble upon an interesting issue in Delphi when I wanted to limit amount of RTTI generated for my controller classes and I wanted to know whether some of you have similar issues, know how to fix them (maybe in some other way, see below) or have an explanation why this happens in the first place. Here is what happened: In a unit where I declare base class for my controllers I switched off all extended RTTI (using $RTTI directive) this should limit RTTI generated for all of the descendants (ie. the actual controllers) right? But what really happened was that not only my controllers didn't have RTTI but even my model classes were striped off any RTTI as well. The model classes are defined in different unit and share no common ancestry with the controllers and since $RTTI should have local scope this should'n really happen. The weird thing here is that if I put the $RTTI directive into other unit limiting only a handful of the controllers this problem doesn

Hi

Hi, I need to find a new DB for Delphi XE2 & up, 32 & 64 bits NOW: using Aidaim's EasyTable and Accuracer, Single User versions PROBLEMS: lots of bugs, development halted, poor support, charge upgrade price for a simple re-compile each time a new Delphi version is released. MY NEEDS, NOW: . Single user, preferably single file embedded database . basic DB functions: index, filter, BLOB support, ... . complex (engineering) data but few records, speed isn't critical . cryptography is fairly important . compliance with db-aware third-party VCL controls is fairly important . fair price NEEDS, NEAR FUTURE: . Multi-user (local server) with few users . OSX & mobile Overall, I am NOT a database programmer, I'm focused on math modeling of engineering problems, my tipical softwares have 3 tables in a "technical" database file and 3 tables in a "materials" file; the DB operations are mainly preprogrammed, there's no user creating new queries

AdoQuery.SQL.Add('select count(*) from Table);

AdoQuery.SQL.Add('select count(*) from Table); Where do I find the result (without using DBEdit connected to the DataSource & datafield=Expr1000) ?
New community for X-DBGrid Component was just created. All present and future users of X-DBGrid Component and  #Delphi are welcome here.

Yeah, this is my first Delphi app in Google Play (free, of course)!

Yeah, this is my first Delphi app in Google Play (free, of course)! Sources are available at http://roman.yankovsky.me/wp-content/uploads/2013/12/WordLinesMobile_src.zip Also there is a version for Windows built from the same source code: http://roman.yankovsky.me/wp-content/uploads/2013/12/WordLines_exe.zip https://play.google.com/store/apps/details?id=com.yankovsky.WordLines&hl=en

Working in Delphi with container types. Here is my article about how SIDEX can be used for dictionary and list handling. I'd appreciate some feedback about this kind of concept.

Working in Delphi with container types. Here is my article about how SIDEX can be used for dictionary and list handling. I'd appreciate some feedback about this kind of concept. https://www.tml-software.com/knowledgebase/kb/article/5/8/

Since Emb is not going to stick its neck out for a Roadmap.

Since Emb is not going to stick its neck out for a Roadmap. Here is my personal list for the Radstudio Roadmap. -platform : Android on Intel. -platform : Linux Server (X64) don't bother 32 bits. -platform : don't bother with windows RT. -implement more platform API's in units on Android and IOS. -intercept components to introduce coded logic in Livebindings.  -Rich Text on FMX . -Include default bitmaps in FMX styles on windows (similar to android and FMX platform) -bugfixing, bugfixing and more bugfixing.

Just in case you didn't know....

Just in case you didn't know.... http://www.embarcadero.com/kr/coderage

Breaking News!

Breaking News! Answer on StackOverflow reveals long kept secret: "Delphi is based on Python!"  http://stackoverflow.com/a/21327763/26833 http://stackoverflow.com/a/21327763/26833

I moved from D7 to XE5 running on Windows 8 Pro with MSMQ installed.

I moved from D7 to XE5 running on Windows 8 Pro with MSMQ installed. Using Delphi 7 I was able to import the MSMQ Active X but I do not see it available to import in my new environment. I found this link: http://docwiki.embarcadero.com/RADStudio/XE5/en/Sending_a_Message_Using_the_Windows_Message_Queue but there is no sample Delphi code just "For more information on the SendMessage function, see the Microsoft MSDN documentation".  I'd appreciate a pointer to something more specific on how to use MSMQ with XE5... thanks  ~ rb PS. I'd also like to read the MSMQ or event better have it trigger a service written in using XE5. http://docwiki.embarcadero.com/RADStudio/XE5/en/Sending_a_Message_Using_the_Windows_Message_Queue

I moved from D7 to XE5 running on Windows 8 Pro with MSMQ installed. Using Delphi 7 I was able to import the MSMQ Active X but I

I moved from D7 to XE5 running on Windows 8 Pro with MSMQ installed. Using Delphi 7 I was able to import the MSMQ Active X but I do not see it available to import in my new environment. I found this link: http://docwiki.embarcadero.com/RADStudio/XE5/en/Sending_a_Message_Using_the_Windows_Message_Queue but there is no sample Delphi code just "For more information on the SendMessage function, see the Microsoft MSDN documentation".  I'd appreciate a pointer to something more specific on how to use MSMQ with XE5... thanks  ~ rb PS. I'd also like to read the MSMQ or event better have it trigger a service written in using XE5. http://docwiki.embarcadero.com/RADStudio/XE5/en/Sending_a_Message_Using_the_Windows_Message_Queue
Strange problem with a VCL app and several threads, sometimes running the exe (outside the ide) goes "random sluggish" (not smooth speed). More frequent in 32bit than 64bit. Sometimes it justs runs fine, same code same tests. When changing process priority at task manager, sometimes the problem is fixed (ie: to "above normal" to "normal" again). Its puzzling !

Has anyone worked with the sgcWebSockets components on mobile devices? It seems to work fine on a Firemonkey desktop app, but simply placing one of the components onto a Firemonkey mobile app causes the build to generate 500+ errors during the linking. Now I'm sure there are no errors and there is something that is not set correctly, what might I be missing? The setup of the controls requires adding lines to the library search path and I made those changed. SO what else should I be checking for?

Has anyone worked with the sgcWebSockets components on mobile devices? It seems to work fine on a Firemonkey desktop app, but simply placing one of the components onto a Firemonkey mobile app causes the build to generate 500+ errors during the linking. Now I'm sure there are no errors and there is something that is not set correctly, what might I be missing? The setup of the controls requires adding lines to the library search path and I made those changed. SO what else should I be checking for? Thanks
How to create Sheets Modal in firemonkey for OSX?

How is Delphi's codegen doing these days?

How is Delphi's codegen doing these days? Having spent 5 years writing C++ and then coming back to Delphi last year, I was very curious about this. So I decided to write a small test. I decided to port my Tiger hash[1] implementation, which I'd ported to C++ based on the original public domain implementation. There were two reasons for this. First, the hash function is non-trivial and I felt it is representative of integer-heavy calculations, however it also contains a lot of opportunities for compiler optimizations. Secondly, the hash function was developed to be fast on 64-bit CPUs, and I was curious to see how well the x64 Delphi compiler utilized the additional registries and such available on that platform. While porting it to Delphi I also felt like seeing how it stacks up against it's main rivals. It took some time but I've now finally ported the program to C# and Java as well. For each platform I've tried to write as efficient as possible while keeping the p

Hello friends , good afternoon

Hello friends , good afternoon , Would anyone know how to do to the Drag Drop effect is done in automatic form . For example , let's say in a post File New Project .. we put one TButton on Form1 , and add the design a frame ( TFrame ) and rum in team event of the Button when clicked it will create the frame (which will already be with the properties :   DragKind = dkDock   DragMode = dmAutomatic The event creates the frame and automatically make it stand out from the form that is acting as if being instantiating an Ordinary Form ( being created ) I even got below with this code however appears markings frames in various places before appearing Frame ( ja -sh style) I wanted to make the frame appear in a certain position (highlighted in the form) without during click the button and when it appears , had not the appearance of frames ( frame edges ) in several places ( giving the impression that the box tried appear in several places before appearing ) would have not had this effect .

TControl - Explicit

TControl - Explicit Can someone explain the purpose of  ExplicitTop, ExplicitLeft, ExplicitWidth and ExplicitHeight in TControl and descendants? In particular - why are they in the .dfm?

TML/SIDEX reference on ASPL site. TML/SIDEX is using Vortex/AXL for BEEP and XML functionality.

TML/SIDEX reference on ASPL site. TML/SIDEX is using Vortex/AXL for BEEP and XML functionality. http://www.aspl.es/vortex/whouse.html

A significant update for the TMS Component Pack ( http://www.tmssoftware.com/site/tmspack.asp) has been released with several new components!

Image
A significant update for the TMS Component Pack ( http://www.tmssoftware.com/site/tmspack.asp ) has been released with several new components! New components in TMS Component Pack v7.2: - New: TAdvDBFormPanel: Panel that can automatically & semi-automatically generate forms for datasets  - New: TAdvDBFormBox: Panel with caption and scrollable area that can generate forms for datasets  - New: TAdvLabel: Label that can automatically either display regular text or rich formatted text  - New: TDBAdvLabel: Label that can automatically show text and rich formatted text from DB text fields, memo fields, blob fields  We have also done lots of other improvements and fixes to existing TMS components. See release notes: http://www.tmssoftware.com/doc/tmspck.txt

Hm... Getting skeptic to this book. :-P

Image
Hm... Getting skeptic to this book.  :-P ( http://www.amazon.com/Problem-Solving-Computer-Technology-Applications/dp/1607412497 )

Just curious, why did EMBT make "procedure of object" type to be incompatible with "reference to procedure"? It is easy to figure out that TMethod is a simple implementation of closure (it stores "Self" value inside and a pointer to procedure that can be called). "Reference to procedure" does the same but in more general way.

Just curious, why did EMBT make "procedure of object" type to be incompatible with "reference to procedure"? It is easy to figure out that TMethod is a simple implementation of closure (it stores "Self" value inside and a pointer to procedure that can be called). "Reference to procedure" does the same but in more general way. The second question is... why did they make "procedure" type to be incompatible with "reference to procedure", so I have no chance to pass a closure expression to a method that accepts a regular function... But... who cares.

Originally shared by Steema Software

Image
Originally shared by Steema Software TeeChart FastLine speed demos: http://steema.us/files/vcl/public/TeeChart2014/Examples/TeeChart_FastLine_Speed.zip Compiled with Embarcadero RAD Studio XE5 using TeeChart Pro library. These are Delphi VCL applications with very simple code to perform realtime charting, updating and painting One Million data points at the fastest possible speed. On a modern system (Intel 4770, GPU 760), the 64bit demo runs  at 130 frames-per-second on FullHD (1920x1080) resolution. Note: ----- When OpenGL VSync is enabled (see your graphics card 3D settings),  the maximum frames-per-second is limited to your monitor refresh rate (typically 60Hz). Several "canvas" classes can be used to display data, being OpenGL  the fastest as it uses the graphics card (GPU) power to rasterize pixels. The 64bit demo should run faster than 32bit on most systems,  due to Delphi 64bit compiler optimizing floating point  calculations using SSE2 CPU instructions instead of FPU.
My XE5 install hasn't installed the help files. I have tried running repair and modify from the installer but no luck. Any ideas?

How about Embarcadero hires a few interns to just sit and write unit tests for the compiler, especially dealing with generics?

How about Embarcadero hires a few interns to just sit and write unit tests for the compiler, especially dealing with generics? Some really serious or highly annoying bugs still present in XE5, some 50 decades* after we got generics in Delphi. My latest find: Delphi fails to properly copy a record containing an interface reference under a fairly normal circumstance. *: IT years http://qc.embarcadero.com/wc/qcmain.aspx?d=121837

Sometimes I don't understand what they mean!! then I say 'Just warnings, not errors'

Image
Sometimes I don't understand what they mean!! then I say 'Just warnings, not errors'

I posted this on the Delphi Android group, but thought I would throw it out here too due to the larger volume of users:

I posted this on the Delphi Android group, but thought I would throw it out here too due to the larger volume of users: So, can anyone suggest a solution: I have Delphi XE5 and a Google Nexus 7 (new version) and Windows 7 recognizes the tablet when I plug it in, but it does not show up in Delphi as a target device. Has anyone seen this before? How do I get Delphi to see the tablet so I can deploy apps to it? Thanks!

"Hotfix 4 for RAD Studio, Delphi, C++Builder XE5 Update 2" available from http://cc.embarcadero.com/Item/29698.

"Hotfix 4 for RAD Studio, Delphi, C++Builder XE5 Update 2" available from  http://cc.embarcadero.com/Item/29698 . This Hotfix provides an updated reFind.exe which can be found in the bin folder. This version of reFind.exe is 2.5. Additional features include unit names replacements, required by the BDE conversion demo script included among XE5 Update 2 demos.

I'm modifying an old Delphi app that used to be written inTurbo Pascal, and I have a question with the old "Object" keyword. One day we'll change it, but for now I have to make a small change. When a method is declared "Virtual", do I not need the "Override" keyword to override it? What about the constructor. Will I automatically inherit the constructor? Here is the declaration: (TV_Pro2014 is the child class)

I'm modifying an old Delphi app that used to be written  inTurbo Pascal, and I have a question with the old   "Object" keyword.  One day we'll change it, but for now I have to make a small change.   When a method is declared "Virtual", do I not need the "Override" keyword to override it?  What about the constructor.  Will I automatically inherit the constructor?  Here is the declaration: (TV_Pro2014  is the child class)   PV_Pro = ^TV_Pro;   TV_Pro = OBJECT(TVIRTUS_VALUE2)     constructor INIT(CONST INIT_INSURED : PINSURED;                      CONST INIT_PLAN_CODE : LONGINT);     FUNCTION GET_FACE_AMT_BAND(CONST Base_Face_Amt : Longint): TBAND; VIRTUAL;     //Function READ_GUAR_COI_RATES(CONST SEX : CHAR): Boolean; VIRTUAL;     FUNCTION GET_CURR_COI_RATE_FILENAME(CONST SEX : CHAR) : STRING; VIRTUAL;     Function READ_CURR_COI_RATES(CONST SEX : CHAR): Boolean; VIRTUAL;     FUNCTION GET_NOLAPSE_PREMIUM_BAND(CONST CURR_DATE : TDATE): TBAND; VIRTUAL;

Buffering Sensor Data

http://delphi.org/2014/01/buffering-sensor-data/

VCL Styles XE2

VCL Styles XE2 Has anybody experienced style problems with button focus yet? I have a small app with some ordinary TButtons on it and a standard "Turquoise Gray" style applied. When I tab through the buttons I see them focused. In my main app though, similar buttons do not focus at all. Once in a while some of them are focused while tabbing through the controls but in the next cycle they won't.  Does anybody have a clue how to address this problem?

Yesterday I found an interesting issue.

Yesterday I found an interesting issue. A lazy instanced shared object is declared in the implementation section of a unit A and protected by an access function which use a critical section to avoid double creation.  The critical section was instantiated in the initialization section of Unit A.  The ClassA types call the shared function during instantiation. unit A references units X, which use unit B, that defines ClassB as a descendant from ClassA in unit A. In Unit B, I added instantiation of a ClassB in the initialization section. Boom! Unit A's init section had not been called before Unit B's init section! The critical section object was nil! This has to be a bug, or? I solved it by putting the critical section into a different shared unit used by both A and B.

When I see a lot of assignments in Delphi, I think of a couple of puppet from my childhood. They're named "Smitt" and "Smule" and you can see them in action here: http://youtu.be/799mFIL5nrM?t=8m14s

Image
When I see a lot of assignments in Delphi, I think of a couple of puppet from my childhood.  They're named "Smitt" and "Smule" and you can see them in action here: http://youtu.be/799mFIL5nrM?t=8m14s Yup.  That's the entertainment we Norwegians grew up with... #SmittOgSmule
Report Builder - I have a report in which elements placed in the designer are apparently MIA at runtime. At least, when I attempt to access them in Delphi, the objects are nil. Has anyone here been down that path?

Can someone tell me what I'm actually losing by disabling the "String Resource Editor IDE Package", stride###.bpl?

Can someone tell me what I'm actually losing by disabling the "String Resource Editor IDE Package", stride###.bpl? It was causing an access violation in coreide###.bpl during IDE shutdown. It's something happening while the stride package is being unloaded because it also happens when I uncheck the package from the Install Packages dialog. Looking around on the interwebs it looks like it's a reproducible but uncommon problem. My guess is it's an interaction with another package since it doesn't appear to happen in a clean install of Delphi.

I can't figure out how to loop a generic TList instance, do I need to use TValue or the ReinterpretCast trick?

I can't figure out how to loop a generic TList instance, do I need to use TValue or the ReinterpretCast trick? procedure Foo( AInstance : TObject); begin //  how to do here a for loop ?   if AInstance is a TList  then... ??     ... end; var MyList : TList ; ... Foo(MyList);
Does anyone know if FireDac (just for SQLIte) comes with Delphi XE5 Professional?   At work here, I have Delphi Enterprise, but we have 4 developers that only have Delphi XE5 Professional (We haven't installed as yet, so we don't know).   We'll only ever use SQLite as db access, so no need for the full Enterprise or database pack (if we don't need to).

All 4 parts are now published.

All 4 parts are now published. Originally shared by Smart Mobile Studio The last part in our node.js tutorial is ready. Have fun! :-) http://smartmobilestudio.com/2014/01/15/server-side-node-js-part-4/ http://smartmobilestudio.com/2014/01/15/server-side-node-js-part-4

The procedure presented in the link below (in responsta number 6), I had already found but it works only for Delphi 7:

The procedure presented in the link below (in responsta number 6), I had already found but it works only for Delphi 7: http://stackoverflow.com/questions/9188045/how-to-aes-128-encrypt-a-string-using-a-password-in-delphi-and-decrypt-in-c To XE5 has a conversion error type TBYTE and TidByte which could not resolve Someone else can help? http://stackoverflow.com/questions/9188045/how-to-aes-128-encrypt-a-string-using-a-password-in-delphi-and-decrypt-in-c

Trying out Delphi XE5. For those who are doing Agile, you can try this simple app for your Sprint Planning. iOS version coming.

Trying out Delphi XE5. For those who are doing Agile, you can try this simple app for your Sprint Planning.  iOS version coming. https://play.google.com/store/apps/details?id=net.fibon.ScrumPoker

Must be getting late, and my brain is fuzzy. Given this code:

Must be getting late, and my brain is fuzzy. Given this code:   for colIdx := 0 to MyDataSet.Fields.Count - 1 do     with cdsMain.FieldDefs.AddFieldDef do     begin       DataType := MyDataSet.Fields[colIdx].DataType;       Name := MyDataSet.Fields[colIdx].Name;       Size := MyDataSet.Fields[colIdx].Size;     end; How can I be getting a list out of bounds error on MyDataSet?

Is there any Free-/Opensource Delphi ERP implementation you know of?

Is there any Free-/Opensource Delphi ERP implementation you know of? Something like those that could be found here ... http://en.wikipedia.org/wiki/List_of_ERP_software_packages ... ? http://en.wikipedia.org/wiki/List_of_ERP_software_packages

Anyone have a neat trick for declaring a record which has the same size as a generic type parameter T? The obvious

Anyone have a neat trick for declaring a record which has the same size as a generic type parameter T? The obvious   TRec = record      a: array[0..sizeof(T)] of uint8;   end; does not work because apparently we can't have nice things in Delphi...
Delphi always is my first choice but why firemonkey doesn't, support right to left reading for Langauges like arabic?

Opening a small G+ "community" for support, bug reports, questions about my Delphi Tools (Sampling Profiler, MapFileStats, FlushFileCache, etc.).

Opening a small G+ "community" for support, bug reports, questions about my Delphi Tools (Sampling Profiler, MapFileStats, FlushFileCache, etc.). More like a forum ersatz though :-)

According to some discussions about our product I've created an article to describe the motivation for TML/SIDEX

According to some discussions about our product I've created an article to describe the motivation for TML/SIDEX https://www.tml-software.com/knowledgebase/kb/article/1/82/

Running a couple of polls on who purchased you Delphi(s) and what you're using them for... or not ;-)

Running a couple of polls on who purchased you Delphi(s) and what you're using them for... or not ;-) http://www.delphitools.info/2014/01/09/who-purchased-the-delphi-you-use/

Might be worth joining...

Might be worth joining... http://forms.embarcadero.com/DevicesWebinar1-22?cid=701G0000000Xq71&elq=4c08581e6b9b42be9990a7983efd55f0&elqCampaignId=1007

Originally shared by jeff weir

Originally shared by jeff weir About 22 minutes into this documentary from sometime in 2007 - Cellphone: A Ring Heard Around the World - there is an segment with Philippe Kahn about his original cellphone camera design. http://www.cbc.ca/doczone/episodes/cellphone-a-ring-heard-around-the-world

Blog post "Some New Year Delphi Blog Posts" at http://blog.marcocantu.com/blog/new_year_delphi_blogs.html

Blog post "Some New Year Delphi Blog Posts" at http://blog.marcocantu.com/blog/new_year_delphi_blogs.html http://blog.marcocantu.com/blog/new_year_delphi_blogs.html
I'm working in a project where I find that if I Ctrl-click on a system file, such as Classes, it will not open. I would think this is one of the Tools|Options paths being incorrect. Can anyone point me to the right one?

Frames are great for isolating code, but nested frames and frame reuse has issues. What am I doing wrong?

Frames are great for isolating code, but nested frames and frame reuse has issues.  What am I doing wrong? The frames: frmValidation -  a small toolbar with a message box and Save/Cancel buttons frmDetailProperties - has a frmValidation embedded frmMasterProperties - has a frmValidation embedded frmDetailList has a list and the frmDetailProperties embedded frmMasterList has a list and the frmMasterProperties and a frmDetailList embedded. Initially, I had a problem with the frmValidation instances having the same name on the two properties forms - and Delphi complained about Duplicates not allowed.  Renaming one, solved that issue. All frames have been added to the palette, and when I have the project open, I have no problems with viewing the combined frames. The frame source is in the project path. The problem: If I close Delphi and start again, Delphi complains that it can't find the TfrmDetailProperties in frmMasterList.  I click cancel, the project opens, but the frmMasterList c

We are putting together (at my employment) a VM for Delphi. The initial plan was to package the tools, but keep the source code on the host drive, and map to it. I wonder whether anyone has done that? Our experience right now is limited, but the build outside a VM takes 21 seconds, and inside takes 129. My best guess is the mapped drive access, but that's purely a guess.

We are putting together (at my employment) a VM for Delphi. The initial plan was to package the tools, but keep the source code on the host drive, and map to it. I wonder whether anyone has done that? Our experience right now is limited, but the build outside a VM takes 21 seconds, and inside takes 129. My best guess is the mapped drive access, but that's purely a guess. Any thoughts?

Delphi and C++ Builder (RAD Studio) components for multi threaded, fast and reliable peer to peer network communication.

Delphi and C++ Builder (RAD Studio) components for multi threaded, fast and reliable peer to peer network communication. http://www.tml-software.com
Anyone with a proper .gitattributes file for Delphi that he likes to share?

Hi all ! I'm currently moving from XE2 to XE5 . Is there somewhere a list of new language features ? (something like this excellent post of Dr Hodges http://edn.embarcadero.com/article/34324 ) ?

Hi all ! I'm currently moving from XE2 to XE5 . Is there somewhere a list of new language features  ? (something like this excellent post of Dr Hodges   http://edn.embarcadero.com/article/34324 ) ? http://edn.embarcadero.com/article/34324

VersionHelpers.pas

VersionHelpers.pas As you might know, Microsoft changed the GetVersion(Ex) API function in Windows 8.1 and Server 2012 R2: Both GetVersion() and GetVersionEx() are now deprecated, and will always return V6.2 (Windows 8.0) unless you extend your application manifest for targeting Windows 8.1. More details here: http://msdn.microsoft.com/en-us/library/windows/desktop/dn302074(v=vs.85).aspx   The recommended way to test for a specific Windows version is to use VerifyVersionInfo() from Windows API. But Microsoft added some new functions in Windows 8.1 SDK for easier test for a specific windows version like "Windows 7 or higher". Those new functions are located in VersionHelpers.h and are named "IsWindowsXPOrGreater", "IsWindowsVistaOrGreater" or "IsWindowsVersionOrGreater()". The latter takes Major, Minor and SP as parameters. I've translated that VersionHelpers.h to Delphi:  https://dl.dropboxusercontent.com/u/56217889/VersionHelpers.pas http://

Originally shared by David Berneda

Originally shared by David Berneda Playing with SSE2, simple "sum of array of double" asm its 6x times faster in my machine (32bit only) vs. normal fpu (pure pascal). Wished asm had a stack-align directive to use aligned sse2 intrinsics ! function DoubleSum(const d:Array of Double):Double; var t: Integer; begin   result:=0;   for t:=0 to Length(d)-1 do       result:=result+d[t]; end; vs: function DoubleSum(const s:Array of Double):Double; type   DoubleVector = array [0..1] of Double; var p : Pointer;     r : DoubleVector;     num,     l : Integer; begin   p:=@s[0];   num:=Length(s);   l:=num div 2;   asm     mov ecx, p     movupd xmm0, [DoubleVector(ecx)]     mov edx, 1  @loop:     add ecx,16 // 2*SizeOf(Double)     movupd xmm1, [DoubleVector(ecx)]     addpd xmm0, xmm1     inc edx     cmp edx, l     jnz @loop     movupd r, xmm0   end;   result:=r[0]+r[1];   if num mod 2 = 1 then      result:=result+s[num-1]; end;

Delphi 6 Pro General update 2 hangs.

Delphi 6 Pro General update 2 hangs. D6 installs properly in Windows 8 and 8.1. But General Update #2 hangs in Windows 8.1. If D6 & the update are installed under Win 8.0, them everything works. I can let Windows update to 8.1 and everything works. BUT if Windows updates to 8.1 and then I run the update it hangs. I asked the group embarcadero.public.delphi.install but the only suggestion was compatibility mode. Made no difference. Having tried what I know about, the next step is to reset Windows to 8.0, install D6 and the updates, let windows update to 8.1 then install the rest of my apps. Not my preferred course of action. Any ideas?
Hi, all. I built an App using Delphi XE5, at that time, it didn't support android development. Now, I upgrade my xe to update 2, but it seems I can't add android platform in project manager. When I check the provisioning, it shows 'iOS Device platform only ' . Is there any possible for me to run it on android platform? Or what settings shall I change? Thanks.

I've released the OSX version of my application.

I've released the OSX version of my application. It is (of course) built with Delphi. I already got some very positive feedback from my customers. http://www.songbeamer.de/bin/OSX/SongBeamer.dmg

I've released the OSX version of my application. It is (of course) built with Delphi. I already got some very positive feedback from my customers.

I've released the OSX version of my application. It is (of course) built with Delphi. I already got some very positive feedback from my customers. http://www.songbeamer.de/bin/OSX/SongBeamer.dmg

CubeMan3D, an XE5 native OpenGL demonstration for Android

Image
CubeMan3D, an XE5 native OpenGL demonstration for Android http://cc.embarcadero.com/Item/29682

Blog post "A Splash Screen for Delphi on Android" at http://blog.marcocantu.com/blog/splash_screen_delphi_android.html

Blog post "A Splash Screen for Delphi on Android" at http://blog.marcocantu.com/blog/splash_screen_delphi_android.html

Which Windows version is recommended for Delphi XE5 development in 2014, 7 or 8?

http://stackoverflow.com/q/20905136/340811?sgp=2

What programming languages have you used this year? #Twitter #Delphi #code2013 http://code2013.herokuapp.com/

What programming languages have you used this year? #Twitter #Delphi #code2013 http://code2013.herokuapp.com/ http://code2013.herokuapp.com

If half the people in this group vote for Delphi we can beat C#. If everyone votes we will overtake C - It only takes a few seconds - http://code2013.herokuapp.com/

If half the people in this group vote for Delphi we can beat C#. If everyone votes we will overtake C - It only takes a few seconds  -   http://code2013.herokuapp.com/ http://code2013.herokuapp.com

Hello everyone! I am posting here because of its visibility.

Hello everyone! I am posting here because of its visibility. Well, since Update 2 I am facing real issues with my application. I've tried uninstall, install again from ISO. I also post a QC on Emb but nothing solved. I am really worried now as I am completly unable to continue the development. In short, I have 2 main problems: - Datasnap/Rest always force my Android app crash when receive any data (empty queries wont crash), and  - When compile 3rd party compo, I receive hundreds of such error: error: undefined reference to 'System::Classes::TComponent::ValidateRename(System::DelphiObject , System::UnicodeString, System::UnicodeString) or System::Classes::TComponent::WriteState(System::DelphiObject ) I cannot fix that. So I have two options: downgrade to Update 1 or give up Delphi Dev (problem here is that Delphi is paid, so give it up is not an real option).

Blog post "Vote for Delphi in Code2013" at http://blog.marcocantu.com/blog/vote_delphi_code2013.html

Blog post "Vote for Delphi in Code2013" at http://blog.marcocantu.com/blog/vote_delphi_code2013.html
Another round on reporting tools: I'd be interested in comments on ReportBuilder vs. FastReports in the context of reports built dynamically, in code, either without an underlying report form, or with one that is as minimal as possible. Which would you pick, and why?
In case anyone missed recent stories/info/posts (as I did)