Posts

Showing posts from July, 2013

New OpenGL header version for Delphi. Supports OpenGL 4.4.

New OpenGL header version for Delphi. Supports OpenGL 4.4. http://www.pascalgamedevelopment.com/content.php?375-DGL-OpenGL-Header-4-4

Ann: NexusDB 10th anniversary sale

Ann: NexusDB 10th anniversary sale ============================= Ten years ago on this date, at 11.30pm, NexusDB v1.0 was released! Since then, we've had a quite a ride on the third party rollercoaster. To celebrate this happy jubilee, we have some special offers. Specials, lasting until the end of August: - For all new licenses, take 20% off the full price. Coupon code: 10YEARSNEW - For customers with current licenses of NexusDB Developer Edition, take 20% off the upgrade to The Full Monty pack*. Coupon code: 10YEARSMONTY - To upgrade, purchase the Full Monty renewal from the following link, and apply the coupon code during checkout. - http://www.nexusdb.com/support/index.php?q=node/27120

Dutch Pascal Conference Sept. 7. 2013 announced, and Ill be there talking about amongst other things, JSON, XML, AJAX and jQuery integration with kbmMW.

Dutch Pascal Conference Sept. 7. 2013 announced, and Ill be there talking about amongst other things, JSON, XML, AJAX and jQuery integration with kbmMW. For people having different preferences than "moi", there are many other speakers attending too :) I hope to see you there! http://www.blaisepascal.eu/index.php?actie=./DucthPascon/Info

Blog post "Buy Delphi, Get 6 Months Free Maintenance" at http://blog.marcocantu.com/blog/buy_delphi_free_maintanance.html

Blog post "Buy Delphi, Get 6 Months Free Maintenance" at http://blog.marcocantu.com/blog/buy_delphi_free_maintanance.html

Hi all

Hi all, I'm trying to understand some details on Google TOS in relation to a Delphi application.  Is it ok for google if you wrap a google search (or image search) with the whole browser in a TWebBrowser of a Delphi application? No automation involved, it's just a way to avoid user to open the browser as a separated app.

Well, I pulled the trigger and just purchased the upgrade from 2009 Pro to XE4 Pro. Now I just have to save my pennies to afford the mobility pack.

Well, I pulled the trigger and just purchased the upgrade from 2009 Pro to XE4 Pro.  Now I just have to save my pennies to afford the mobility pack. Now where did I put those planning specs on all those back burner projects?

When it was fixed ? We stumbled that XE2 happily finalizes constants, thus you cannot load the same BPL twice is you have another BPL with string constants. That happened in XE2 Win32, but seems it was already fixed in Xe4u1 Win32. Did not tested Win64 yet. I googled http://qc.embarcadero.com/wc/qcmain.aspx?d=79756 as the closest topic to the issue - but there is only a comment on this. I did not found yet any public reference to that bug and when and how it was fixed. Maybe some remembers ? Test project is at http://rghost.ru/47754697

When it was fixed ? We stumbled that XE2 happily finalizes constants, thus you cannot load the same BPL twice is you have another BPL with string constants. That happened in XE2 Win32, but seems it was already fixed in Xe4u1 Win32. Did not tested Win64 yet. I googled http://qc.embarcadero.com/wc/qcmain.aspx?d=79756 as the closest topic to the issue - but there is only a comment on this. I did not found yet any public reference to that bug and when and how it was fixed. Maybe some remembers ? Test project is at http://rghost.ru/47754697 http://qc.embarcadero.com/wc/qcmain.aspx?d=79756

New #TeeChart beta (VCL and #FireMonkey, from D7 up to XE4) uploaded: http://www.steema.com/linkIn/BETAVCL

New #TeeChart beta (VCL and #FireMonkey, from D7 up to XE4) uploaded: http://www.steema.com/linkIn/BETAVCL

Blog post "LLVM and Mobile App Speed" at http://blog.marcocantu.com/blog/llvm_mobile_app_speed.html

Blog post "LLVM and Mobile App Speed" at http://blog.marcocantu.com/blog/llvm_mobile_app_speed.html

ITDevCon2013 call4papers are open!

ITDevCon2013 call4papers are open! Send your proposal and come to the biggest European Delphi Conference! http://www.danieleteti.it/2013/07/28/itdevcon-2013-call-4-paper/ #delphi #itdevcon #mobile http://www.danieleteti.it/2013/07/28/itdevcon-2013-call-4-paper/

We're having problems dealing with FireMonkey 'native' iOS controls such as TWebBrowser. The problem is that they don't behave correctly when setting properties such as Position.X. Also, they don't allow FireMonkey controls to be displayed above them. Does anybody have a solution? See my StackOverflow question for more info. #ios #FireMonkey #Delphi

