If you call sys.exit(1); from inside your embedded code you run the risk of closing you app, (as exit will be called). This post explains how to prevent this from happening.
Author archives: admin
Released piger 0.3.2
New release of Piger 0.3.2, Python and Lua are supported as well as simple script examples!
Embed Python in your C++ application without Python installed on guest machine
Trying to embed Python in you C++ app when the user does not have Python installed will cause a crash.
This shows you how to ‘force’ the correct version of Python, regardless what the user has installed.
Installing Eclipse C++ on Windows
How to install Mingw, C++ on windows to run on Eclipse.
Include Google test to your vs2015 project
To include Google test to your visual studio project you just need to follow the steps below Download Googletest from Github and copy all the file in it’s own folder. You only need the folder called “googletest” other files are for github and so on. Create a library Add a new empty project Right click […]
How does Myoddweb email classifier work
Myoddweb email classifier is a Naive Bayes classifier, in very simple terms, it classifies emails based on your previous classifications. In other words, the more you classify something, the better it is at classifying emails. So, out of the box, Myoddweb classifier cannot classify anything, you need to teach it what to do. The classification is also […]
Installing MyOddWeb Classifier
To install Myoddweb classifier simply follow the following steps Download the setup from Github (will open new window). Make sure that Outlook is closed. Make sure that you have .NET version 4.5 or later (will open new window). Run the setup Depending on the version on windows you are using you will get a ‘warning’ asking you […]
php_mcrypt for php 5.3.x
The other day I upgraded my dev box to php 5.3.6, (from 5.2.x), and I got frustrated because I could not get php_mycrypt.dll to load. The reason is simply because it is bundled in php 5.3.x, (for windows at least). I suspect it is also built in with the unix versions as well.
Common issues with php-Apache installs
A few common issues with Apache/php installs.
Install MCrypt for PHP on Windows
How to enable mcrypt/libmcrypt for PHP on a windows webserver. Also explain how to create a phpinfo file to get the website values.