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 9135995
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T08:53:42+00:00 2026-06-17T08:53:42+00:00

I am working on Visual C++. Can you please help in this syntax .

  • 0

I am working on Visual C++. Can you please help in this syntax .

  class CVisionSystem
  {
    public:
CVisionSystem();
 ~CVisionSystem(void);


int Init();


    private:

 PvDevice device;
// PvStream object
      PvStream stream;
// Buffer

  CustomPipeline *pipeline;

// GEV Parameters
PvGenParameterArray *deviceParams;
    PvGenInteger *parTLLocked;

 };

int CVisionSystem::Init()
 {
 deviceParams = device.GetGenParameters();    
 parTLLocked = dynamic_cast<PvGenInteger *>( deviceParams->Get( "TLParamsLocked" ) );

 }

deviceParms gets valid value, however parTLlocked gets NULL value that leads to an error : “error expression cannot be evaluated, _vfptr CX0030 and mthis CX0076.

What can be the problem of ParTLLocked ?

  • 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-17T08:53:43+00:00Added an answer on June 17, 2026 at 8:53 am

    I am guessing that deviceParams->Get( "TLParamsLocked" ) returns a type that can not be dynamic casted to PvGenInteger *. The return type should be a pointer to either a subclass or a parent class of PvGenInteger(or possibly the same class) for this dynamic_cast to return non-null value.

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

Sidebar

Related Questions

Can anyone tell me why this is not working please? I have two registry
This isn't working in visual studio 2010 , it gives me the following error
I'm new to visual studio and can't seem to find an answer to this
First - if anyone has an entity model with DB2 working, can you please
Please help with my final project in my intro/intermediate programming class. Using stored procedures,table
I have a working website website project in visual studio. I can view all
Can someone help me out please, as google is not providing the answers. I've
I've been working on this since yesterday and I just can't update my database.
Working in Visual Studio 2008. I'm trying to draw on a PNG image and
Busy working on Visual Studio 2010 Express for Windows phone and is wanting to

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.