I have written a DLL using Win32 SDK . One of the exported functions in DLL takes LPCTSTR as parameter. How do I call this from VB ? If I pass a variable of type String , it gives a "Bad DLL Calling convention" error.


Help is very much appreciated


Thanks

Anand