We're thinking of getting Documentation Insight Enterprise. I'm evaluating it as we speak. Does anyone know how to get the code in the DPR (project file) to show up in the document explorer and the generated html and chm files? I'm trying to document some DLL's, and our exported functions are in the DPR file, and while you can document the dpr (using the inspector, which then shows up in the source), the document explorer and the generated chm and html files don't show anything in the dpr file.
Posts
Showing posts from June, 2013
Can anyone think of a reason why someone would write:
- Get link
- X
- Other Apps
Today's gem is brought to you by not understanding "not":
- Get link
- X
- Other Apps
A major update for the TMS Component Pack (http://www.tmssoftware.com/site/tmspack.asp ) is available now. In this major update v7.0, 4 new components are added, TAdvStringGrid v7.2 is added and several new features & improvements to existing components.
- Get link
- X
- Other Apps
A major update for the TMS Component Pack ( http://www.tmssoftware.com/site/tmspack.asp ) is available now. In this major update v7.0, 4 new components are added, TAdvStringGrid v7.2 is added and several new features & improvements to existing components. - New: TAdvListBox: Listbox with built-in search,filtering,inserting - New: TAdvMultiButtonEdit: Edit control with configurable number of buttons left or right from edit - New: TAdvLabelEdit: Label with built-in inplace editor with OK/Cancel attached buttons for confirmation - New: TAdvCheckTreeview: Treeview with built-in support for checkboxes per node - New: edControlDropDown inplace editor in TAdvStringGrid - New: RemoveAccented option in Filter & NarrowDown() operation in TAdvStringGrid - New: FindMulti/FindMultiNext functions added to search on multiple columns in TAdvStringGrid - New: Exposed CompactWindow at TAdvToolbar level - New: Support for multiline hints in TAdvMetroHint - New: ShowFieldName in DB-aware edit com...
Found this little gem among the 500 stand alone functions in a unit called AMSMasterDataUnit.pas:
- Get link
- X
- Other Apps
Having a look at DunitLite (https://code.google.com/p/dunitlite/) and came across a compiling error under Delphi XE which I don't quite understand. The following class doesn't seem to play nice:
- Get link
- X
- Other Apps
Having a look at DunitLite ( https://code.google.com/p/dunitlite/ ) and came across a compiling error under Delphi XE which I don't quite understand. The following class doesn't seem to play nice: TSpecification = class(TInsulatedTest) strict protected type Given = Specifiers.Given; Should = Specifiers.Should; Specify = Specifiers.Specify; end; When TSpecification.Should or any others are used, the compiler reports: [DCC Fatal Error] ConstraintTests.pas(683): F2051 Unit ConstraintTests was compiled with a different version of Specifications.Should However, if the following is used TSpecification = class(TInsulatedTest) strict protected type Given = class(Specifiers.Given); Should = class(Specifiers.Should); Specify = class(Specifiers.Specify); end; It compiles fine. Dunitlite seems to be written for Delphi 2005+ (as it uses the for-in syntax) but breaks on Delphi 2010+. Does anyone know why the second class definition needs to be used, as I t...
I've just been told that this game was written completely in Delphi. The iPhone and iPad versions with Lazarus/free pascal:
- Get link
- X
- Other Apps
Multithreaded painting in Delphi? Yes it's possible!
- Get link
- X
- Other Apps
Multithreaded painting in Delphi? Yes it's possible! I did some quick hacking to see if I could make painting in a subthread possible (TCanvas etc). I made a stress test with FastReport printing in a subthread and heavy TMS painting in the main thread. Initialy I got acces violations in GDI32.dll after 18 pages, but I have now over 400 without problems! (in FinePrint, to save the trees :) ). The main problem in Delphi VCL Graphics.pas is the usage of a global var for "StockPen", "StockBrush" and "StockFont". These global vars are used for each paint, at least when you change the Canvas.Pen etc (and you do, if you want to paint something :) ). After changing these globals var into a threadvar (which is slower!), the same for FontManager, PenManager and BrushManager you get multithreaded painting in Delphi! (tested with 2010). Next problem are memory leaks: stuff needs to be cleaned up after each thread termination... Note: I had to save Graphics.pas to ...
http://www.thedelphigeek.com/2013/06/webinarsreschedule-and-recording.html
- Get link
- X
- Other Apps
ECMap 3.0 is available
- Get link
- X
- Other Apps
ECMap 3.0 is available TECNativeMap allows you to manipulate your maps without WebBrowser without javascript. The code is 100% Delphi thus lighter and faster, you can incorporate thousands of markers, polylines or polygons without cumbersome components based on web apis. Of course if you need to use Google maps, Google Earth, Bing Maps, CloudMade or Leaflet, our TECMap component is always available. A mega demo is available on our website http://www.helpandweb.com/ecmap/en/
New in TMS iCL v1.2: TTMSFMXNativeUITabBarController, a native iOS TabBarController + TTMSFMXNativeUIImagePickerController, a native iOS ImagePickerController
- Get link
- X
- Other Apps
TMS Cloud Pack v2.1 available now with a new component, TAdvInstagram, to get access to the Instagram service + several new features & enhancements are added to existing components.
- Get link
- X
- Other Apps
TMS Cloud Pack v2.1 available now with a new component, TAdvInstagram, to get access to the Instagram service + several new features & enhancements are added to existing components. Details of all new capabilities & improvements can be found here: http://www.tmssoftware.com/site/cloudpack.asp?s=history You can download the fully functional trial version from our website: http://www.tmssoftware.com/site/cloudpack.asp
Do they actually review their source code at Embarcadero or why does almost every fix introduce a new bug?
- Get link
- X
- Other Apps
I have just addressed a performance issue in XE4 (without update1). My parser benchmark program took 600ms when enabled Compile->Debug Information option in XE4. It only took 60ms in XE-XE3 with same project configuration. When I disabled the option in XE4, it is ok. (Optimization option doesn't have an impact in this case)
- Get link
- X
- Other Apps
I have just addressed a performance issue in XE4 (without update1). My parser benchmark program took 600ms when enabled Compile->Debug Information option in XE4. It only took 60ms in XE-XE3 with same project configuration. When I disabled the option in XE4, it is ok. (Optimization option doesn't have an impact in this case) Did you meet this situation?
So what's your thoughts on this? I like the 3.14 multiplier, but often use the IBM calculation - upgrade the estimate to the next unit and multiply the value by two [used for developers that we know have bad estimations]. eg: 1 hour estimate becomes 2 days. :)
- Get link
- X
- Other Apps
So what's your thoughts on this? I like the 3.14 multiplier, but often use the IBM calculation - upgrade the estimate to the next unit and multiply the value by two [used for developers that we know have bad estimations]. eg: 1 hour estimate becomes 2 days. :) http://coding.abel.nu/2012/06/programmer-time-translation-table/
A gentle request to users of our products....
- Get link
- X
- Other Apps
A gentle request to users of our products.... It is a problem that every time we make a release of kbmMemTable, then between 1 and 3 weeks after, it has been leaked on Chinese websites, shortly after followed by others. Since its happening constantly and every time we make a release, its obvious that its not by accident, but rather that its being deliberately done by a registered user. It is utterly and completely unacceptable that this is continuing to go on, and it makes me question what actions should be taken. Due to the leak issues previously we moved all our software downloads to the portal, trusting that paying users probably would be less inclined to leak the software, than non paying hackers. The move to the portal has obviously made life a little bit more complicated for people purchasing, since they have to go through the request license procedure. Unless legitimate users stop leaking our software, then a next step will most likely make it even more cumbersome to ...
Hi Folks
- Get link
- X
- Other Apps
Hi Folks, have you ever tried to "invert" the language of an application? The situation is as follows: We have an application whose UI is originally in German, since most of our customers are German. Modules that are shared with other applications have an English UI. All other applications UIs are originally in English. We are using gnu gettext to translate our UIs into the target language, so for this particular application we have hodgepodge->English, hodgepodge->German, hodgepodge->other language .po files. My goal is now to convert the original GUI of the application to English, so we can get rid of the hodgepodge->something translations and make life easier for future translators. My current idea is to do it in Delphi. I want to use xgettext to load the hodgepodge->English .po file, loop over all dfm and pas files and apply the "reverse" translation to them, so all original strings are English afterwards. Sounds easy enough, since xgettext alread...
A handy reference site for all things Delphi maintained by Lachlan Gemmell
- Get link
- X
- Other Apps
A handy reference site for all things Delphi maintained by Lachlan Gemmell Originally shared by The TIndex With hundreds of new links and a site redesign to separate topics into individual pages I’m pleased to announce The TIndex v1.5 is now live. Stay tuned, I’ve still got plenty more I plan to do with the site. http://www.tindex.net
Yet another text editor made by Delphi "AcroEdit" http://www.acrosoft.pe.kr/board/ae_download
- Get link
- X
- Other Apps
Does this make sense?
- Get link
- X
- Other Apps
Does this make sense? delete a from CLIENT_HISTORY.DBO.BLOB_PROVIDER_ADDRESS_OUTPUT_HISTORY a inner join CLIENT_HISTORY.DBO.BLOB_PROVIDER_XREF_PREP x on x.INDY_ID = a.INDY_ID and a.AMS_BATCH = 283 and a.SRC_CD = 1059 where x.AMS_BATCH = 283 and x.INDY_ID_END_DATE is not null Delete on an inner join? What the heck does that even mean?
Hola, soy de URUGUAY quiero saber si alguien puede ayudarme en aplicar la transformada de Hough para la detección de círculos en una imagen , lo quiero aplicar en delphi7 , desde ya muchas gracias. espero alguna respuesta.saludos.
- Get link
- X
- Other Apps
Hola, soy de URUGUAY quiero saber si alguien puede ayudarme en aplicar la transformada de Hough para la detección de círculos en una imagen , lo quiero aplicar en delphi7 , desde ya muchas gracias. espero alguna respuesta.saludos. Hi, I'm from URUGUAY want to know if anyone can help in applying the Hough transform to detect circles in an image, I want to apply in Delphi7, of course thank you very much. I hope some response, greetings.
I'm experiencing a weird issue with "zombie processes", and I'm curious if anyone has experienced anything similar.
- Get link
- X
- Other Apps
I'm experiencing a weird issue with "zombie processes", and I'm curious if anyone has experienced anything similar. We're using Task Scheduler to start our program every 3 minutes. The program imports some data to our database and outputs some files. It's part of an integration solution. The program runs from local disk on a MS Server 2008 in a "cloud VM". Now, the problem is that sometimes the process simply hangs after the call to "end." (the final end that is). Task Scheduler somehow doesn't understand what's going on and does not terminate the process. To avoid this issue I wrote a "watchdog" program. The main program aquires a named mutex before shutting down, and never releases it. When aquiring the mutex, it writes it's PID to a named memory-mapped file. After aquiring the mutex it writes to a log file and then it calls "end.". The whatchdog tries to aquire this mutex for a minute, and if it fails to d...
- Get link
- X
- Other Apps
Could someone point me in the direction of some good resources on Delphi component development (VCL or FMX)? I've been trying to get into component development for years now, but I usually end up giving up after a couple of days. I've picked up some tricks from studying existing components, but I'm looking for actual guides/tutorials to get a better understanding of the actual process and it's complexities. The docwiki does have some interesting information on the concept, but it seems to be limited. I don't mind buying a (e-)book if that's necessary.
A small tip about Character Encoding:
- Get link
- X
- Other Apps
A small tip about Character Encoding: If you directly write any Non-standard ASCII characters (>#127) in source code, please save the file as Unicode such as UTF8/UTF16. Otherwise, the source file may not be compiled. The following function was copied from SynEdit project (SynEditSearch.pas), it works well in CP-1250, but you might be surprised what it looks like in other code pages (like CP-936, Simplified Chinese). You see, there is not even ending single quote char. Do you know why? Take the character "°" for instance, it was saved as a singel byte #176 in the source file. This byte is regarded as a leading byte in DBCS code pages (as it is greater than 127) and the subsequent single quote byte will be taken as trailing byte so that the two bytes will be interpreted as a character. As this combination is invalid in current code page, it was translated with a question mark "?". So ... compiler failed. In addition, this kind of function is also not friendly(co...
http://wiert.me/2013/06/19/vintage-dave-is-working-on-a-new-multithreaded-memory-manager-for-delphi-that-does-not-have-a-global-lock/
- Get link
- X
- Other Apps
http://wiert.me/2013/06/19/vintage-dave-is-working-on-a-new-multithreaded-memory-manager-for-delphi-that-does-not-have-a-global-lock/ Interesting info of new memory manager on the works... http://wiert.me/2013/06/19/vintage-dave-is-working-on-a-new-multithreaded-memory-manager-for-delphi-that-does-not-have-a-global-lock/
Not tremendous useful today as when developed (Delphi 2010 time frame) but, if someone is still using my DataSnapFiltersCompendium, now can find the XE4 version on google code.
- Get link
- X
- Other Apps
Maybe someone here can help with this. Thanks in advance.
- Get link
- X
- Other Apps
I am trying to read a Unicode string from memory but I am not getting it right. The string I am attempting to read is "EMyExceptÙion" but what I am getting back is "EMyExceptATion" (the Ù turned in to AT). My code is as follows:
- Get link
- X
- Other Apps
I am trying to read a Unicode string from memory but I am not getting it right. The string I am attempting to read is "EMyExceptÙion" but what I am getting back is "EMyExceptATion" (the Ù turned in to AT). My code is as follows: SetString(LNameStr, PAnsiChar(PByte(LName) + 1), Byte(LName^)); Where LName is of type PAnsiChar to the text, with the first byte being the length of the string (similar to a short string?) I have tried a few things but I haven't got my head around text conversion :(
Confirm using const Epsilon slowdown fmx apps (and maybe not only fmx).
- Get link
- X
- Other Apps
Confirm using const Epsilon slowdown fmx apps (and maybe not only fmx). So: xe4, x32, when using constant Epsilon from System.Types module it takes too much time, and looks like that delphi act it as not Single, but extended or double and makes some conversions. If replace it with just 1E-40 as declared, it goes very much faster! Set {$EXCESSPRECISION OFF or ON} or Debug-Release configs - don't care on result. And if take into account that fmx use this constant about 40 times only in FMX.Type module we can see very slowdowning all apps done with fmx!
I uploaded my new WeakObjectReferences unit for Delphi 2009-XE4 that doesn't need a HashTable+ArrayList+global lock. It requires 36 bytes per object if WeakReferences exist no matter how many WeakReferences to the one object exist.
- Get link
- X
- Other Apps
I uploaded my new WeakObjectReferences unit for Delphi 2009-XE4 that doesn't need a HashTable+ArrayList+global lock. It requires 36 bytes per object if WeakReferences exist no matter how many WeakReferences to the one object exist. Have a look and tell me what you think. https://github.com/ahausladen/WeakObjectReferences
Small survey for component developers:
- Get link
- X
- Other Apps
Small survey for component developers: How do you sell/distribute your components - as opensource, as .dcu or as .bpl ? And similiar question for components/libraries users - which type of components do you use - distributed as opensource, .dcu, or .bpl? Do you have problems with closed source components (ie upgrading to newest IDE versions) ?
Any ideas how to get active platform with Delphi OpenTools API?
- Get link
- X
- Other Apps
Any ideas how to get active platform with Delphi OpenTools API? It seams like IOTABuildConfiguration doesnt contain needed properties. Example dump of build configuration below: [OwlyCI] Configuration: Debug [OwlyCI] Properties: [OwlyCI] Config name: Debug [OwlyCI] Config name: Debug [OwlyCI] * DCC_Optimize = false [OwlyCI] * DCC_GenerateStackFrames = true [OwlyCI] * DCC_Define = DEBUG [OwlyCI] Config name: Base [OwlyCI] * VerInfo_IncludeVerInfo = true [OwlyCI] * VerInfo_Keys = CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments= [OwlyCI] * GenDll = true [OwlyCI] * DCC_CBuilderOutput = All [OwlyCI] * jojona = YES [OwlyCI] * DCC_ImageBase = 00400000 [OwlyCI] * DCC_Namespace = Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell;System;Xml;Data;Datasnap;Web;Soap;Winapi;$(DCC_Namespace) [OwlyCI] * VerInfo_Locale = 1049 [OwlyCI] * GenPackage = true [OwlyCI] * OwlyCiDep = FastCode [OwlyCI]...
Anybody here using Primož Gabrijelčič GpProfile? I can't get it to work, after instrumenting and runnig the project it says:
- Get link
- X
- Other Apps
Is there any way to intercept every SQL that passes through a connection and change it?
- Get link
- X
- Other Apps
How about integrating Update 1 into the downloadable XE4 installer?
- Get link
- X
- Other Apps
We are searching for a flexible DBGrid component. It should be able to group data and still be rather fast. E.g. we want to display products with variations or product-sets. The 'father-product' should be displayed in the grid. When it is expanded, the variations should be listed below.
- Get link
- X
- Other Apps
We are searching for a flexible DBGrid component. It should be able to group data and still be rather fast. E.g. we want to display products with variations or product-sets. The 'father-product' should be displayed in the grid. When it is expanded, the variations should be listed below. Does anyone know a component that can be used for this case? PS.: A nice additional feature would be an automated refresh of the data inside the grid.
Looks like TIOBE isn't alone in differentiating Delphi and Pascal, other popularity indexes have the same issue:
- Get link
- X
- Other Apps
Looks like TIOBE isn't alone in differentiating Delphi and Pascal, other popularity indexes have the same issue: - http://www.langpop.com/ - http://lang-index.sourceforge.net/ Other indexes don't show the "runners up", so they may differentiate as well. For both indexes above, merging back Delphi & Pascal brings it back in the top 10.
TMS iCL v1.1 available now with several new features!
- Get link
- X
- Other Apps
TMS iCL v1.1 available now with several new features! Set of native iOS components for FireMonkey applications for iPhone, iPad, iPod. No compromises: 100% iOS performance, 100% iOS look & feel! What's new in v1.1: - New: Annotations (text/images) in TTMSFMXNativeMKMapview - New: Text editing events in TTMSFMXNativeUITextField & TTMSFMXNativeUITextView - New: Refresh Control support in TTMSFMXNativeUITableView - New: AutoResign property in TTMSFMXNativeUITextField and TTMSFMXNativeUITextView You can download the fully functional trial version from our website: http://www.tmssoftware.com/site/tmsicl.asp
Does anyone know what the IDE does upon start up? At home in a VM virtual machine, XE3 and XE4 starts fairly quickly. It just happened that over the weekend, I was hospitalised and at the end of my stay, I had my laptop in there (to keep me occupied) and found that XE3 took ages before showing the splash screen and XE4 splash screen hanged for a little while before continuing.
- Get link
- X
- Other Apps
Does anyone know what the IDE does upon start up? At home in a VM virtual machine, XE3 and XE4 starts fairly quickly. It just happened that over the weekend, I was hospitalised and at the end of my stay, I had my laptop in there (to keep me occupied) and found that XE3 took ages before showing the splash screen and XE4 splash screen hanged for a little while before continuing. I am guessing that both were trying to phone home (to Embarcadero) - Does anyone know if this true or not? I also found that if the IDE was open and I double-clicked on a project file in Windows Explorer, the IDE would hang for a little while - attempting to call home again? If the IDE is calling home, why does Embarcadero (and every other company that does this type of thing) assume that everyone has internet connection? and couldn't this be done in a background?
Anybody know how can I speed up searching int64 array?
- Get link
- X
- Other Apps
Blog post "Delphi XE4 Update 1" at http://blog.marcocantu.com/blog/delphi_xe4_udpate1.html
- Get link
- X
- Other Apps
XE4 Update 1 is available: http://cc.embarcadero.com/item/29446
- Get link
- X
- Other Apps
IDE Fix Pack 5.31 update for RAD Studio XE3 released. It fixes a Win64 compiler crash that was caused by an IDE Fix Pack patch.
- Get link
- X
- Other Apps
This morning, RAD Studio XE, on opening, gives me an AV, which appears to be related to CommCtrls.UxTheme in some way. The AV is persistent, it repeats endlessly, and always reports the same address, even after a system reboot. If anyone has any suggestions to offer, I would appreciate it. As it stands, it is opening a project by default, and I'm still looking for files to delete to clear that.
- Get link
- X
- Other Apps
This morning, RAD Studio XE, on opening, gives me an AV, which appears to be related to CommCtrls.UxTheme in some way. The AV is persistent, it repeats endlessly, and always reports the same address, even after a system reboot. If anyone has any suggestions to offer, I would appreciate it. As it stands, it is opening a project by default, and I'm still looking for files to delete to clear that. How can I (from outside the IDE) clear the default project?
Blog post "Delphi XE4 June Special Offers" at http://blog.marcocantu.com/blog/delphi_xe4_june_special_offers.html(http://www.embarcadero.com/radoffer)
- Get link
- X
- Other Apps
A redesigned iOS 7 is coming out this fall. What happens to FMX/iOS apps "look and feel"? Can EMBT keep things "pixel perfect"?
- Get link
- X
- Other Apps
Has anybody done any work in XE4 (mobile) with Google or Apple maps running on iOS?
- Get link
- X
- Other Apps
Blog post "Delphi XE4 Help Update 1" at http://blog.marcocantu.com/blog/delphi_xe4_help_update1.html
- Get link
- X
- Other Apps
Does anyone have a sample application of Delphi working with Google+ and Oauth..?
- Get link
- X
- Other Apps
IDE Fix Pack 5.3 with support for RAD Studio 2009-XE4 is released.
- Get link
- X
- Other Apps
New blog post on Embarcadero's announcement to Prism customers.
- Get link
- X
- Other Apps
Anyone here that have worked with Intel's MCA SDK?
- Get link
- X
- Other Apps
Anyone here that have worked with Intel's MCA SDK? Looking for sample code for grabbing input from the barcode scanner on a Motion F5 tablet. http://www.motioncomputing.com/products/tablet_pc_f5.asp http://software.intel.com/en-us/forums/mobile-clinical-assistant-mca-sdk http://software.intel.com/en-us/forums/mobile-clinical-assistant-mca-sdk
Wondering about a new project, I find an interesting issue, is it possible to create a dynamic linking library datamodule as you can do with forms?
- Get link
- X
- Other Apps
Wondering about a new project, I find an interesting issue, is it possible to create a dynamic linking library datamodule as you can do with forms? The infinite knowledge base from Stackoverflow has an entry about this, but the question is vague as the answers. Anyone has a better approach? http://stackoverflow.com/questions/1139102/data-module-in-dll-with-delphi
This does actually work, it's just woeful:
- Get link
- X
- Other Apps
This does actually work, it's just woeful: except on E: Exception do begin if E.ClassType = EOSError then begin // Ignore end else begin raise; end; end; end; Other people might be tempted to write: except on EOSError do ; end; The whole "every block must have a begin-end pair" rule leads to a certain amount of silliness that makes this sort of code look worse. I'm also not convinced that silently failing is a good idea in this case, but that's another whinge...
RAD Studio IDE plugin DDevExtensions 2.7 released with support for XE4.
- Get link
- X
- Other Apps
- Get link
- X
- Other Apps
When working with a REST invocation of a DataSnap server, you are supposed to be able to pass in the parameter ?json=false and the result will just be a string. Has anyone been able to get this to work? I always get a JSON returned but what I need is the exact string I create returned, nothing more/nothing less.
My simple dependency injection container for delphi, works on win32, win64 and... MacOSX (DelphiXE4)
- Get link
- X
- Other Apps
Product samples live in Subversion (and have done for a few versions) and don't remain stagnant.
- Get link
- X
- Other Apps
Hello. I do have the task to calculate graph layouts. Now I did check, what this is all about and... seems, this is not really trivial. There are only some few libraries available which implement graph layout algorithms, one of them is inlcuded here: http://www.eclipse.org/gef/zest/ (scroll down to bottom of page)
- Get link
- X
- Other Apps
Hello. I do have the task to calculate graph layouts. Now I did check, what this is all about and... seems, this is not really trivial. There are only some few libraries available which implement graph layout algorithms, one of them is inlcuded here: http://www.eclipse.org/gef/zest/ (scroll down to bottom of page) Anyone here who already has ported that package to Delphi or did implement something similar? Are there any (not too expensive) graph layout algorithm libraries available for Delphi? Thanks in advance :) http://www.eclipse.org/gef/zest/
Who would expect this to leak memory?
- Get link
- X
- Other Apps
Who would expect this to leak memory? program Project1; {$APPTYPE CONSOLE} uses SysUtils; type IFoo = interface procedure Bar; end; TFoo = class(TInterfacedObject, IFoo) private fProc: TProc; public constructor Create(const proc: TProc); procedure Bar; end; constructor TFoo.Create(const proc: TProc); begin inherited Create; fProc := proc; end; procedure TFoo.Bar; begin end; procedure CheckException(const proc: TProc); begin try proc(); except //... end; end; procedure Main; var foo: IFoo; begin foo := TFoo.Create(procedure begin end); CheckException(procedure begin foo.Bar end); end; begin ReportMemoryLeaksOnShutdown := True; try Main; except on E: Exception do Writeln(E.ClassName, ': ', E.Message); end; end.
Hoping someone can point me in the right direction on this.
- Get link
- X
- Other Apps
Hoping someone can point me in the right direction on this. I'm busy evaluating Delphi XE4 (trail) and am trying to build an IOS application. My issue is that the FMX does not allow you to change background colours of things like Panels and buttons etc. I have done some searching and they all point to right clicking on the object and editing the styles, however in the version I have (trail) those menu items are not there. Is there any other way of doing this? Or if someone could point me to a site or something that would help me understand this.
- Get link
- X
- Other Apps
Hoping someone can point me in the right direction on this. I'm busy evaluating Delphi XE4 (trail) and am trying to build an IOS application. My issue is that the FMX does not allow you to change background colours of things like Panels and buttons etc. I have done some searching and they all point to right clicking on the object and editing the styles, however in the version I have (trail) those menu items are not there. Is there any other way of doing this? Or if someone could point me to a site or something that would help me understand this.
- Get link
- X
- Other Apps
What is the justification of use .inc files to declare and implement code is some RTL units? Starting with #Delphi #XE2 many of the new RTL units related to Vcl styles, OSX and so on, uses inc files to declare types, classes and implement code (just like the FPC does), what is the justification to do that? you can see what i mean if you inspect one of these folders (source\rtl\posix, source\rtl\posix\osx, source\rtl\sys )
Having fun patching the VCL - http://stackoverflow.com/questions/16876977/tactionmainmenubar-vcl-styles-and-mdi-buttonsminimize-close-etc-not-being-st/16908360#16908360
- Get link
- X
- Other Apps
Having fun patching the VCL - http://stackoverflow.com/questions/16876977/tactionmainmenubar-vcl-styles-and-mdi-buttonsminimize-close-etc-not-being-st/16908360#16908360 http://stackoverflow.com/questions/16876977/tactionmainmenubar-vcl-styles-and-mdi-buttonsminimize-close-etc-not-being-st/16908360#16908360
I'm looking at the hints from JediCodeFormatter and Pascal Analyzer and when I see one in Primož Gabrijelčič code I go "he knows what he's doing" but when it's in my code I go "must fix!". That's probably the voice of experience speaking...
- Get link
- X
- Other Apps
I'm looking at the hints from JediCodeFormatter and Pascal Analyzer and when I see one in Primož Gabrijelčič code I go "he knows what he's doing" but when it's in my code I go "must fix!". That's probably the voice of experience speaking... JCF complains about the deprecated REAL type in gpTimeZone, but I suspect that could be because our version is very out of date since it is dated 2000 and comes via ESB.
JCL and JVCL are now both available at GitHub. Only the git master branch supports XE4.
- Get link
- X
- Other Apps
We have a RemObjects SDK based server and we would like to write a web based client that can interface with it. It will need to display quite a lot of records in grids.
- Get link
- X
- Other Apps
We have a RemObjects SDK based server and we would like to write a web based client that can interface with it. It will need to display quite a lot of records in grids. Does anybody have any recommendations or suggestions on a nice way to do this. We have used ASP.NET before, but it was not the greatest experience ever.
JCL and JVCL have completed the move to GitHub - DelphiFeeds.com
- Get link
- X
- Other Apps
DWScript news roundup for June 2013 - DelphiTools.info
- Get link
- X
- Other Apps
http://francois-piette.blogspot.be/2013/06/installing-ics-for-firemonkey-in-delphi.html
- Get link
- X
- Other Apps
Nick Hodges started a thread here https://forums.embarcadero.com/thread.jspa?threadID=88003. Regarding the promotion of Delphi, one of his statements says:
- Get link
- X
- Other Apps
Nick Hodges started a thread here https://forums.embarcadero.com/thread.jspa?threadID=88003 . Regarding the promotion of Delphi, one of his statements says: "Giving it away (or selling it for really low prices) in schools. Schools react, they don't lead. It's a huge effort with little return.". I'm not so sure about this. I know I started using Pascal/Delphi in University. My question is, what got you started with Delphi? https://forums.embarcadero.com/thread.jspa?threadID=88003