ObscureAngel 0 Posted January 5, 2016 Share Posted January 5, 2016 Hello metin2dev, bascially, I am writting a Python Loader thats work with Python 2.7.3 but I have a problem: when I call the function PyRun_SimpleFile it crashes. It crashes only with this function, if I call PyRun_SimpleString it works. Someone knows why? Link to comment Share on other sites More sharing options...
Pisti95 134 Posted January 6, 2016 Share Posted January 6, 2016 Because in your starter declare this: PyRun_SimpleString Link to comment Share on other sites More sharing options...
ObscureAngel 0 Posted January 6, 2016 Author Share Posted January 6, 2016 4 hours ago, Pisti95 said: Because in your starter declare this: PyRun_SimpleString What you mean? I don't understand. Link to comment Share on other sites More sharing options...
Pisti95 134 Posted January 7, 2016 Share Posted January 7, 2016 Search for in Hex Editor, in your launcher/starter. Search for: PyRun_SimpleString Link to comment Share on other sites More sharing options...
ObscureAngel 0 Posted January 8, 2016 Author Share Posted January 8, 2016 On Thursday, January 07, 2016 at 7:02 AM, Pisti95 said: Search for in Hex Editor, in your launcher/starter. Search for: PyRun_SimpleString And what I should do after with this? I don't use a protected python library. Link to comment Share on other sites More sharing options...
Pisti95 134 Posted January 9, 2016 Share Posted January 9, 2016 sorry, You find in python22.dll or python27.dll Link to comment Share on other sites More sharing options...
ObscureAngel 0 Posted January 11, 2016 Author Share Posted January 11, 2016 I'm working with Python 2.7.3. Anyway problem solved: now it works with python's functions (PyFile_FromString, PyFile_AsFile, ecc..). But now I have another problem: the encoding. Simplest scripts work but with more complex it give me error with the encoding. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now