|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
VB.net Compilation ErrorQuickFIX Support: http://www.quickfixengine.org/services.html When I try to compile it bombs on the following 2 lines.. Application application = new MyApplication(); And then SocketAcceptor acceptor = new SocketAcceptor
(application, factory, settings, logFactory /*optional*/,
messageFactory); If
anyone could let me know why this is happening that would be great.. Im using the example code.. using QuickFix; using System; class MyClass { static void Main(string[]
args) { if
(args.Length != 1) return; String
fileName = args[0]; try { SessionSettings
settings = new SessionSettings(fileName); Application
application = new MyApplication(); FileStoreFactory
storeFactory = new FileStoreFactory(settings); FileLogFactory
logFactory = new FileLogFactory(settings); MessageFactory
messageFactory = new DefaultMessageFactory(); SocketAcceptor
acceptor = new SocketAcceptor (application, factory, settings,
logFactory /*optional*/, messageFactory); acceptor.start(); // while(
condition == true ) { do something; } acceptor.stop(); } catch (ConfigError e) { Console.WriteLine(e); } } } Greg
Czechowicz ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Quickfix-users mailing list Quickfix-users@... https://lists.sourceforge.net/lists/listinfo/quickfix-users |
|
|
VB.net Compilation ErrorQuickFIX Support: http://www.quickfixengine.org/services.html It is actually C#. I wrote the
wrong subject.. When I try to compile it bombs on the following 2 lines.. Application application = new
MyApplication(); And then SocketAcceptor acceptor = new SocketAcceptor
(application, factory, settings, logFactory /*optional*/,
messageFactory); If anyone
could let me know why this is happening that would be great.. Im using the example code.. using QuickFix; using System; class MyClass { static
void Main(string[]
args) { if (args.Length != 1) return; String fileName = args[0]; try {
SessionSettings settings = new SessionSettings(fileName);
Application application = new MyApplication();
FileStoreFactory storeFactory = new FileStoreFactory(settings);
FileLogFactory logFactory = new FileLogFactory(settings);
MessageFactory messageFactory = new DefaultMessageFactory();
SocketAcceptor acceptor = new SocketAcceptor
(application, factory, settings, logFactory /*optional*/,
messageFactory);
acceptor.start();
// while( condition == true ) { do something; }
acceptor.stop(); } catch (ConfigError
e) {
Console.WriteLine(e); } } } Greg
Czechowicz ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Quickfix-users mailing list Quickfix-users@... https://lists.sourceforge.net/lists/listinfo/quickfix-users |
|
|
|
|
|
Example TradeClient in something other than c++QuickFIX Support: http://www.quickfixengine.org/services.html Does anyone have an example of a
trade client within in something other than c++? I am more familiar with c# and
the example that comes with quickfix is in c++ and not easy to read for me. Any
help would be great. Thanks, Greg ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Quickfix-users mailing list Quickfix-users@... https://lists.sourceforge.net/lists/listinfo/quickfix-users |
|
|
|
| Free Forum Powered by Nabble | Forum Help |