Exemplo n.º 1
0
        static Trans2Quik()
        {
            connection_status_callback_unmgr = new CONNECTION_STATUS_CALLBACK_UNMGR(connection_status_callback_impl);
            transaction_reply_callback_unmgr = new TRANSACTION_REPLY_CALLBACK_UNMGR(transaction_reply_callback_impl);
            order_status_callback_unmgr      = new ORDER_STATUS_CALLBACK_UNMGR(order_status_callback_impl);
            trade_status_callback_unmgr      = new TRADE_STATUS_CALLBACK_UNMGR(trade_status_callback_impl);

            gc_connection_status = GCHandle.Alloc(connection_status_callback_unmgr);
            gc_transaction_reply = GCHandle.Alloc(transaction_reply_callback_unmgr);
            gc_order_status      = GCHandle.Alloc(order_status_callback_unmgr);
            gc_trade_status      = GCHandle.Alloc(trade_status_callback_unmgr);
        }
Exemplo n.º 2
0
 private static extern QuikResult START_ORDERS_UNMGR(
     ORDER_STATUS_CALLBACK_UNMGR pfnOrderStatusCallback);
Exemplo n.º 3
0
 static extern Result START_ORDERS_UNMGR(
   ORDER_STATUS_CALLBACK_UNMGR pfnOrderStatusCallback);