Created
December 29, 2024 16:03
-
-
Save an01f01/4564bb89730c179e3dc0b7e875a4217b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
procedure TFrmMain.OnPyModuleLoad(Sender: TObject); | |
begin | |
with Sender as TPythonModule do | |
begin | |
AddDelphiMethod( 'printme', | |
ConsoleModule_Print, | |
'printme(handle,val1,val2,val3)'); | |
end; | |
end; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment