View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
[email protected] dwidavidwilkinson@yahoo.com is offline
external usenet poster
 
Posts: 6
Default Can I still register a function in a DLL using ExecuteExcel4Macro REGISTER?

Hi,

Apologies it is square.c

I changed square.c to:

double _stdcall square (double x)
{
return x * x;
}

and it worked.. I appreciate your help. There are so few working examples available to learn from.

Thank you