We're having problems dealing with FireMonkey 'native' iOS controls such as TWebBrowser. The problem is that they don't behave correctly when setting properties such as Position.X. Also, they don't allow FireMonkey controls to be displayed above them. Does anybody have a solution? See my StackOverflow question for more info. #ios #FireMonkey #Delphi http://stackoverflow.com/questions/17919378/firemonkey-controls-based-on-ios-controls-do-not-behave-correctly

Hi group

Image
Hi group, I am developing a Intraweb application.When i use WebApplication.Showmessage('test message') it gives different header of message box across the different browsers. i am attaching snap of message box on different browsers  any one having idea how we can have same message header.

I got developer access to the tdbf sourceforge project and made the packages compile with all Delphi versions I have got

I got developer access to the tdbf sourceforge project and made the packages compile with all Delphi versions I have got http://blog.dummzeuch.de/2013/07/27/tdbf-updates-help-required/

Using RTTI to convert record to/from string - DelphiFeeds.com

http://www.delphifeeds.com/go/f/106459
Does JCL/JVCL supports XE4 ?

Sometimes I hate generics and full qualified type names...

Sometimes I hate generics and full qualified type names... [DCC Error] Spring.Collections.Dictionaries.pas(430): E2010 Incompatible types: 'System.TArray .TKey,Spring.Collections.Dictionaries.TDictionary .TValue>>' and 'System.TArray .TKey,Spring.Collections.Dictionaries.TDictionary .TValue>>'

Issue with DLL debugging.

Issue with DLL debugging. Using XE4, I'm building a DLL and a VCL application which consume the DLL. Everything works fine except that sometimes, the debugger doesn't stop on breakpoints (Blue dots are not showing). After a while, it works again without apparent reason. I tried many things to make it works again once it is broken. I was not able to find out a reproductible way to have the blue dots back. Sometimes, it is enough to delete the directory conatining all DCU (same dir for app et dll). Sometimes not. Sometimes, restarting the IDE solve the issue. Sometimes not. Sometimes, doing a "clean" on both project solve the issue. Sometimes not. I don't clearly understand the underlaying mechanism and I cannot find a reproductible way to solve the issue. I'm not alone. See Stackoverflow article: http://stackoverflow.com/questions/5679989/delphi-why-breakpoints-from-time-to-time-are-not-usable-green-highlighted-line Any hint appreciated. Update: I've just f

I discovered now that github show ? on diffs for international characters like Swedish. I am sure it depends on that my Delphi 2007 save source as ANSI. It should be UTF-8. Is there a way to convert a whole project to UTF-8 and make it default when create a new unit or form ?

I discovered now that github show ? on diffs for international characters like Swedish. I am sure it depends on that my Delphi 2007 save source as ANSI. It should be UTF-8. Is there a way to convert a whole project to UTF-8 and make it default when create a new unit or form ? I read this post  http://www.micro-isv.asia/2008/12/choose-the-right-file-format-for-your-delphi-source-code/ http://www.micro-isv.asia/2008/12/choose-the-right-file-format-for-your-delphi-source-code/

If you read Malcom Groves recent blog post and have XE3 or XE4 you might have taken a look at the FMX.Messages unit.

If you read Malcom Groves recent blog post and have XE3 or XE4 you might have taken a look at the FMX.Messages unit. First I wondered what this has to do with FM - imho nothing. It should be part of the RTL as it clearly is platform/framework indipendent. Then if you take a look at the code you most likely will find a bug - in the TMessage.Manager.Unsubscribe - comparing the address of two delegates will most likely NOT result true. At least someone noticed that and fixed it for XE4 - BUT ONLY for the overload which takes the procedure of object parameter, not for the procedure reference. Did I mention that it does not remove all listeners if you added one more than once? Then obviously the person that wrote this don't know about TObjectDictionary that handles ownership of its values - no extra code in the destructor necessary - btw WHY THE F call FreeAndNil on a local variable (hence that cast to TObject because that needs to be passed to FreeAndNil)? Does anyone actually expect t

Component: TLabel

Component : TLabel Property : Transparent Delphi XE Why is the property Transparent depending on the Windows Theme setting? If my theme is set to "Windows 7" or "Windows 7 Basic", the property is default True. If my theme is set to "Windows Classic", the property is default False. What am I missing?

Fun US Highway sign I made to help people find their way to iPhone, Windows and Mac development.

Image
Fun US Highway sign I made to help people find their way to iPhone, Windows and Mac development.

As an aside to Jeroen Pluimers' blog entry on Messagepack/BSON, I note that on the Messagepack site, languages represented include Erlang, D, Scala, Haskell, Smalltalk, and OCaml, none of which appear on the TIOBE index top 20, and no entry for Pascal or Delphi.

As an aside to Jeroen Pluimers' blog entry on Messagepack/BSON, I note that on the Messagepack site, languages represented include Erlang, D, Scala, Haskell, Smalltalk, and OCaml, none of which appear on the TIOBE index top 20, and no entry for Pascal or Delphi.  My point being that the absence of popular support for Delphi and Pascal has much less to do with actual usage than with other factors.

