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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T04:51:48+00:00 2026-05-27T04:51:48+00:00

I am trying to pass a float32_t * const value to a function argument

  • 0

I am trying to pass a float32_t * const value to a function argument and I am getting exception errors. I have tried a lot of things but still receiving errors. My function is:

float32_t Distance(float32_t *const argDistance);

where float32_t is: typedef float float32_t;

I am trying to access this function like this:

float32_t* const tempTipDistance = 0;

but it tends to throw an exception:

SEH exception with code 0xc0000005 thrown in the test body.

Any suggestions on how to pass a value to this function?

  • 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-05-27T04:51:49+00:00Added an answer on May 27, 2026 at 4:51 am

    You are sending in a pointer containing a 0 memory address, which is an invalid address to access. If you want to send in a pointer to the value 0.0 use:

    float32_t value = 0.0;
    float32_t* const tempTipDistance = &value;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

im trying to pass two parameters to a function, i being an int value
Am trying to pass the selected check box value to the control function. Please
Trying to pass GetFullNamePDF() to the Filename attribute, but getting the following error: Compile
Iam trying to pass dynamic argument values i.e username from request using spring ioc.But
I am trying to pass a member function within a class to a function
I'm trying to pass one method to another in elisp, and then have that
I'm trying to pass a null value for the first parameter in the code
Im trying to pass multiple things from a webpage inside a UIWebView back to
I'm trying to pass a struct from one object to another. I have the
I am trying to pass the clicked event (event.target) to a function inside a

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.