Quantcast
Channel: Recent Topics - Forum - Embarcadero Community - Embarcadero Community
Viewing all 3677 articles
Browse latest View live

Trying it out - by: John

$
0
0
I finally managed to stumble on logging into this forum. It certainly isn't obvious from the Embarcadero front page, which I hardly ever visit anyway.
I'm posting this just to see if it works.

Delphi 10.2.3 and XCode 9.3 - Linker error fix. Manual SDK install. - by: Ian

$
0
0
Hi everyone,

After spending 1/2 a day yesterday trying to resolve the compile time dreaded Linker error 1 issue, I finally have a solution.

My environment is as follows:
Windows 10 Pro with Delphi 10.2.3
MacBook Air with High Sierra 10.13.4
Ipad Pro with IOS 11.3.

Embarcadero release two updates to add iOS 11.3 capability to Delphi 10.2.3. These were:

RAD Studio 10.2.3 iOS 11.3 and CodeInsight Patch Released 26/6/2018.

and

RAD Studio 10.2.3 iOS 11.3 Patch, Released the 8/6/2018.


For me, neither worked despite following the update instructions precisely.

Before downgrading to XCode 9.2 (again), I thought I would try and manually extract the SDK from the Mac and see if manually adding the missing components to the SDK on the windows platform would provide a workable solution.

Clearly Embarcadero had added 9.3 support to the IDE, it just seems their process for downloading the SDK to the IDE via the PA server is flawed. As such it misses a stack of files that are required to compile of IOS.

So here's my solution.

1. The Delphi IDE on the Windows platform, and the PA server on the OSX machine were patched as per the RAD Studio 10.2.3 iOS 11.3 and CodeInsight Patch.

2. Instructions to delete previously downloaded SDK's were completed in the IDE.

3. Additionally I browsed to %Userprofile%\Documents\Embarcadero\Studio\SDKs and delete the SDK folder.

4. Start your PAserver and IDE.

5. Open your IOS project and go into tools, options. Locate the SDK Manager. Add the 32 and 64 bit SDK's. The download of the mostly complete SDK to your Windows PC will complete.

6. On the MAC, open the finder and go to Applications. Control + Click, and show contents on the XCode App.

7. In the search box, type "libcache.dylib" and locate the first of the missing SDK files.

8. Control and click the file, and Show enclosing Folder. Select all the files in the folder shown and Control + Click and Copy 35 items.

9. Connect a USB thumb drive to your MAC and make a folder called "system" on it. Paste your missing system folder to the USB system folder.

10. In the finder on the Mac, go back to Applications, and Show Contents on Xcode again.

11. Search for iPhoneOS. An iPhoneOS11.2.sdk and iPhoneOS11.3.sdk will be shown Copy the iPhoneOS11.2.sdk folder to your USB drive. The 11.3 folder is empty.

12. Eject your USB and connect it to your PC.

13. Browse to your SDK. %Userprofile%\Documents\Embarcadero\Studio\SDKs\iPhoneOS11.3.sdk

14. Copy the contents of the iPhoneOS11.2.sdk from the USB drive to the iPhoneOS11.3.sdk folder.

15. Copy the contents of the system folder from the USB drive to :
%Userprofile%\Documents\Embarcadero\Studio\SDKs\iPhoneOS11.3.sdk\usr\lib

This worked for me, and allowed me to compile and deploy 11.3 SDK code using Xcode to an IPA file.

I was then able to install the IOS application to my device by using XCode, Window, Devices and simulators. And then manually adding the app using +, and browsing to the compiled code folder "iOSDevice64\Release" and manually adding the IPA file.

I hope someone finds this useful.

And here's my 2 cents for Embarcadero.

I wonder if you are spending all your development time on Delphi XE11, adding support for XCode 10/IOS12, and this is why you don't develop patches or update instructions that work properly.

No doubt we will have to pay for yet another full release update to be able to use Xcode 10 as well, instead of supporting the existing IDE properly and just adding the support with a patch that works properly.

Delphi Tokyo IDE suddenly opened a webpage in my browser (how to disable?) - by: Jan Martin