Has anyone worked with the MMap component in HTML5Builder? The documentation says that the map can be referenced in JavaScript my using the componentname_map but that object does not exist in the DOM. I have used FireBug to try and snoop out the global variable to no luck. Has anyone used the map and how do you reference it in code?

Has anyone worked with the MMap component in HTML5Builder? The documentation says that the map can be referenced in JavaScript my using the componentname_map but that object does not exist in the DOM. I have used FireBug to try and snoop out the global variable to no luck. Has anyone used the map and how do you reference it in code? Thanks, Jim

Do you think delphi for android will support new api or need to wait until delphi get updated? i mean, can we just make translation to the api header and make use of them?

Do you think delphi for android will support new api or need to wait until delphi get updated? i mean, can we just make translation to the api header and make use of them? Originally shared by Android Developers Android 4.3, updated developer tools, and backwards compatible Action Bar Available Now   Android 4.3, a sweeter version of Jelly Bean, includes performance enhancements to keep your apps fast, smooth, and efficient; together with new APIs and capabilities including: * OpenGL ES 3.0 Take advantage of OpenGL ES 3.0 and EGL extensions as standard features of Android, with access from either framework or native APIs. * Bluetooth Smart Communicate with low-power Bluetooth Smart devices and sensors to provide new features for fitness, medical, location, proximity, and more. * Restricted profiles Tablet owners can create restricted profiles to limit access to apps, for family, friends, kiosks, and more. Your app can offer various types of restrictions to let tablet owners control

An interesting read for those moving into mobile development. They touch on ARC, traditional GC, and manual memory management. Warning, it is a looong article.

An interesting read for those moving into mobile development.  They touch on ARC, traditional GC, and manual memory management.  Warning, it is a looong article. http://sealedabstract.com/rants/why-mobile-web-apps-are-slow/

http://www.quickmeme.com/meme/3va3f8/

http://www.quickmeme.com/meme/3va3f8/ http://www.quickmeme.com/meme/3va3f8/

Interesting VCL control to embed a FireMonkey form in a VCL form. ;)

Interesting VCL control to embed a FireMonkey form in a VCL form. ;) https://code.google.com/p/firemonkey-container/
Can I use both Delphi XE3 and XE4 to work on the same project? What are the drawbacks? Would I need to maintain multiple project or settings files or something like that?

I wish EMBT would use tag in ToolsAPI.

I wish EMBT would use tag in ToolsAPI. Otherwise I really have no idea about how to properly use some interfaces. e.g.   /// RAD Studio 2009     IOTAEditBuffer = interface(IOTAEditBuffer60)   //...   end;

I wish EMBT would use tag in ToolsAPI. Otherwise I really have no idea about how to properly use some interfaces.

I wish EMBT would use tag in ToolsAPI. Otherwise I really have no idea about how to properly use some interfaces. e.g.   /// RAD Studio 2009     IOTAEditBuffer = interface(IOTAEditBuffer60)   //...   end;
While I am building our own compiler for DocInsight 3, I realized that the compiler directive $IF is really evil (compared to its occasional power). The usage of Declared/SizeOf/etc in the condition expression makes three stages lexing/parsing/compilation gone. It also seems impossible to benefit from parallel in multi-core machines. Typically, if you use $If Declared/SizeOf in type declaration, the Delphi IDE (or third-party utils) may not handle it properly as the IDE only parses a single unit to get its structure.

I'm searching for a bug tracking and feature request OpenSource system.

I'm searching for a bug tracking and feature request OpenSource system. Something simple with a web interface. Similar to QC is OK. Any hint? http://www.proprofs.com/flashcards/upload/a7519296.jpg http://www.proprofs.com/flashcards/upload/a7519296.jpg

I'm searching for a bug tracking and feature request OpenSource system. Something simple with a web interface. Similar to QC is OK.

I'm searching for a bug tracking and feature request OpenSource system. Something simple with a web interface. Similar to QC is OK. Any hint? http://www.proprofs.com/flashcards/upload/a7519296.jpg http://www.proprofs.com/flashcards/upload/a7519296.jpg

ANN: kbmSQLiteMan v. 1.30 released.

Image
ANN: kbmSQLiteMan v. 1.30 released. We are happy to provide an update to the new cool, free product to our friends of Components4Developers. Its a simple to use SQLite database manager application, which includes support for SQLite 3.7. Now with support for: - multiple active queries - sorting ascending, descending, non sorted by clicking on column header - filter expressions on result set - improved resolving - drag/drop table/field names to query editor from structure view - support for specifying database file as commandline argument - doubleclick on table to autogenerate and autorun select statement for that table - various other bugfixes and improvements. To access the free download, register and login on our portal at https://portal.components4developers.com . The download will be readily available in your "Approved licenses" section.

