So im trying to make a native dll since im so bored to keep using a limited library for interface, at the moment this is the code:
At my mind it was normal but when i open L2 i get Critical Error:
Could anyone give me a light on it?
C++:
#include "SpectrePrivate.h"
IMPLEMENT_PACKAGE(Spectre);
//extern "C" DLL_EXPORT TCHAR GPackage[];
//DLL_EXPORT TCHAR GPackage[] = TEXT("Spectre");
IMPLEMENT_CLASS(AUIEvents);
IMPLEMENT_FUNCTION(AUIEvents, -1, execgetNewLog);
void AUIEvents::execgetNewLog(FFrame& Stack, RESULT_DECL)
{
guard(AUIEvents::execgetNewLog)
P_FINISH;
//G->Logf(TEXT("in new print log() "));
GLog->Logf(TEXT("in new log() "));
*(TCHAR**)Result = TEXT("Just a test");
unguardexec;
}
At my mind it was normal but when i open L2 i get Critical Error:
Could anyone give me a light on it?