Hey people!
I started learning C++ yesterday and I want to know, how can I return string to DarkBASIC Professional?
My code which is not working:
#include "stdafx.h"
#include "XOR World.h"
#include <stdexcept>
#include <iostream>
#include <windows.h>
#include <stdio.h>
#include <ctype.h>
using namespace std;
extern "C" __declspec( dllexport ) void XOR_Print( LPSTR a);
void XOR_Print( LPSTR a)
{
a = "blabla";
return a;
}
I am big noob here and I know that you will find a lot of errors but anyway
I have software and now I am ready to make DLL files 