Please, never ever do this:

Please, never ever do this: function TSomething.GetRecord(Buffer: {$IFDEF DELPHI_2009} RecordBuffer{$ELSE}PChar{$ENDIF}; GetMode: TGetMode; DoCheck: Boolean): TGetResult; http://blog.dummzeuch.de/2013/07/23/using-and-ab-using-ifdef/

Originally shared by Thomas Mueller (dummzeuch)

Originally shared by Thomas Mueller (dummzeuch) Does anybody know where the latest sources of tdbf are? The apparently are not in the Sourceforge repository. https://sourceforge.net/p/tdbf/discussion/107245/thread/9a0225e9/#1eea

Hello

Hello I just made a video from my first iOS app that I made with Delphi XE4: Digifort Mobile Camera with Delphi XE4 This is a software that "turns" your iPhone into a security camera, streaming live video from the iPhone camera to Digifort camera surveillance system (Also compiled in XE4). I took about 2 weeks to finish the app (Including the time to learn the Firemonkey for iOS), but now I'm just waiting apple developer to be online again in order to send my app for approval Comments are appreciated! http://www.youtube.com/watch?v=u_lEPpp7oeA
If you need a particular Delphi code example, see this post. ;)

1900 members :)

1900 members :)

TMS Cloud Pack v2.2 available now with one new component, TAdvFourSquare, to get access to the FourSquare service: http://www.tmssoftware.com/site/cloudpack.asp

Image
TMS Cloud Pack v2.2 available now with one new component, TAdvFourSquare, to get access to the FourSquare service: http://www.tmssoftware.com/site/cloudpack.asp

Uploaded doc with new features and changes of next coming TeeChart beta (VCL and FireMonkey) #delphi http://www.teechart.net/files/beta/teechart/vcl/WhatsNew/TeeChart%20WhatsNew%202013.htm

Uploaded doc with new features and changes of next coming TeeChart beta (VCL and FireMonkey) #delphi http://www.teechart.net/files/beta/teechart/vcl/WhatsNew/TeeChart%20WhatsNew%202013.htm

New blog post: “2013.2 and Beyond“ — a sneak peek at our next year of plans here at RemObjects Software.

New blog post: “2013.2 and Beyond“ — a sneak peek at our next year of plans here at RemObjects Software. http://blogs.remobjects.com/blogs/mh/2013/07/17/p6143

Blog post "FireMonkey Webinar and White Paper" at http://blog.marcocantu.com/blog/firemonkey_webinar_white_paper.html

Blog post "FireMonkey Webinar and White Paper" at http://blog.marcocantu.com/blog/firemonkey_webinar_white_paper.html

I am looking for suggestions on some code rework.

I am looking for suggestions on some code rework. Given: Data import from a spreadsheet, with column names in the first row. Column order and count are now subject to change. I must import to a grid, and in the grid, present in-place editors as well as validation for the import data. Numerous of the editors are combo boxes populated from the DB. What I thought to do was define in a const array the things I must know for each column (column name, header, field name, and so on), and to define this statically. While that works well enough, maintenance of the array is a mind-numbing affair, and as I am now dealing with 9 items for each column, and over 40 columns, well, it's not pretty. I'd appreciate suggestions from anyone with a neater solution to taming this monster.

NexusDB Secure Pro Encryption Pack update and price drop

NexusDB Secure Pro Encryption Pack update and price drop NexusDB is happy to introduce both a major update of the Secure Pro Encryption Pack add-on to our database product, and a significantly lower product cost. NEW!  There are 5 new encrypted transports to choose from, with different encryption methods and strengths:   TnxDiffieHellman2048WithAesGcmSecuredTransport   TnxDiffieHellman2048WithAesCcmSecuredTransport   TnxDiffieHellman8192WithAesGcmSecuredTransport   TnxDiffieHellman8192WithAesCcmSecuredTransport   TnxDiffieHellman8192WithShaCalSecuredTransport NEW! The server web configuration interface can now support SSL, to enforce security of the configuration access. New pricing: Effective immediately, the Secure Pro add-on pack is now priced at only AUD 200. This price is so good, there is no excuse not to protect your client's databases and backups! And of course, it is still part of The Full Monty Pack, the best money saving option for our customers when you need several of

Delphi Programming Tutorial #94 Begin instead of Initialization

http://www.youtube.com/watch?v=8TaDC6bYS-o

Here's my solution to the "can't combine constant arrays"... record constants with booleans in them. I'm posting code because of the truly ugly "decide based on four booleans" decision tree that I had to code. I decided that "A XOR B NAND C XNOR D" type code was just not maintainable so I went with one if statement per use case. I decided to include a picture of the code because that's what I see and I think it's easier to read.

