I am able to create a C# application using the [url removed, login to view] on a 32bit machine using [url removed, login to view]
But when running the application from a 64 bit machine i get the following error: "An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)"
This is the function declaration
public static extern int madx_init(IntPtr out_buffer, IntPtr mx_house);
When the function is called an error is thrown..
We need a version of [url removed, login to view] which runs on a 64 bit machine...
Source Code and demo version madxlib are here: [url removed, login to view]