请帮忙把下面的DLL改成ActiveX Libiary,我实在不会,忙了一夜也没搞定!
#include <vcl.h>
#include <windows.h>
#pragma hdrstop
#pragma argsused
String str; //str改成Activex属性
extern "C"
{
__declspec(dllexport) __stdcall int test(String temp); //函数改成Activex方法
}
int WINAPI DllEntryPoint(HINSTANCE hinst, unsigned long reason, void* lpReserved)
{
return 1;
}
//------------------------------------------------------------------------------
int __stdcall test(String temp)
{
return 0;
}
//---------------------------------------------------------------------------