It is important that you tell me which translation target you want. This can be code for the C++ Builder or for Visual C++ or other compilers. The translation results are optimized for C++11 (and higher) and 64 bit systems, but can also be modified to a small degree for other targets.
If the code contains definitions for conditional compilation, you must provide the definitions you want. Typically, the following definitions are used to process the code of the RTL/VCL:
[DEFINITIONS]
CPUX64=1
D2C=1
MSWINDOWS=1
PUREPASCAL=1
WIN64=1
By default, the project file used (not C++Builder) inaddition contains the following entries.
==========[TYPES]
DELPHISTRING =Standard
CREATEMETACLASSES =false // true is not allowed within the translation service
==========[NAMESPACES]
[NONAMESPACES]
Winapi.Windows
Winapi.ImageHlp
WINAPI.Messages
Winapi.PsAPI
Winapi.SHFolder
[FORCENAMESPACE]
==========[TUNING]
CONSTCORRECTNESS =false
APPLYEXTERNAL =true
APPLYNODEFINE =true
NOABSTRACT =true
VIRTUALCLASSMETHODASSTATIC =false
==========[TARGET]
COMPILER =Other
PHEADER ="pch.h"
TARGETPLATFORM =WINDOWS
==========[OUTPUT]
[EXCLUDEDUNITS]
Folgende Refactorings werden vorgenmommen:
[REFACTORING]
MonitorEnter,sysmonitor::TMonitor::Enter,function,,,0,0,System,,false,false
MonitorExit,sysmonitor::TMonitor::Exit,function,,,0,0,System,,false,false
MonitorPulse,sysmonitor::TMonitor::Pulse,function,,,0,0,System,,false,false
MonitorPulseAll,sysmonitor::TMonitor::PulseAll,function,,,0,0,System,,false,false
MonitorTryEnter,sysmonitor::TMonitor::TryEnter,function,,,0,0,System,,false,false
MonitorWait,sysmonitor::TMonitor::Wait,function,,,0,0,System,,false,false
TGUID,GUID,record,,,0,0,System,,false,true
THandle,THandle,,,,0,0,System,,false,false
_AddRef,AddRef,function,integer,ULONG,0,0,,,false,false
_Release,Release,function,integer,ULONG,0,0,,,false,false
Deutsch
Latest News |
10/28/24
Delphi2Cpp 2.5: Symbol names matching declaration case [more...] |
08/26/24
Delphi2Cpp 2.4: Updated to RAD Studio 12.1 Athens [more...] |
"Thanks for your great work, really appreciate the work you have done on zlib and compiling ... test case." Mattewada, Udayabhaskar
Nokia India
02/01/2021
|
[from case study...] "A masterpiece -- Delphi2Cpp has exceeded all my expectations by far." Tony Hürlimann
virtual-optima
08/20/2011
|
"First off, I have to say WOW! Delphi2Cpp is doing a *fantastic* job!" Daniel Flower
linkrealms
01/15/2011
|
This website is generated from plain text with [Minimal Website ]
|
Minimal Website
is made with TextTransformer
|
TextTransformer is made with Borland
CBuilder
|