VB.net Compilation Error

View: New views
5 Messages — Rating Filter:   Alert me  

VB.net Compilation Error

by Greg Czechowicz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html
QuickFIX 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
Data Symmetry LLC
908.264.5250 (Ph)
973.953.5944 (Cell)
908.264.5221 (Fx)

david.carle@...

 


-------------------------------------------------------------------------
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 Error

by Greg Czechowicz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html
QuickFIX 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
Data Symmetry LLC
908.264.5250 (Ph)
973.953.5944 (Cell)
908.264.5221 (Fx)

david.carle@...

 


-------------------------------------------------------------------------
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

Parent Message unknown Re: VB.net Compilation Error

by Oren Miller :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html
QuickFIX Support: http://www.quickfixengine.org/services.html

Hmmm.  Would really need to see the compilation errors to be of any
help.  One thing is certain, you are passing a variable factory into the
SocketAcceptor, but you never created a variable called factory.

> -------- Original Message --------
> Subject: [Quickfix-users] VB.net Compilation Error
> From: "Greg Czechowicz" <greg.czechowicz@...>
> Date: Mon, July 21, 2008 12:18 pm
> To: <quickfix-users@...>
> QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html
> QuickFIX Support: http://www.quickfixengine.org/services.html<hr>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
> Data Symmetry LLC
> 908.264.5250 (Ph)
> 973.953.5944 (Cell)
> 908.264.5221 (Fx)
> greg.czechowicz@... <mailto:david.carle@...><hr>-------------------------------------------------------------------------
> 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=/<hr>_______________________________________________
> Quickfix-users mailing list
> Quickfix-users@...
> https://lists.sourceforge.net/lists/listinfo/quickfix-users


-------------------------------------------------------------------------
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++

by Greg Czechowicz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html
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

Parent Message unknown Re: Example TradeClient in something other than c++

by Kenny Stone :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html
QuickFIX Support: http://www.quickfixengine.org/services.html


The executor has a C# example.  You could look at the examples in QuickfixJ, whose interface is similar to Quickfix.

On Mon, Jul 21, 2008 at 4:31 PM, Greg Czechowicz <greg.czechowicz@...> wrote:
QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html
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




--
Kenny Stone
Connamara Systems, LLC

-------------------------------------------------------------------------
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
LightInTheBox - Buy quality products at wholesale price!