C++CodeRAD Studio

Discover How To Use C++ Explicit Conversion Operators For Efficient Windows Development

BCC32 includes support for explicit conversion operators, one of the features in the C++11 standard. The explicit constructors and conversion operators are used to avoid implicit conversions to and from a type. You can now apply the function specifier explicit in the definition of a user-defined conversion operator. Previously, explicit constructors (including copy constructors) were added to…
Read more
C++CodeDelphi

Easily Wrap Any Delphi Object Into A Python Object In This Sample Windows App

Do you want to leverage your Delphi Objects in the Python Scripts with less code? Python4Delphihas the flexibility to do that using a TPyDelphiWrapper component. This benefits Delphi Developers easily to wrap the existing or new Delphi Objects into Python Objects. You can also use Python4Delphi with C++Builder. Python4DelphiDemo31Sample App shows how to wrap a Delphi Object to…
Read more
C++CodeDelphi

Learn How to Stop A Thread Inside Python In A Delphi Windows App

Earlier we know how to create a Thread Inside Python for a Delphi App. However, we didn’t attempt to stop the thread while running. How to stop the thread inside python for a Delphi App with Python4Delphi? This post will help to understand better with the sample. You can also use Python4Delphi with C++Builder. Python4DelphiDemo33Sample App shows how to achieve…
Read more
C++CodeDelphi

Learn How To Dynamically Create And Destroy Python4Delphi Components With A Delphi Windows App

Earlier we have learned how to create a Python Type using Python4Delphi components in a Delphi GUI app. From the post we know, how to create and use Python4Delphi components such as TPythonEngine, TPythonModule, TPythonType by a simple drag and drop in our application. But sometimes developers may need to instantiate those components dynamically rather than using GUI components. How to do that?
Read more