Recently I found that we can save the config files and if we just double click on that it will open the AX client with specific configuration.
To save the config file, Please use Ax client configuration tool.
This is the blog of my interest.(Chess,funny Tech,puzzle etc)

[DllImport("XXXXXX.dll")]
public unsafe static extern BusinessObject configure(int iConnectTimeout_seconds, int iReadTimeout_seconds,
char[] sProtocol, object pLoggingStream, char[] sUserAgent, char** sError );
“A call to PInvoke function 'sathish!CDLL.Cfunction::export' 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 target unmanaged signature.”
once change the target framework to .NET 4 to .NET 3.5 it start working:)

_buf = new char[array_wid]where array_wid is 1GB. So it is finding difficult to get huge continues memory in cygwin.
-Wl,--stack,8388608,--large-address-aware,--heap,200000000.
Your Visual studio taking long time load your project ?
just delete content of following folder (and keep deleting everyday…)
C:\Documents and Settings\
More information: http://groups.google.com/group/chromium-dev/browse_thread/thread/b181f59d9d445fa1?pli=1