Folks, I've got some DLLs written in Borland C++ with functions that I have to import for use in some C# code. I can see the functions inside the DLLs using depends.exe, but I can't get the signatures correct and I get "unbalanced stack" errors runtime due to mismatching signatures.
Is there some technique I can use to convert the DLL functions into correctly matching methods with [DLLImport]? The weak link at the moment is the human one, me. Greg K
