I'm having a terrible time trying to get even the simplest automated programs working using Genesis Laser's API. I've got the .NET API to connect and get data for a couple symbols but orders are silently ignored. I turned to the C++ API and I am getting assertion failed errors in wincore.cpp, and this is with a sample program supplied by Genesis!
In C++, the error happens when I try to log in. Immediately I get a dialog which says:
Debug Assertion Failed!
Program: Stocastic.exe
File: f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\wincore.cpp
Line: 4443
The debugger shows this at the lines in wincore.cpp:
BOOL CWnd::SetOccDialogInfo(_AFX_OCC_DIALOG_INFO*)
{
ASSERT(FALSE); // this class doesn't support dialog creation
return FALSE;
}
I don't have an extensive background in C++ (I'm a Java guy, really) so I'm not sure what to do to debug this and when I ask Genesis or my broker they have been unhelpful.
Does anyone have any ideas or suggestions? If you think this isn't a simple fix and you have some mad C++ skills and would like to help, PM me to discuss rates.
In C++, the error happens when I try to log in. Immediately I get a dialog which says:
Debug Assertion Failed!
Program: Stocastic.exe
File: f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\wincore.cpp
Line: 4443
The debugger shows this at the lines in wincore.cpp:
BOOL CWnd::SetOccDialogInfo(_AFX_OCC_DIALOG_INFO*)
{
ASSERT(FALSE); // this class doesn't support dialog creation
return FALSE;
}
I don't have an extensive background in C++ (I'm a Java guy, really) so I'm not sure what to do to debug this and when I ask Genesis or my broker they have been unhelpful.
Does anyone have any ideas or suggestions? If you think this isn't a simple fix and you have some mad C++ skills and would like to help, PM me to discuss rates.