Apple TV / tvOS support - by: Ian

$
0
0
What's the latest on support for the Apple TV platform?

Can 10.2.3 with the latest patches and Xcode 9.3 / IOS 11.3 SDK do it or is there any other combination that will?

FireDAC MySQL Password reset error - by: Rick

$
0
0
I am using Tokyo with included FireDAC to develop a client access program for MySQL 8.0 database. When the userid for MySQL has an expired password, the FireDAC login appropriately brings up the "change password" dialog, but it then throws an error (below).

It appears that the latest version of MySQL has changed the SET PASSWORD syntax, eliminating the PASSWORD() keyword. New syntax is simply "SET PASSWORD [FOR user] = '<pw>'"
or, alternatively, use the ALTER USER syntax

Is there a way/place to change this, or create a hook to bring up my own dialog to then pass the proper SQL statement to server

FireDAC Error
The application performed an incorrect operation with the database.
Message text: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'PASSWORD("TBT1357pw")' at line 1
Error code: 01064
Error kind: Other
Server object:
Command text offset:
Command text:
Command parameters:
Exception class name: EMySQLNativeException
FireDAC error code: 1100
FireDAC object name: DM1.dbUser


Thanks,
Rick Brodzinsky

HUGE v8.0.0 Update for ImageEn Imaging Library and IEVision Advanced Tools AddIn - by: Nigel

$
0
0
We have just released v8.0.0, a huge update to ImageEn, Imaging Editing and Viewing Library for Delphi and C++Builder.

Learn more about ImageEn at: www.imageen.com

Over 200 compiled demos at: www.imageen.com/demos/


Top Fifteen Enhancements in ImageEn 8.0.0

1. Editing of Polyline and Line Points

New Polyline and Line layers can now be created by clicking points. You can also add, remove and edit points of existing layers


2. Curve Layers

Polyline layers now allow insertion of curves. You can also add curves when editing a polyline layer by holding down the Alt key


3. Full PDF Exporting

Scalable PDF documents can be created using the new TIEPDFBuilder class or exporting of ImageEn layers


4. Enhanced Shape Layer

The ImageEn shape layer now uses GDI+ for improved performance, full rotation and gradient support. It also adds forty new built-in shapes, including: Candy, Sun, Cog, Brooch, Flower, Splat, Crown, Tag, Pin, Radiance, Raindrop, Smile, Rainbow, Marker, Banner, Power, Music, Pointing Hand, Female and Male


5. Color Curve Editing

Now includes a color curve editing component. Colors can also be manipulated by a curve in the Previews dialog


6. Layer Properties Dialog

Built-in layer properties dialog allows manipulation of common properties


7. Many Other Layer Improvements

More gradient options, keyboard shortcuts, layer preview during creation, word-wrap and auto-shrinking of text


8. Measurement Tools

New mouse interactions to measure lengths, rectangular and elliptical areas


9. Selection Subtraction and Sizing

Circular and Polygon selections can now be resized. You can also hold the Ctrl key to remove from an existing selection


10. Faster Loading

New features for improved performance, including WIC property to speed up loading of JPEGs (200% faster) and PNGs (30% faster), retrieval of embedded preview images from Camera RAW images, and OptimizeLoadingParams method to automatically set the fastest loading properties


11. Eraser Brush and More

Many enhancements to brush tools, including an eraser brush, alpha compositing and improved performance


12. Enhanced Printing

New event to customize printing, including a heading. Print Previews now show text. Contact/thumbnail sheets can also be output to bitmap


13. New File Formats: DirectDraw Surface, HEIF, etc.

ImageEn now supports all image formats of Microsoft WIC, including DirectDraw Surface, HEIF, etc.


14. Many New Actions

Dozens of new actions available: EraserTool, ConvertToPolylineLayer, MeasureLength, MeasureRect, MeasureEllipse, ZoomAndScroll, EditLayers, EditLayerPoints, ClickCreateLineLayers, ClickCreatePolylineLayers, DrawCreatePolylineLayers, LayerFontSelect, LayerFontEnlarge, LayerFontReduce, LayerAlign, Layer Properties, etc.