Image
Here's my solution to the "can't combine constant arrays"... record constants with booleans in them. I'm posting code because of the truly ugly "decide based on four booleans" decision tree that I had to code. I decided that "A XOR B NAND C XNOR D" type code was just not maintainable so I went with one if statement per use case. I decided to include a picture of the code because that's what I see and I think it's easier to read. type   TInstallRec = record     ProgramOne: Boolean;     ProgramTwo: Boolean;     Name: string;   end; const   INSTALL_FILES: array[1..82] of TInstallRec = (     { 1}(ProgramOne: True; ProgramTwo: True; Name: 'data.zip'), function FileInInstallList(const Filename: string; IncludeSolutionlink, IncludeVisionlink: Boolean): Boolean; var   i: Integer; begin   result := False;   i := Low(INSTALL_FILES);   while (not result) and (i <= High(INSTALL_FILES)) do   begin     result := SameText(Filename, INSTALL_

Guess what the output of this code is... there's no tricks, it's just a constant array and a "find the index" function.

Guess what the output of this code is... there's no tricks, it's just a constant array and a "find the index" function. program console_test; {$APPTYPE CONSOLE} uses   SysUtils; const   TEST_ARRAY: array[100..102] of string = ('one', 'two', 'three'); function IndexOfStringInArray(const AString: string;    aArray: array of string): Integer; begin   // SameText is case insensitive   result := Low(aArray);   while (result <= High(aArray))      and not SameText(AString, aArray[result]) do   begin     Inc(result);   end;   if result > High(aArray) then     raise Exception.Create('string not found in array'); end; var   i: Integer; begin   try     WriteLn('String "one" found at index ',       IndexOfStringInArray('one', TEST_ARRAY));     //for i := Low(TEST_ARRAY) to High(TEST_ARRAY) do     //  WriteLn(i, ' = ', TEST_ARRAY[i]);     ReadLn;   except     on E: Exception do       WriteLn(E.ClassName, '

Dear Delphi Developers

Dear Delphi Developers,  Please, please, PLEASE do not do this: Do not use an identifier for a field in your class, and then use that exact same identifier as a parameter on about six different methods in that class.   Please, I beg you. Your Pal, Nick

Jim McKeeth goes to EMBT. The new position is Developer Relations Lead Evangelist/Engineer. Should be interesting to watch for the bias shift. I wonder what RemObjects thinks about it?

Jim McKeeth goes to EMBT.  The new position is Developer Relations Lead Evangelist/Engineer .  Should be interesting to watch for the bias shift.   I wonder what RemObjects thinks about it?  http://blogs.embarcadero.com/davidi/2013/07/15/42799

It will not run Delphi application but it will for sure run Smart apps!

It will not run Delphi application but it will for sure run Smart apps! http://instagram.com/p/byjgF7Fttm/

ANN: kbmSQLiteMan v. 1.1 - New free and simple SQLIte manager product has been released!

Image
ANN: kbmSQLiteMan v. 1.1 - New free and simple SQLIte manager product has been released! We are happy to provide an update to the new cool, free product to our friends of Components4Developers. Its a simple to use SQLite database manager application, which includes support for SQLite 3.7. It supports: - Syntax highlighting - Improved blob interpretation/preview - Structure view with SQL generation - Save/load scripts - Save dataset results to CSV, XML and JSON file - In line editing and resolving for non complex SELECTs - SQLite v. 3.7+ - Pragma view with help reference. Whats new: - Most recently opened databases in File menu - Right click popup menus on structure view (tables, fields) - New Pragma panel with all SQLite supported Pragmas, and popup menu for copying pragma to code editor, and quick help. - Various fixes To access the free download, register and login on our portal at  https://portal.components4developers.com . The download will be readily available in your "Approv

ANN: kbmSQLIteMan - New free and simple SQLIte manager product has been released!

Image
ANN: kbmSQLIteMan - New free and simple SQLIte manager product has been released! We are happy to provide yet another cool, free product to our friends of Components4Developers. Its a simple to use SQLite database manager application, which includes support for SQLite 3.7. It supports: - Syntax highlighting - Some level of blob interpretation/preview - Structure view - Save/load scripts - Save dataset results to CSV, XML and JSON file - In line editing and resolving for non complex SELECTs - SQLite v. 3.7+ To access the free download, register and login on our portal at  https://portal.components4developers.com . The download will be readily available in your "Approved licenses" section. best regards Kim Madsen Components4Developers www.components4developers.com

We'd like to invite you to have a look at our new iOS Showcase!

We'd like to invite you to have a look at our new iOS Showcase! With this showcase demo, we wanted to demonstrate the power of both TMS iCL (version 1.5) and TMS Cloud Pack for iOS (version 1.1) products for creating iOS applications. We refer to the power in terms of achieving a 100% true native iOS look and feel, using RAD methodology for developing the application, almost codeless access to a wide range of cloud services, access the iOS device hardware and finally getting the most performance out of the application. A download of the showcase demo is available at http://www.tmssoftware.com/site/iosshowcase.asp Direct link to the video: iOS showcase http://www.tmssoftware.com/site/iosshowcase.asp

