Hi,
I have a question about using a C# DLL in PB. We purchased a third-party DLL that was written in C with a VB 6 wrapper. I was able to use the VB 6 DLL without any issue. The declaration was as follows
SUBROUTINE calculate (double a, double b, long c, REF double d, REF long I) LIBRARY "vb32.dll" ALIAS FOR "calculate;Ansi"
Now our company have decided to use a C# wrapper instead of VB 6. When I declare the C# DLL, I get a syntax error.
private static extern void calculate (double a, double b, long c, ref double d, ref long l) LIBRARY "x32.dll" ALIAS FOR "calculate";
I am using PB 2017 R3 Build 1858.
I would appreciate any help.
Thank you