I have a C++ .NET dll (not mfc or atl). Is there something I should know about sending a VB long and receiving in C++ as __int32? From VB.NET it works just fine, but not from VB. That is, I can convert the number (uint32) properly from VB.NET, but it returns a different number if passed from VB6. In fact, the number is the same no matter what I pass.
Also, in C++ if I pass a filename with full path from VB6, say "C:\TempDirectory\ThisDirectory\777777-1111B4.BMP", I want to extract the 777777 from this string. Unfortunately these backslashes (escape sequences) strip some of the numbers off and play havoc with my unbelieveable programming skills. Any ideas?
Much appreciated.
Also, in C++ if I pass a filename with full path from VB6, say "C:\TempDirectory\ThisDirectory\777777-1111B4.BMP", I want to extract the 777777 from this string. Unfortunately these backslashes (escape sequences) strip some of the numbers off and play havoc with my unbelieveable programming skills. Any ideas?
Much appreciated.