lua-users home
lua-l archive

tolua & DLL problems

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hello all.
I'm using tolua to try and wrap a DLL. 
The problem is it keeps giving me link errors along the lines of:
ScriptedObject.obj : error LNK2001: unresolved external symbol 
__imp__pSink
the actual header file has it listed as:
PARTICLEDLL_API void pSink(bool kill_inside, PDomainEnum dtype);
with PARTICLEDLL_API being:
#define PARTICLEDLL_API __declspec(dllimport)
Any ideas on how to fix this? Or is this too major to use for tolua?
thanks a bunch!,
Fabian

AltStyle によって変換されたページ (->オリジナル) /