SERVING THE QUANTITATIVE FINANCE COMMUNITY

 
User avatar
Cuchulainn
Posts: 61096
Joined: July 16th, 2004, 7:38 am
Location: Amsterdam
Contact:

Re: Excel DNA + Excel 2010 + VS Express 2010

February 7th, 2018, 3:33 pm

I am trying to compile an Excel-DNA in C++/CLI but it cannot handle the namespace (BTW in C# it works fine).

Any ideas?
#pragma once

using namespace System;
using namespace ExcelDna::Integration; // NS DOES NOT EXIST

namespace ExcelDNA_CPPCLI {

	public ref class MyFunctions
	{
	public:
		[ExcelFunction(Description = "My first")]
		int SayHello()
		{
			return 0;
		}
	};
}


http://www.datasimfinancial.com
http://www.datasim.nl

Every Time We Teach a Child Something, We Keep Him from Inventing It Himself
Jean Piaget
ABOUT WILMOTT

PW by JB

Wilmott.com has been "Serving the Quantitative Finance Community" since 2001. Continued...


Twitter LinkedIn Instagram

JOBS BOARD

JOBS BOARD

Looking for a quant job, risk, algo trading,...? Browse jobs here...


GZIP: On