Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9169217
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T15:49:16+00:00 2026-06-17T15:49:16+00:00

I downloaded QuickFix.dll from quickfixengine.org When I declare an object which belongs to namespace

  • 0

I downloaded QuickFix.dll from quickfixengine.org

When I declare an object which belongs to namespace QuickFix::Fields, I cannot get its corresponding base value (I mean char value for OrdType, string value for OrderID etc). As there are no properties associated with them.

Is there any other way to achieve the same?

The code is:

......
QuickField::Fields::OrdType ordType;
message.Get(OrdType);//message is a NewOrderSingle 
                     //type object defined prevviously in the code
                     //Now i wish to get the value contained in "ordType" but it has no
                     //properties to access its data member(s)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T15:49:17+00:00Added an answer on June 17, 2026 at 3:49 pm

    This is what you want to see:

    QuickField::Fields::OrdType ordType;
    message.get(ordType);
    char char_value = ordType.getValue();
    

    Advice: check out the class documentation. The field base class is FIX::FieldBase, which derives into FIX::StringField, FIX::BoolField, FIX::IntField, etc. All of these have a getValue() function which returns the raw field value converted into the proper data type.

    Another way to do this (much less legitimate) is to use Message::getField(int) which returns the value of a field as a string. So you could use std::string str_value = message.get(40);, but you’d have a string instead of a char (or int or bool or whatever).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to get started with c++ quickfix engine. I downloaded the project (VS2010
I downloaded Android's Browser project (from git) and imported it to Eclipse. I cannot
I downloaded the eclipse from this site: http://www.eclipse.org/downloads/ (Eclipse classic 4.2.1) I extracted the
Downloaded Reachability from Apple, using this method to check for an active connection: -(BOOL)isReachable{
I downloaded a project from TouchMyPixel and when I try to run it with
I downloaded and edited a code that from internet, basically what I want to
I downloaded Mono software (http://xamarin.com/monoforandroid) and the samples from the xamarin website (http://samples.xamarin.com/Android). When
Just downloaded Quartz.Net, read the documentation which is out of date and have ended
I downloaded the kernel source for htc explorer (pico-gb-crc-2.6.38-71ff0f2). But I cannot find the
I downloaded a sample from https://github.com/ResultsDirect/LinkedIn-iPhone . The sample works fine, but I need

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.