Christoph B.
                                         
                                        
                                            Muenster, NRW
                                        
                                        
                                            Sep 12, 2024
                                            5
                                            Posts
                                        
                                       
                                     
                                    
                                        
                                        
                                            Re: Python Crashes ATEasy
                                        
                                            hi John,
i am also using Python 3.8. all the hPy... variables are AHandle.
i have created a completely new workspace to exclude other sources and now i get a memory access violation with the sent example
here my full workspace
                                        
                                        
                                        
                                            
File Attachment:
                                             pymintest.zip
 pymintest.zip
                                        
                                     
                                    
                                 
                                
                                    
                                        
                                        
                                        
                                        John
                                         
                                        
                                            Irvine, CA
                                        
                                        
                                            Sep 13, 2024
                                            14
                                            Posts
                                        
                                       
                                     
                                    
                                        
                                        
                                            Re: Python Crashes ATEasy
                                        
                                            see attached
                                        
                                        
                                        
                                            
File Attachment:
                                             hPyOjbects.JPG
 hPyOjbects.JPG
                                        
                                     
                                    
                                 
                                
                                    
                                        
                                        
                                        
                                        John
                                         
                                        
                                            Irvine, CA
                                        
                                        
                                            Sep 13, 2024
                                            14
                                            Posts
                                        
                                       
                                     
                                    
                                        
                                        
                                            Re: Python Crashes ATEasy
                                        
                                            
sorry there is a typo on the type: it should be hPyObject
i attached an updated version of your project
                                        
                                        
                                        
                                            
File Attachment:
                                             pymintest (2).zip
 pymintest (2).zip
                                        
                                     
                                    
                                 
                                
                                    
                                        
                                        
                                        
                                        John
                                         
                                        
                                            Irvine, CA
                                        
                                        
                                            Sep 13, 2024
                                            14
                                            Posts
                                        
                                       
                                     
                                    
                                        
                                        
                                            Re: Python Crashes ATEasy
                                        
                                            
sorry there is a typo on the type: it should be hPyObject
i attached an updated version of your project
                                        
                                        
                                        
                                            
File Attachment:
                                             pymintest (2).zip
 pymintest (2).zip