Click here to Skip to main content
15,892,059 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi All,
I want to expose a method contained in a dll that had created in VS2005. I have to use vs2010(language C# .net) and have to create a web service that can expose methods contained in that dll. I am mentioning 1 function that i want to expose using c#.

GetMangerName(string a, string b, BSTR *s){
}
this function returns a string and receive 2 string as a parameter and 1 pointer.This same function I want to expose using c# and when we click to this method it should access the functionality of dll.
Posted
Comments
Chandrakantt 7-Mar-12 1:15am    
The DLL is made in C ,CPP or using .Net?
Sergey Alexandrovich Kryukov 7-Mar-12 2:08am    
It looks like C++
--SA
Sergey Alexandrovich Kryukov 7-Mar-12 2:07am    
Mixed string with BSTR? Where did you get such weird stuff? Is it std::string?
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900