|

楼主 |
发表于 2006-4-20 15:34:00
|
显示全部楼层
Re:光线游戏引擎能够支持 .net 编译吗,如果可以是否能再
#pragma once
#include "stdafx.h"
#include "image.h"
#include "..\\..\\light\\include\\engine.h"
#pragma comment( lib, "..\\..\\light\\lib\\engine.lib" )
#using <mscorlib.dll>
using namespace System;
namespace light_dotNet
{
public __gc class display
{
public:
display(void);
~display(void);
public:
static int NgSetDisplayModeWindow( int x, int y, int width, int height, int api)
{
return gSetDisplayModeWindow(x, y, width, height, api);
}
};
}
我这里这样写编译不过去
e:\我制作的游戏\light_dotnet\light_dotnet\display.h(20): error C3861: 'gSetDisplayModeWindow': identifier not found, even with argument-dependent lookup
|
|