Преобразуйте код vb6.0 в c#.
Hello Experts, I getting problem converting vb6.0 code into c# Declare Function GSSymbol Lib "GSWDLL32.DLL" (ByVal fxOrg#, ByVal fyOrg#, ByVal nSymbol&, ByVal nClr&) As Long Thanks, T.Ramesh Kumar
Что я уже пробовал:
[DllImport("GSWDLL32.DLL", SetLastError = true)] public static extern long GSSymbol( long fxOrg, long fyOrg, long nSymbol, long nClr );
ошибка :-
<pre>Managed Debugging Assistant 'PInvokeStackImbalance' : 'A call to PInvoke function 'CTTS!CTTS.CTTSUtils::GSSymbol' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention and parameters of the PInvoke signature match the