View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Paul Paul is offline
external usenet poster
 
Posts: 3
Default calling C# DLL from VBA

Dear all,

I am very new to microsoft programming world and would definitely need
help. I tried created a C++ DLL and I can call it from Excel VBA, and
it works well.

Now I am trying to create a C# DLL, I can compile the DLL but I can't
call it from my Excel VBA. Everytime when I invoke the VBA macro it
complains the entry point of the DLL is not found. Are there something
missing during my DLL compilation step??

I remember that I have to define the "functions to be exposed" in a DEF
files for the C++ Linker. Do I have to do something similar for C#?

Thanks a lot.

Paul