I seem to be having an issue when it comes to calling C# code from PowerBuilder, but it only affects some computers.
The program itself is a simple program that allows you to send an E-mail. The application has been written in PowerBuilder 11.2, while the SMTP part has been written in C#/C++ which is created in a Mail.dll file.
When the PowerBuilder application runs, it works 100% on almost all the computers at my work. There are a select few where it crashes at the following line
cmail mail = CREATE cmail
But as I said, it is only on a few machines. All machines are Dell Desktops, running Windows 7 64-bit with 2.0GB Ram.
The DLL file is placed at C:\Program Files (x86)\Sybase\PowerBuilder 11.0\, and that same path has been added to the PATH variable.
Are there any tips I could go on to attempt to figure out what could be wrong? My belief is that some machines cannot find the DLL even though the file path is in the system PATH, and that the computers are practically identical.
Thank you.
EDIT: Here is the error that it is throwing at us:
Application Terminated.
Error: Bad runtime function reference at line 11 in clicked even of object cb_send of w_email