// RavenDx9.cpp : Defines the entry point for the DLL application.
//
#include "stdafx.h"
// include DarkBasic Pro Core Pointer
#include "globstruct.h"
// DirectX 9 headers
#include <d3d8.h>
#include <d3d8types.h>
BOOL APIENTRY DllMain( HANDLE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
{
return TRUE;
}
// define export
#define RavenCommand __declspec ( dllexport )
GlobStruct* g_pGlob = NULL;
// setup pointers
LPDIRECT3D8 pDirect3D;
LPDIRECT3DDEVICE8 Direct3Ddevice;
RavenCommand int CheckFSAA( void )
{
// check if multisampling is supported
if( SUCCEEDED(pDirect3D->CheckDeviceMultiSampleType( D3DADAPTER_DEFAULT,
D3DDEVTYPE_HAL, D3DFMT_R8G8B8, FALSE,
D3DMULTISAMPLE_2_SAMPLES ) ) )
{
return 1;
}
return 0;
}
RavenCommand void ReceiveCoreDataPtr ( LPVOID pCore )
{
// Get Core Data Pointer here
g_pGlob = (GlobStruct*)pCore;
}
see i'm not sure what causes the crash, because i thought it was the instance - but maybe its just accessing them

bloody annoying not knowing what it is
Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?