On Mar 5, 4:03 pm, dev <[email protected]> wrote: > I'm sure this has probably been asked before .... > I have rewritten a COM DLL into C#, with a number of interface > functions, and a number of events that can be fired back to the > client(s). I can call it from a VB (6) client without problems. > However, when I try to use a C++ client (still visual studio 6) that > worked with the old DLL, any call to an interface function gets the > error "The value of ESP was not properly saved across a function > call." > ...
I'm wondering if the problem is with the return type. In the original C++ version of the DLL, the return type of each function was STDMETHODIMP (i.e. an HRESULT). What should the return type be therefore in the C# version ? - Tim -- You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en or visit the group website at http://megasolutions.net