15. EXE Size Optimization

Dicom resources have been moved to an external unit, reducing the size of most EXEs by up to 400KB. There are also many improvements to defines that allow further reductions to EXE size for specific requirements



Top Five Features in IEVision 4.5.0

1. New Blob Detector to locate shapes within an image

2. Template Matching now calculates a confidence value for each match

3. Background Subtractor class supports improved selection methods

4. TIEVisionImage can now detect lines

5. Other improvements and fixes

Creating a New Unit or New Form in Delphi 10.2.3 causes Access Violation - by: NARAYANAN

$
0
0
After upgrading Delphi to the latest Tokyo 10.2 Release 3, I keep getting Access Violation at address xxxxxxxx in module 'delphicoreide250.bpl' whenever I try to create a new unit or form. How to fix it?

[21F9CD43]{delphicoreide250.bpl} EditorStructuralHighlight.TStructuralHighlighter.EvQuery (Line 320, "EditorStructuralHighlight.pas" + 3) + $0
[21F9CD3E]{delphicoreide250.bpl} EditorStructuralHighlight.TStructuralHighlighter.EvQuery (Line 319, "EditorStructuralHighlight.pas" + 2) + $0
[5005FBA2]{rtl250.bpl } System.@IsClass (Line 17430, "System.pas" + 1) + $8
[5005FBCD]{rtl250.bpl } System.@AsClass (Line 17436, "System.pas" + 2) + $8
[5005FBA2]{rtl250.bpl } System.@IsClass (Line 17430, "System.pas" + 1) + $8
[207B3D7F]{coreide250.bpl} EditorBuffer.FindEditWindowAndView (Line 6118, "EditorBuffer.pas" + 40) + $2
[207B3DFD]{coreide250.bpl} EditorBuffer.FindTopEditView (Line 6143, "EditorBuffer.pas" + 1) + $6
[21F9CD3E]{delphicoreide250.bpl} EditorStructuralHighlight.TStructuralHighlighter.EvQuery (Line 319, "EditorStructuralHighlight.pas" + 2) + $0
[207B327B]{coreide250.bpl} EditorBuffer.TEvQueryEditEvent.Send (Line 5846, "EditorBuffer.pas" + 3) + $1E
[207AC95C]{coreide250.bpl} EditorBuffer.QueryEventHandler (Line 2324, "EditorBuffer.pas" + 2) + $18
[22226ADA]{boreditu.dll} C:\BUILDS\TP\INTERMEDIATE\DEBUG\LIB\UTF8\EK_REGEX.OBJ.@RegExp@regmatch$qqrpxuc + $3FA
[2221D2E9]{boreditu.dll} C:\BUILDS\TP\INTERMEDIATE\DEBUG\LIB\UTF8\EK_INS.OBJ.@LineEndUndoOp@Execute$qpv13EKExecuteOp_t + $1BD
[22212325]{boreditu.dll} C:\BUILDS\TP\INTERMEDIATE\DEBUG\LIB\UTF8\EK_BLOCK.OBJ.@DeleteBlockUndoOp@Execute$qpv13EKExecuteOp_t + $199
[22214F98]{boreditu.dll} C:\BUILDS\TP\INTERMEDIATE\DEBUG\LIB\UTF8\EK_ENTRY.OBJ.@C5_0 + $488
[22217DE6]{boreditu.dll} C:\BUILDS\TP\INTERMEDIATE\DEBUG\LIB\UTF8\EK_ENTRY.OBJ.EK_GET_LINE_CONTENTS + $3EA
[22217DA1]{boreditu.dll} C:\BUILDS\TP\INTERMEDIATE\DEBUG\LIB\UTF8\EK_ENTRY.OBJ.EK_GET_LINE_CONTENTS + $3A5
[207856B2]{coreide250.bpl} EdProcs.SafeEkEval (Line 365, "EdProcs.pas" + 6) + $5
[20785696]{coreide250.bpl} EdProcs.SafeEkEval (Line 363, "EdProcs.pas" + 4) + $8
[20783F90]{coreide250.bpl} EdKrnl.EkEval (Line 3571, "EdKrnl.pas" + 3) + $9
[2078265D]{coreide250.bpl} EdKrnl.DeleteTo (Line 1212, "EdKrnl.pas" + 28) + $8
[207AB4CB]{coreide250.bpl} EditorBuffer.TEditWriter.DeleteTo (Line 1654, "EditorBuffer.pas" + 4) + $15
[208E2424]{coreide250.bpl} CodeMgr.TDeleteText.Modify (Line 3100, "CodeMgr.pas" + 1) + $8
[208E2B12]{coreide250.bpl} CodeMgr.DoUpdates (Line 3269, "CodeMgr.pas" + 15) + $7
[208E2BDF]{coreide250.bpl} CodeMgr.TCodeUpdater.CommitUpdates (Line 3283, "CodeMgr.pas" + 10) + $9
[21EE8DD5]{delphicoreide250.bpl} PasMgr.TPascalProjectUpdater.Update (Line 11909, "PasMgr.pas" + 205) + $5
[21EE6A12]{delphicoreide250.bpl} PasMgr.TPascalProjectUpdater.AddModule (Line 11196, "PasMgr.pas" + 56) + $5
[21E5A2F4]{delphicoreide250.bpl} BaseDelphiProject.TDelphiProjectModuleHandler.AddModule (Line 3645, "BaseDelphiProject.pas" + 7) + $29
[21EF5A8E]{delphicoreide250.bpl} DelphiModule.TPascalCodeMgrModHandler.AddToProject (Line 444, "DelphiModule.pas" + 24) + $3F
[21EF669D]{delphicoreide250.bpl} DelphiModule.TPascalCodeMgrModHandler.SetupSourceModules (Line 679, "DelphiModule.pas" + 115) + $1C
[21EF5D9E]{delphicoreide250.bpl} DelphiModule.TPascalCodeMgrModHandler.Create (Line 515, "DelphiModule.pas" + 5) + $7
[21EFD6D5]{delphicoreide250.bpl} DelphiModule.TPascalGauntletHandler.AttachHandler (Line 2979, "DelphiModule.pas" + 6) + $16
[208B883D]{coreide250.bpl} DocModul.TModuleHandlerGauntlet.RunGauntlet (Line 3236, "DocModul.pas" + 4) + $1E
[208B3BE9]{coreide250.bpl} DocModul.TDocModule.AfterConstruction (Line 956, "DocModul.pas" + 4) + $7
[206E3643]{coreide250.bpl} SourceModule.TSourceModule.AfterConstruction (Line 782, "SourceModule.pas" + 4) + $3
[50060039]{rtl250.bpl } System.@AfterConstruction (Line 18304, "System.pas" + 2) + $5
[206E2777]{coreide250.bpl} SourceModule.TSourceModule.Create (Line 426, "SourceModule.pas" + 30) + $75
[21EC2DDA]{delphicoreide250.bpl} CommonPasReg.TCreatorTemplate.Selected (Line 1756, "CommonPasReg.pas" + 3) + $24
[204FB646]{coreide250.bpl} GalleryTypes.TGalleryItem.DoSelect (Line 188, "GalleryTypes.pas" + 5) + $6
[2068250D]{coreide250.bpl} GalBrow.BrowseNewDialog (Line 345, "GalBrow.pas" + 24) + $5
[20682412]{coreide250.bpl} GalBrow.BrowseNewDialog (Line 313, "GalBrow.pas" + 0) + $6
[206872B0]{coreide250.bpl} Gallery.FileNewDialog (Line 731, "Gallery.pas" + 0) + $0
[004A140B]{bds.exe } AppMain.TAppBuilder.FileNew (Line 2678, "AppMain.pas" + 1) + $2
[5016DE67]{rtl250.bpl } System.Classes.TBasicAction.Execute (Line 16904, "System.Classes.pas" + 6) + $1
[50ACDD82]{vcl250.bpl } Vcl.ActnList.TCustomAction.Execute (Line 260, "Vcl.ActnList.pas" + 19) + $35
[5016DCD3]{rtl250.bpl } System.Classes.TBasicActionLink.Execute (Line 16813, "System.Classes.pas" + 3) + $3
[50AE51B4]{vcl250.bpl } Vcl.Controls.TControl.Click (Line 7452, "Vcl.Controls.pas" + 7) + $7
[50B63D84]{vcl250.bpl } Vcl.ComCtrls.TToolButton.Click (Line 21638, "Vcl.ComCtrls.pas" + 0) + $0
[50AE5687]{vcl250.bpl } Vcl.Controls.TControl.WMLButtonUp (Line 7593, "Vcl.Controls.pas" + 7) + $6
[50AE4C5E]{vcl250.bpl } Vcl.Controls.TControl.WndProc (Line 7338, "Vcl.Controls.pas" + 91) + $6
[50AE4898]{vcl250.bpl } Vcl.Controls.TControl.Perform (Line 7116, "Vcl.Controls.pas" + 10) + $8
[50AE8F06]{vcl250.bpl } Vcl.Controls.GetControlAtPos (Line 9931, "Vcl.Controls.pas" + 4) + $75
[50AE8FCE]{vcl250.bpl } Vcl.Controls.TWinControl.ControlAtPos (Line 9954, "Vcl.Controls.pas" + 13) + $E
[50AE4898]{vcl250.bpl } Vcl.Controls.TControl.Perform (Line 7116, "Vcl.Controls.pas" + 10) + $8
[50AE909C]{vcl250.bpl } Vcl.Controls.TWinControl.IsControlMouseMsg (Line 9978, "Vcl.Controls.pas" + 15) + $29
[50AE96A4]{vcl250.bpl } Vcl.Controls.TWinControl.WndProc (Line 10155, "Vcl.Controls.pas" + 112) + $6
[50B65EA9]{vcl250.bpl } Vcl.ComCtrls.TToolBar.UpdateButtonState (Line 22916, "Vcl.ComCtrls.pas" + 11) + $27
[50B65EEA]{vcl250.bpl } Vcl.ComCtrls.TToolBar.UpdateButtonStates (Line 22927, "Vcl.ComCtrls.pas" + 3) + $4
[50B68918]{vcl250.bpl } Vcl.ComCtrls.TToolBar.WndProc (Line 24512, "Vcl.ComCtrls.pas" + 104) + $6
[50AE8E10]{vcl250.bpl } Vcl.Controls.TWinControl.MainWndProc (Line 9908, "Vcl.Controls.pas" + 3) + $6
[5016EBCC]{rtl250.bpl } System.Classes.StdWndProc (Line 17408, "System.Classes.pas" + 11) + $2
[207A3620]{coreide250.bpl} EditorStatusControls.TEditorStatusControlForm.RecordActionUpdate (Line 48, "EditorStatusControls.pas" + 6) + $37
[50C32F90]{vcl250.bpl } Vcl.Forms.TApplication.StopHintTimer (Line 11369, "Vcl.Forms.pas" + 3) + $3
[50C31E1F]{vcl250.bpl } Vcl.Forms.TApplication.ProcessMessage (Line 10641, "Vcl.Forms.pas" + 23) + $1
[50C31E62]{vcl250.bpl } Vcl.Forms.TApplication.HandleMessage (Line 10671, "Vcl.Forms.pas" + 1) + $4
[50C32195]{vcl250.bpl } Vcl.Forms.TApplication.Run (Line 10809, "Vcl.Forms.pas" + 26) + $3
[005088F2]{bds.exe } bds.bds (Line 212, "" + 7) + $7

