Posts

Any good reason for a Seattle SP 1 Win32 application to raise an error in SysGetMem ?

Image
Any good reason for a Seattle SP 1 Win32 application to raise an error in SysGetMem ? it occurs in a Thread on a TStringList.Text := Str

Anybody knows when the results for the Bad Code Contest will be announced? Who is on the commission?

Anybody knows when the results for the Bad Code Contest will be announced? Who is on the commission? A

Stackoverflow vs Google+ for Delphi?

Stackoverflow vs Google+ for Delphi? Stackoverflow is usually my go-to place for answers on development issues. However it seems that a lot of Delphi related Q&A is now being done in this group as opposed to SO. So is the Delphi community now preferring this forum over others? I've even found myself seeking programming answers here and often what seems to be an "ignored" SO question ends up on here as last cry for help. I like Stack Overflow for its historical artifacts and powerful search capabilities as opposed to the G+ forums which are almost impossible to find things beyond the last few pages. This is just my observations, interested to hear other thoughts.

Maybe someone can take a look at my current problem on Stackoverflow with Spring4D?

Maybe someone can take a look at my current problem on Stackoverflow with Spring4D? http://stackoverflow.com/q/35922238/5648977?sgp=2

Why is the GPUCanvas disabled by default in FMX on WIndows?

Why is the GPUCanvas disabled by default in FMX on WIndows? In a test-application i noticed huge improvements to resizing of elements in terms of being more fluid. http://docwiki.embarcadero.com/Libraries/Seattle/en/FMX.Types.GlobalUseGPUCanvas http://docwiki.embarcadero.com/Libraries/Seattle/en/FMX.Types.GlobalUseGPUCanvas

I know I can write MyRecordVar := Default(TMyRecordType) because I asked a question in the Embarcadero Forum and Remy Lebeau kindly answered it. Unfortunately I was stupid enough and didn't copied it to my local notebook, so again I can't find anything about it in the documentation, and the forum database seem to be gone.

I know I can write MyRecordVar := Default(TMyRecordType) because I asked a question in the Embarcadero Forum and Remy Lebeau kindly answered it. Unfortunately I was stupid enough and didn't copied it to my local notebook, so again I can't find anything about it in the documentation, and the forum database seem to be gone. I'd like to know what it does, how it works. If my memory serves me well it is not a regular routine, so I don't even know where to begin searching as I can't find search terms that would make google results meaningful. TIA.

That code smells (System.Variants.pas):

That code smells (System.Variants.pas): function TInvokeableVariantType.FixupIdent(const AText: string): string; begin   Result := AnsiUppercase(AText); end; procedure TInvokeableVariantType.DispInvoke(Dest: PVarData; [Ref] const Source: TVarData;   CallDesc: PCallDesc; Params: Pointer); var   LIdent: string; begin   LIdent := FixupIdent(TEncoding.UTF8.GetString(BIdent, 0, I)); Why is AnsiUppercase instead of Uppercase called?

This is probably a classic problem, but I can't seem to Google a solution.

This is probably a classic problem, but I can't seem to Google a solution. I have a string in the debugger that is a very large XML file. I want to get the entire value of the string out of the debugger, but I can't only seem to get a truncated value. Is there any way to coerce the debugger to cough up the entire string? I should probably know this, but I don't.