Based on the recent EMBT survey and comments here by Marco Cantù, it seems clear that new versions of Delphi will focus on new features.

Based on the recent EMBT survey and comments here by Marco Cantù, it seems clear that new versions of Delphi will focus on new features. We've been told before that nobody, or not enough people, will pay for just bug fixes and improvements, but I don't believe that is the case.  Who would be happy to pay for an upgrade that was primarily focused on bug fixes and performance improvements?  I know that I would.

http://www.pockhero.com/firemonkey-direct2d-and-gdiplus-performance-comparison/

http://www.pockhero.com/firemonkey-direct2d-and-gdiplus-performance-comparison/ http://www.pockhero.com/firemonkey-direct2d-and-gdiplus-performance-comparison/

Blog post "Take the Delphi Developers Survey 2013" at http://blog.marcocantu.com/blog/take_delphi_survey_2013.html

Blog post "Take the Delphi Developers Survey 2013" at http://blog.marcocantu.com/blog/take_delphi_survey_2013.html http://blog.marcocantu.com/blog/take_delphi_survey_2013.html

hello everybody

Image
hello everybody,  i tried to create new dbgrid component inherited from tdbgrid. my purpose is to easily display widememo or memo data type on it. i managed to display it, but there still problem when displaying the data, it's displayed double when the row get focus. just like  the preview. and here is the code i put ondrawcolumncell event. i override the ancestor ondrawcolumcell event.  procedure TWKDBGrid.DrawColumnCell(const Rect: TRect; DataCol: Integer;   Column: TColumn; State: TGridDrawState); var   OutRect: TRect;   F : TField;   sTeks: string;   lstate : TGridDrawState; begin   lstate := [gdSelected];   F := Column.Field;   if f <> nil then   begin     if (f.DataType =  ftWideString) or        (f.DataType = ftWideMemo) or        (f.DataType =  ftMemo) then     begin       if FShowMemoAsText then       begin         if gdSelected in lstate then         begin           if (f.DataType =  ftWideString) or              (f.DataType = ftWideMemo) or              (f.DataType

NexusDB Server License Plugin update released

NexusDB Server License Plugin update released An update has been released to our Server License Plugin. This plugin can be compiled into your custom NexusDB server, and provide control over server end-user licensing. The Server License Plugin v2 has these main features: - limit the number of users that can log on to nxServer - limit by session count, or [NEW!] by machine (multiple sessions on a single machine counts as one) - optionally support an expiry date after which nxServer no longer accepts connections - allow for server displayable usernames set on the client side - license keys with embedded CR/LF (eg from email linebreak formatting) are correctly handled [NEW!] The NexusDB Team

We're excited to announce the availability of TMS iCL: native iOS RAD controls v1.5 that includes several new components!

Image
We're excited to announce the availability of TMS iCL: native iOS RAD controls v1.5 that includes several new components! What's new in v1.5: - New: introducing TTMSFMXNativeUIPageViewController - New: introducing TTMSFMXNativeUIPDFPageViewController - New: introducing TTMSFMXNativeUIPDFViewController  - New: introducing TTMSFMXNativeUINavigationController - New: introducing TTMSFMXNativeUIActionSheet - New: introducing TTMSFMXNativeMFMailComposeViewController - New: introducing TTMSFMXNativeMFMessageComposeViewController - New: Overlays in TTMSFMXNativeMKMapView: circle,polyline,polygon - New: UserTrackingMode in TTMSFMXNativeMKMapView - New: demos for actionsheets, custom drawing, view flip animation, mail, map, PDF viewer, page navigation - Improved: annotation handling in TTMSFMXNativeMKMapView You can download the fully functional trial version for Delphi XE4 from our website: http://www.tmssoftware.com/site/tmsicl.asp No compromises: 100% iOS performance, 100% iOS look &a

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/

XE4 PAServer (Win32) - rmtdbg180.exe lingers

XE4 PAServer (Win32) - rmtdbg180.exe lingers Anyone have a good tip for avoiding the app being stuck in the remote debugger when recompiling and redeploing? I have to kill two instances of the rmtdbg180 before I can redeploy. #paserver   #remotedebugging

TMS WebOSMaps for iOS v1.0 has been released, components to integrate OpenStreet maps in iOS applications.

Image
TMS WebOSMaps for iOS v1.0 has been released, components to integrate OpenStreet maps in iOS applications. http://www.tmssoftware.com/site/tmsfmxwebosmaps.asp TMS WebOSMaps for iOS is available for purchase separately and is also included in TMS Component Studio for iOS: http://www.tmssoftware.com/site/tmsfmxstudio.asp Kind regards, Nancy Lescouhier Email: info@tmssoftware.com Web: http://www.tmssoftware.com