Basic application with TMediaPlayer control. - by: Peter

$
0
0
Hello,
A project has come up and I need to play an AVI file. (Windows 10 application using VCL) Having never done this before, I placed a TMediaPlayer on a form and assigned the "Display" to a TAnimate component also placed on the form. I set the filename to an example AVI file (that I can play with VLC & a few other programs), set "Auto Open" to true but I keep getting: "There is no driver installed on your system".
I haven't found anything online. What driver is it looking for? I must be missing the obvious.... How do you play an AVI file?
Thanks and apologies for the silly question.
PlotJ

Menubar app for Mac in Firemonkey - by: Csaba

$
0
0
Hello,

I want to create an app for Mac that will stay in the menubar (next to clock - right upper corner and invisible Main form) but don't know how to do that. Didn't find ability in TMainMenu to set this.

Actually, this is the same as an App for Win that runs in systray.

When I choose platform Mac the TTrayIcon is invisible in the menu palette.

'Cannot open socket' INDY error - by: Trevor

$
0
0
Hi
Hope someone an help.
We currently have some software that uses Indy 9. I totally appreciate this is an old, unsupported product. But this is just a legacy thing that means that we have to stick with Indy 9, for the time being anyway. I have tried to switch to Indy 10 but the changes I would have needed to make (that I can't remember what they were) meant that I have just stuck with Indy 9.
But now we seem to have an issue. We have around 30 PCs here. Some have received the April 2018 Windows 10 update. On these PCs, when I try to use the TIdSMTP and TIdMailMessage components to send an e-mail from this software, I get a 'cannot create a socket' error at the point when I call SMTP.Connect. I tried to create a tiny minimal prpgramme wito replicate the issue (I can post here but not sure it would help in this instance?), same issue.
The really odd thing is this only occurs if I run the programme from the server. If I copy it locally I don't get this issue and it works fine. It also works fine from both network and local on PCs that have not yet had the update.
This doesn't seem restricted to Indy (although this is what I need to fix!) as our EPOS system has the same issue. They use a database called Faircoms and it has a supervisor programme. We can run the supervisor locally on pre updated PCs, but have to run it on the server for those that have been updated.
There does seem some talk around of this being a potential issue with SMB1/SMB2/SMB3? Would this seem likely?
It would be really nice to have an easy fix for this in terms of Indy.
Any ideas?
Best regards
Trevor

Interactive gesture events don't trigger correctly - by: Lassi

$
0
0
Hello,

I have been searching the internet for an answer and debugging my application for a couple of days now and nothing seems to do the trick here, perhaps no-one else has had this issue yet.

I have made a basic C++ Windows desktop VCL forms application with one TGestureManager and one TPaintBox in it, and assigned the gesture manager to the paint box. I have also selected the supposedly correct options in the paint box properties (see the attached screenshot of my RAD studio). The problem is as follows.

The standard gestures (only sgiLeft enabled currently) seem to work just fine triggering PaintBox1Gesture function correctly. But with interactive gestures (igiZoom and igiPan) the function only triggers when the application is at first out of focus. So you have to click e.g. the Windows desktop first to be able to trigger interactive gestures. After the interactive gesture is done, you can't do another one unless you defocus the application window again.

Any ideas why is this happening? I am running Windows 10 64-bit and haven't been able to test on other platforms yet.

Downloading Delphi XE6 Hotfix1 from my registered downloads - by: Wassim

$
0
0
Hi. I'm trying to download Delphi XE6 Hotfix1 from my registered downloads but I'm encountering issues:
1. Download speed is unusually slow (below 100Kb/sec on average) despite a very fast internet connection.
2. Several attempts to download Delphi XE6 Hotfix1 have failed (download pauses for 1 sec then fails shortly afterwards).

Delphi CNTK Interface - by: Amit

$
0
0
I started playing with Microsoft Cognitive Toolkit (CNTK).
Does anyone know whether there is a Delphi interface (or even better code example) with the CNTK?

Code Insight Crashing Delphi 10.2 - Is there a solution? - by: Jeff

$
0
0
I am a long time D7 user and a relatively new user of Delphi 10.2. Working on a relatively large project that came from Delphi 7, Code Insight in the new IDE crashes Delphi very reliably. I have turned off Code Completion and most of the other options, but still often get a busy cursor that tells me that Delphi is dead. I have done a search but didn't find much on this topic.

1. Is there something that I can change so that Code Completion will work with crashing Delphi?
2. Is this a common problem?
3. Will updating to 10.2.3 address this issue?

Thanks for any advice.

GetIt cannot/will not uninstall JEDI - by: Teri

$
0
0
Using Delphi 10.2 on 64-bit Windows 10

I used GetIt tool to install JEDI Code Library and Visual Component Library. I neglected to exit Delphi between installations, thinking I could restart just once. After closing Delphi, there was a dialog box getting ready to install the Code Library (I think), which I proceeded with.

Upon restarting Delphi, GetIt indicates both packages are installed, yet there are no visual components from the library. I tried uninstalling JVCL, but get an error that “Windows cannot find ‘bin\JVCInstall.exe’. Looked for the file myself, but no luck.

I successfully uninstalled the Code library, though once I restart Delphi, it shows as installed in GetIt.

How can I reset both packages to “ready to install” so I can properly (I hope) install them?

Thanks!
Teri

Convert string to integer - by: daniel

$
0
0
Hi guys,
i am trying to convert text that is placed in a "TLabelEdit" with the following and use for defining the size and position of my
form "OnShow" but this simply does not work :(

Any ideas?
"frmMain.Top := strToInt(leditAppTop.Text);
frmMain.Left := strToInt(leditAppLeft.Text);
frmMain.Width := strToInt(leditAppWidth.Text);
frmMain.Height := strToInt(leditAppHeight.Text);"

The TLAbelEdit boxes has what i need and i would like to convert the values of TLAbelEdit boxes and use for showing my form.

Delphi CNTK Interface - by: Amit

$
0
0
Hi, I started playing with Microsoft's Cognitive ToolKit.
Does anyone know whether there is a Delphi API to the CNTK?
or some code samples using it via Delphi?

Loading big Tmodel3d object - by: Amit

$
0
0
I got an .obj model 65mb large.
With 18mb sized material .jpg file.
When trying to load that into the TModel3d Delphi just get stuck.
Can anyone tell, what is the fastest way loading big models to TModel3d?
Do I need to manipulate the data structure in someway in order for that to work in a reasonable (or at all) speed?

ANN: StyleControls VCL v. 3.97 released! - by: Almediadev

$
0
0
ANN: StyleControls VCL v. 3.97 released!

www.almdev.com

Key Features:

- Excellent support of system Themes and VCL Styles
- Improved VCL Styles on Forms, Menus and Common Dialogs (and for High-DPI systems)
- All controls work fine, faster, without any flickers, have same functionality with system Themes or with VCL Styles
- All controls have support of High-DPI systems with any DPI (no limitations and with VCL Styles)
- Complex solution to scale images in controls on High-DPI systems (icons, backgrounds and many more)
- A lot of advanced controls to create really modern application
- A lot of controls has multi-theme (style) adjustments (for example, one button can looks and works as push button, tool button, spin button and many more)
- Additional collection of controls, which use GDI+ (edits, memos with transparency, listboxes, comboboxes, meters, sliders, switches and many more)

Would this be categorized as an compiler error? - by: Svend Meyland

$
0
0
Hi

I am using FastMM in oder to catch and find memory related problems. Would compiler generated code that results in heap corruption with FastMM in "debug mode" but not with the build in memory manager be categorized as an compiler error?

The code that generates heap corruption with FastMM are (simpler code might do the trick also):



The heap corruption will cause out of memory exceptions later on in the program, making it exceptionally hard to find the root cause.

Changeing the function test to the following solves the problem:


It turns out that the code Test2([ACommand]+Result) does the follwing:
  1. Creates a dynamic array with one byte.
  2. Concatenates this array with Result, In this process a new array is created ant he array created in step 1 is disposed.
  3. The problem now is that the cleanup code for the function Test disposes the array created in step 1 one more time. This works fine if the memory is initialized to zero values, as it will be with the normal memory manager. But with FastMM in debug mode, memory are filled with nonzero values when freed, and heap corruption occurs.


Kind regards,
Svend
Viewing all 3677 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>