I have a task (at work) to spike a replacement to the current OLE Excel with some native Excel component (that doesn't required Excel to be installed).

I have a task (at work) to spike a replacement to the current OLE Excel with some native Excel component (that doesn't required Excel to be installed). The features that are required are to start with a CSV file and apply the following functions: * Changing cell attributes (formatting, colouring, font styles, borders, etc) * Freezing panes, * Document protecting I have done some Google'ing and found the following question on SO ( http://stackoverflow.com/questions/2493071/exporting-to-excel-from-delphi-without-having-excel ) and these components: *  http://www.nika-soft.com/nativeexcel3/ *  https://www.tmssoftware.com/site/flexcel.asp *  http://www.kluug.net/xlsx-ods-delphi.php *  http://torry.net/quicksearchd.php?String=native+excel&Title=Yes *  http://avemey.com/zexmlss/index.php?lang=en *  http://scalabium.com/sme/index.htm What I would like to some feedback on: * what other components are there, * what are people experience with the component(s) they have used for this ...
Hi, can someone point me in the direction of figuring out how to get at the data when I select a row in TStringGrid? TStringGrid is bound to datasource. So when clicking on an individual row I want to display the data from the columns in that row in labels, etc below the TStringGrid.

Hello guys.

Hello guys. I would like to know how to make modularization my android firemonkey application, in win32/64, I load .bpl at runtime, but in firemonkey I don't know.

Apparently the editor and compiler(!?) can't handle lines with 13k characters o.O(max 1023, XE6 Win32)

Image
Apparently the editor and compiler(!?) can't handle lines with 13k characters o.O(max 1023, XE6 Win32)

When I try and bring up the getit package manager in Delphi 10 Seattle, I get the following error :

When I try and bring up the getit package manager in Delphi 10 Seattle, I get the following error : Error reading SearchingImg.Picture.Data: Invalid GIF Signature Anybody seen this?

Embarcadero Announces Dedicated Developer Strategy | Business Wire

Embarcadero Announces Dedicated Developer Strategy Leading Delphi and C++ tool provider to focus efforts exclusively on application developers http://www.businesswire.com/news/home/20160309005199/en/Embarcadero-Announces-Dedicated-Developer-Strategy http://www.businesswire.com/news/home/20160309005199/en/Embarcadero-Announces-Dedicated-Developer-Strategy

PostgresDAC 3.1.1 is out.

PostgresDAC 3.1.1 is out. This is maintenance release which updates client libraries used and fixes some rare bugs. http://microolap.com/products/connectivity/postgresdac/news/detail.php?ID=1751 #postgresql http://microolap.com/products/connectivity/postgresdac/news/detail.php?ID=1751

I'm at the QCon developer conference in London - any fellow Delphi developers here?

I'm at the QCon developer conference in London - any fellow Delphi developers here? https://qconlondon.com/

What's the normal response time for Embarcadero customer support?

What's the normal response time for Embarcadero customer support? I've submitted a case last Sunday but haven't had any response yet. Also, I can't access the case status because it requires a login which apparently is not accessible with my EDN account credentials.

Hi, I want to open string A Big No Navigator WHEN USING the ShellExecute(Handle,'Open',PChar(LURL),nil,nil,SW_NORMAL);

Hi, I want to open string A Big No Navigator WHEN USING the ShellExecute(Handle,'Open',PChar(LURL),nil,nil,SW_NORMAL);  the url is cut into the browser , because the PCHAR is limited. It has something to replace the PCHAR on the command line ?

Hi, client's code to set it's app as a default handler (eg, opening) no longer works. Reading brings me to the reason that the current registry edits to set an app as a default no longer works on Win8 and above (that Hash value on UserChoice is really a killer) and tried deleting the HKCU\..\FileExts\..\UserChoice key, making my app the only one in HKCU\..\FileExts\..\OpenWithProgids and lot's of registry edits that I could find in the net but I somehow can't get it to work.

Hi, client's code to set it's app as a default handler (eg, opening) no longer works. Reading brings me to the reason that the current registry edits to set an app as a default no longer works on Win8 and above (that Hash value on UserChoice is really a killer) and tried deleting the HKCU\..\FileExts\..\UserChoice key,  making my app the only one in HKCU\..\FileExts\..\OpenWithProgids and lot's of registry edits that I could find in the net but I somehow can't get it to work. Any help is appreciated. Thanks.

I have been looking at Rudy Velthuis BigIntegers unit (http://rvelthuis.de/programs/bigintegers.html) with an eye to using it in DWScript.

I have been looking at Rudy Velthuis BigIntegers unit ( http://rvelthuis.de/programs/bigintegers.html ) with an eye to using it in DWScript. The contact email appears invalid, and there does not seem to be a repository.... In case you're reading this Rudy, I have a couple bug fixes to report, and some question about moving it to a repository :)

The new https://www.

The new https://www.embarcadero.com  web site is live and exclusively focused on development tools (RAD Studio, Delphi, C++Builder, InterBase) https://www.embarcadero.com

The new https://www.embarcadero.com web site is live and exclusively focused on development tools (RAD Studio, Delphi, C++Builder, InterBase)

The new https://www.embarcadero.com  web site is live and exclusively focused on development tools (RAD Studio, Delphi, C++Builder, InterBase) https://www.embarcadero.com

Since about 10.30 this morning I have been getting a Security Warning when opening Delphi 10 Seattle and then at intervals while I am us it. The security warning is the insecure content dialog

Since about 10.30 this morning I have been getting a Security Warning when opening Delphi 10 Seattle and then at intervals while I am us it. The security warning is the insecure content dialog "Do you want to view only web page content that was delivered securely?" then a More Info button (which shows nothing) and Yes/No buttons This usually shows when a main page is called using https and then parts of the page are called using http. Interesting that the Delphi banner shows then disappears.

does anybody know which software connects to these domains and if that's a bad sign?

does anybody know which software connects to these domains and if that's a bad sign? kaspersky.commander1.com hal9000.redintelligence.net online-metrix.net choices.truste.com choices-or.truste.com For me they look either like advertising and/or other ad related urls or maybe a virus?

See, the developers of the Delphi compiler, nothing is impossible.

See, the developers of the Delphi compiler, nothing is impossible. Originally shared by Maciej Izak Hi, I'm pleased to finally announce the additional record operators: Initialize, Finalize. Download (r33200): http://svn.freepascal.org/svn/fpc/branches/maciej/smart_pointers "Record management operators aka record constructor/destructor" They working like low level auto-executed constructor/destructor for records. ===== motivation ===== It can be used for: -nullable types -very fast RTTI.TValue implementation -as replacement for manually called Init/Finit record methods for example like in mORMot for many types. -auto init/finit for fields of pointer/object type Additionally, it is base for my further work: -smart pointers -ARC objects -Oxygene mode -Delphi NextGen mode ===== example begin ===== {$MODE DELPHI} uses SysUtils; type   TFoo = record   private     class operator Initialize(var aFoo: TFoo);     class operator Finalize(var aFoo: TFoo);   public     F: Integer;   ...

I have generated, HPP and OBJ, Gtfrxportintf unit(.pas). but I try to use in the CPP, I got this error.

I have generated, HPP and OBJ, Gtfrxportintf unit(.pas). but I try to use in the CPP, I got this error. [ILINK32 Error] Error: Unresolved external '__fastcall Gtfrxportintf::TgtFRExportInterface::RenderDocument(Frxclass::TfrxReport *, bool, bool)' referenced from C:\USERS\MANIKATA\DOCUMENTS\EMBARCADERO\STUDIO\PROJECTS\WIN32\DEBUG\UNIT1.OBJ Please advise.

Let's improve Delphi's Wikipedia page!

Let's improve Delphi's Wikipedia page! Hi everyone. The Delphi Wikipedia page is not very good. It's not written in good English style, is messy, is kindof negative, is out of date, lists few details for each version, does not give a good overview of the language / features / use, etc. Can we improve it? I started yesterday by rewriting the introduction, making it flow better, mentioning up-to-date language features, and the inter-op with C++Builder. Just now I also uploaded a screenshot of Seattle (it last had a screenshot of XE2.) Things that (in my opinion) need attention: * Distinguishing Features - well, it doesn't really describe any of the distinguishing features. (It has VCL and COM, interface delegation, Windows message handers.) Where is FMX? Where are managed types in a native language (e.g. strings, interfaces)? Where is the cross-platform-ness? All are missing, and I think some of them including those that are already there need examples, or at least better...

I'm playing with TSharingContract on Windows 10. Sending a bitmap works as expected, but I could not find a way to share a non-standard file like a PDF document or ZIP archive. The windows explorer has a "Share" button, which works well with those files, but how to do that in Delphi code? The documentation skips this case.

I'm playing with TSharingContract on Windows 10. Sending a bitmap works as expected, but I could not find a way to share a non-standard file like a PDF document or ZIP archive. The windows explorer has a "Share" button, which works well with those files, but how to do that in Delphi code? The documentation skips this case. Perhaps Paweł Głowacki can give me some hints. TIA Achim

Is someone using FireDac with PostgreSQL and can confirm this?

Is someone using FireDac with PostgreSQL and can confirm this? https://forums.embarcadero.com/thread.jspa?threadID=186625&tstart=0 I am panicking a bit because none of the recursive queries are working :( https://forums.embarcadero.com/thread.jspa?threadID=186625&tstart=0

riddles, what component that I've used for this vcl chat layout?

Image
riddles, what component that I've used for this vcl chat layout?