The lib was built using Dev-C++ and the built function Printf
should just printout a constant string using printf.
The C-Code for the lib looks similar to this (jaja, no debug_routine) :
Code: Select all
#include <stdio.h>
// dummy example
extern _stdcall PB_Printf()
{
printf("Hello World!");
}
For example I created with PureBasic a console application with just one
line (without using OpenConsole()) :
Code: Select all
Printf()
to and prints out : Hello World!.
However, when I try to catch the stdout (String -> Hello World) via php's
passthru I do not get anything.
Any ideas what I did wrong