We're pleased to present a new FireMonkey component with extensive configurability for integrating Google Maps in iOS applications: TMS WebGMaps for iOS v1.0

Image
We're pleased to present a new FireMonkey component with extensive configurability for integrating Google Maps in iOS applications: TMS WebGMaps for iOS v1.0 You can download the trial version for Delphi XE4 from our website: http://www.tmssoftware.com/site/tmsfmxwebgmaps.asp TMS WebGMaps for iOS is available for purchase separately and is also included in TMS Component Studio for iOS: http://www.tmssoftware.com/site/tmsfmxstudio.asp - Kind regards, Nancy Lescouhier TMS software team Email: info@tmssoftware.com Web: http://www.tmssoftware.com

Can anyone or Marco Cantù suggest to me "why we choose Delphi for mobile device over other mobile solution (virtual machine/scripting)"

Can anyone or Marco Cantù suggest to me "why we choose Delphi for mobile device over other mobile solution (virtual machine/scripting)" I mean what other benefit we get other then speed. The other solution can access hardware service too. So i might missing some other information.  I'm asking this not because i don't like Delphi mobile solution, but i am planning to write a book about Delphi for mobile device, and i need to convince my reader why they should think about to use Delphi over other cheaper solution.  Thanks

Language enhancement are centered around several additions for enumeration elements and sets, as well as a standard Map() method for arrays. The JIT compiler also got more capable, and there were various improvements to the support libraries and compatibility with older (D2009) and newer (DXE3) Delphi versions.

Language enhancement are centered around several additions for enumeration elements and sets, as well as a standard Map() method for arrays. The JIT compiler also got more capable, and there were various improvements to the support libraries and compatibility with older (D2009) and newer (DXE3) Delphi versions. http://delphitools.info/2013/07/09/dwscript-news-roundup-july-2013/
Just wondering is it possible to create a delphi application that connects with SAP B 1?
Has anyone knows whether we can build a console application with firemonkey framework for mobile? My goal is to be able to create a console application running on arm device. Thanks

Ich bräuchte mal Hilfe bei dieser Fehlermeldung.

Image
Ich bräuchte mal Hilfe bei dieser Fehlermeldung.  Sie tritt nur auf wenn in einer MSSQL-Datenbank ein VARCHAR(MAX) Feld mit Daten gefüllt ist.  Solange das Feld leer ist, gibt es kein Problem. Auch das erfassen von Daten und Wechseln der Datensätze ist kein Problem.  Ich kann auch das Unterform zur Erfassung der Daten schließen und wieder öffnen.  Sobald ich aber die Anwendung komplett verlasse und wieder aufrufe bekomme ich die abgebildete Fehlermeldung.  Wenn ich dann mit Hilfe des SQL Management Studios die Daten wieder aus dem VARCHAR(Max) Feld lösche, kann ich das Form wieder aufrufen.  Ich bräuchte mal Hilfe dabei herauszufinden warum ich keine DBMemo Felder verarbeiten kann.

Hello.

Hello. I need to use Fast Fourier transform from SDL Component Suite(library for Delphi) I'm using Delphi for the first time. I have Delphi XE4 Lite instaled on my Windows 7. I've installed SDL Component Suite. How to import modules from the library? I've found only *.dcu and *.dcr files.

ANN: kbmMW v. 4.30.00 Professional and Enterprise Edition released.

