Delphi

Winsoft CSV库v5.5-10.3 -SEO-狼术

江枫思渺然 提交于 2020-01-10 21:17:56
  Delphi和C ++ Builder逗号分隔值(CSV)库   针对大数据进行了优化   可选字段分隔符   可选择的CR / LF / CRLF输出   可选的封闭字符   可选的空白   优化的输出,封闭“根据需要”发出的信号   WideString或Unicode字段   支持UTF8和Ansi文件   支持UTF8,AnsiString和WideString / UnicodeString数据   支持可变字段数的行   支持插入和删除行和字段   支持Windows,macOS,iOS和Android   适用于Delphi / C ++ Builder 6-10.3和Lazarus 2.0.4   注册版本中包含的源代码   应用程序中的免版税分配   Delphi and C ++ Builder comma separated values (CSV) library   Optimized for big data   Optional field separator   Selectable CR / LF / CRLF output   Optional closed character   Optional blank   Optimized output, closing signals "on demand"   WideString or

Delphi + iOS: How to declare simple ObjC-Class?

雨燕双飞 提交于 2020-01-10 20:03:34
问题 How I can declare a simple ObjC-Class in Delphi/Firemonkey (XE5 or XE6)? I want to create an animation delegate class with some delegate methods inside of this class. Thanks! 回答1: Create an interface with your methods and derive from IObjectiveC. Also create a guid. I'm not posting one here, so that nobody is tempted to use mine. ISampleDelegate = interface(IObjectiveC) ['{put-your-own-guid-here}'] // <-- Press Ctrl+Shift+G to create your own guid - must be unique for every interface

TWAIN scanning components for Delphi

浪子不回头ぞ 提交于 2020-01-10 17:46:25
问题 I need to add TWAIN scanning to an Delphi application and am having trouble locating an off-the-shelf component to do so. I downloaded TDelphiTwain but, when used in D2010 on Windows Vista, it does not appear to recognize any Twain sources on my system. I also tried the trial version of Twain Toolkit for Delphi from MCM which has the advantage of being currently updated (DelphiTwain's last update was 2004), but the Twain Toolkit will not even compile on my system (I think some of the DCUs are

What should be tested in 64-bit Delphi

给你一囗甜甜゛ 提交于 2020-01-10 14:56:29
问题 Delphi with 64 bit compilation is now in Beta, but only invited beta-testers will get their hands on this version. What should be tested by the beta testers? 回答1: Embarcadero will probably provide a tester's guide for the beta testers. But, here are some ideas: Memory allocation, alignment, heap and stack. 32-bit could use up to 4GB (well, 3.5) of address space on a 64-bit version of Windows with the /LARGEADDRESSAWARE switch: Delphi64 should be able to use much more. Try allocating 8, 16,

delphi - how to pass a parameter from the instantiator to a constructor in the spring4d dependency injection framework?

和自甴很熟 提交于 2020-01-10 14:19:06
问题 It's possible to register a class with a parameter expected to be passed from the point of creation? I know it can be done something like this: GlobalContainer.RegisterType<TUserProcessor>.Implements<IUserUpgrader>. AsTransient.DelegateTo( function: TUserProcessor begin Result := TUserProcessor.Create(GetCurrentUser); end ); But there the parameters are binded to the execution context where the container gets registered and not where the object get's intantiated. Something like this it's

Need in SQL parser on Delphi [closed]

这一生的挚爱 提交于 2020-01-10 11:52:52
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . Does anybody know about good SQL parser with sources, written in Delphi? I need in parsing SQL commands (with all new features of Firebird 2.5) into object structure. 回答1: Read this article for Delphi SQL Parser, it uses IB as database but should not be very different between it and FB. And there's an open

Need in SQL parser on Delphi [closed]

六眼飞鱼酱① 提交于 2020-01-10 11:48:24
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . Does anybody know about good SQL parser with sources, written in Delphi? I need in parsing SQL commands (with all new features of Firebird 2.5) into object structure. 回答1: Read this article for Delphi SQL Parser, it uses IB as database but should not be very different between it and FB. And there's an open

delphi - terminate all the threads (TThread) on closing application

霸气de小男生 提交于 2020-01-10 09:22:51
问题 My application is a tcp/ip server, with main thread created only once & listening all the time. When new client connects, the main thread creates the new thread of TClientThread type. There is however no list of running Client threads, as that would make my app a bit complicated... is there any way to execute "terminate" method on all the threads, even if the thread is busy (in my case "busy" means it's waiting for the data, where the timeout set is about 30 sec ... so I have to kill it

delphi - terminate all the threads (TThread) on closing application

◇◆丶佛笑我妖孽 提交于 2020-01-10 09:21:21
问题 My application is a tcp/ip server, with main thread created only once & listening all the time. When new client connects, the main thread creates the new thread of TClientThread type. There is however no list of running Client threads, as that would make my app a bit complicated... is there any way to execute "terminate" method on all the threads, even if the thread is busy (in my case "busy" means it's waiting for the data, where the timeout set is about 30 sec ... so I have to kill it

What would be an ideal way to list existing objects to read and alter their properties?

∥☆過路亽.° 提交于 2020-01-10 05:22:05
问题 I'm trying to develop an application in Delphi XE2 that will be able to read and alter object properties between different applications. Currently, our only target applications are one developed in Delphi XE, to which I have the source code, and one done in VB6, which we have no source or information. Main objects we are looking for are Labels and Edits, but ideally I'd need to almost design an object viewer, listing every object as well as their properties, being able to read and alter those