ok well ive had a crack at it...

Code:
//declarations at the top
#include <map>
#include <string>
using namespace std;

typedef map<string, string> TestMap;

//export function..
extern "C" int WINAPI Test(HWND, HWND, char *data, char *parms, BOOL, BOOL) {
  
	TestMap["#Channel"] = "Mark";

	_fstrcpy(data, TestMap.find("#Channel"));

	return3;
}


but just gives me loads of errors and warnings on the export function, any ideas what im doing wrong guys?

Last edited by pouncer; 21/01/06 03:36 AM.