ANN: kbmMW v. 4.30.00 Professional and Enterprise Edition released. We are happy to announce the availability of a new kbmMW release! This release adds support for Delphi XE4 Win32/Win64/OSX. In addition it includes a new JSON object marshaling framework which allows you to easily marshal Delphi objects to and from JSON. The release also includes numerous fixes and other enhancements. Please check the log further down in this post! The new object marshalling features supports automatic serialization and  deserialization of complex objects, which may contain other objects, lists, arrays, records and more. It also contains object validation  functionality, to test for the validity of data in an object before its serialized, and during/after its being deserialized. This release require kbmMemTable v. 7.30.00.   4.30.00 June 30 2013          New stuff          =========          - Added support for Delphi XE4 Win32/Win64/OSX.          - Added function AttributeValueByIndex(const          

ANN; kbmMemTable v. 7.30.00 Standard and Professional Edition has been released!

ANN; kbmMemTable v. 7.30.00 Standard and Professional Edition has been released! Whats new in v. 7.30.00 17. June 2013 -------------------------------------  - Supports XE4 Win32/Win64.  - Removed KBM_MAX_FIELDS (256) limitation. Now any number of fields are automatically supported.  - Fixed simple but serious STDDEV calculation bug.  - Fixed * (wildcard) bug in SQL.  - Improved Extract method to respect filters and ignore null field    options. The latest and greatest release is readily available for download for users having an up to date active SAU, by visiting the download portal at https://portal.components4developers.com . If your SAU has expired, please visit our shop at www.components4developers.com to purchase a 12 months extension to the Service and Update subscription.  kbmMemTable is the fastest and most feature rich memory table for Delphi, C++Builder and FreePascal! A free to use kbmMemTable CodeGear Edition is available as a bundle with the free to use kbmMW CodeGear Ed
All High-Level webinars are now available, as is a special $25 bundle of all three webinars!

facepalm @ Embarcadero Forums.

facepalm @ Embarcadero Forums. Since I changed my email address a while ago all my previous posts are not associated with my account anymore and marked as Guest .

This is driving me nuts. We have rather lots of these arrays in our install/upgrade codes (lists of files) and they are badly out of sync. Being able to have a few smaller "constant array of string"s and compose the rest out of those would make life much easier.

This is driving me nuts. We have rather lots of these arrays in our install/upgrade codes (lists of files) and they are badly out of sync. Being able to have a few smaller "constant array of string"s and compose the rest out of those would make life much easier. I'm beginning to think the whole "constant array" is an ugly kludge hammered onto the side of Pascal when it became obviously necessary, rather than something that's been thought through. It's bad enough that we have three or four different ways to get the same result (if you count "array of const" parameters) that are incompatible with each other, and only one can actually be declared at compile time.  I will try concatenating functions that return arrays now, that should be fun. That way I can make them return constants... how ugly can we get? THIS UGLY! http://stackoverflow.com/questions/17460378/possible-to-concatenate-constant-array-of-string http://stackoverflow.com/questions/1746

A great source of free e-books for those working with Microsoft technologies. Not sure how long it will last, so download what you need now.

A great source of free e-books for those working with Microsoft technologies.  Not sure how long it will last, so download what you need now. http://blogs.msdn.com/b/mssmallbiz/archive/2013/06/28/almost-150-free-microsoft-ebooks-covering-windows-7-windows-8-office-2010-office-2013-office-365-office-web-apps-windows-server-2012-windows-phone-7-windows-phone-8-sql-server-2008-sql-server-2012-sharepoint-server-2010-s.aspx

Smart Mobile Studio 1.1.2 [beta] was released today!

Smart Mobile Studio 1.1.2 [beta] was released today! http://smartmobilestudio.com/2013/07/03/smart-mobile-studio-1-1-2-beta/

Hi Delphiers

Hi Delphiers, I'm actually developping software using XE2, and my company biggest product is developped with Delphi 4 and has a Midas server. A complete rewrite of this application is planned in a mid term future, but actually I need to pick some data from this application. Is there any possibility to connect to an antique Midas server from XE2  in order to perform basic tasks (get the content of some tables) ? Google doesn't helped me at all to find if it's possible or not. TY for your answers

Gents --

Gents -- I know this is a totally open ended question with little information, but here goes...... Can anyone think of a reason that a socket server application would hum along just fine accepting connections, and then suddenly stop, giving the dreaded 10061 error (Connection actively refused)? That's happening to me and I don't have many more details than that.

Note to my future self...

Note to my future self... Be careful inverting an if statement that's comparing integers. if SomeInt = SomeOtherInt then   //... else   //... The following: if not SomeInt = SomeOtherInt then Does a bitwise negation of SomeInt before comparing it to SomeOtherInt. The correct inversion is: if not (SomeInt = SomeOtherInt) then or if SomeInt <> SomeOtherInt then

My favorite example of novice programming:

My favorite example of novice programming: if SomeCondition then   SomeVar := True else   SomeVar := False; because SomeVar := SomeCondition; is too easy.

Fellow Delphi developers

Fellow Delphi developers, We wanted to let you know that we are offering a huge 50% discount on HelpNDoc Professional Edition starting now and for 24 hours only! HelpNDoc is an easy to use yet powerful help authoring tool producing CHM help files, HTML or mobile WebSites, Word and PDF manuals as well as ePub and Kindle eBooks from a single source. 50% discount page valid for 24 hours only: http://www.bitsdujour.com/software/helpndoc-professional-edition/saf=500435/ Best regards, John, HelpNDoc team. http://www.helpndoc.com http://www.bitsdujour.com/software/helpndoc-professional-edition/saf=500435/

RttiSpy is coming! It helps you easier to explore all enhanced RTTL information which lives in application. As you can see in the snapshots, they are organized in package/units/types and can be navigated by clicking hyperlinks. If you are interested in the beta, please leave a mark. (P.S. This is a commercial product)

Image
RttiSpy is coming! It helps you easier to explore all enhanced RTTL information which lives in application. As you can see in the snapshots, they are organized in package/units/types and can be navigated by clicking hyperlinks. If you are interested in the beta, please leave a mark. (P.S. This is a commercial product)