I'm using the C++ waveforms SDK to program a Digital discovery, and I'm trying to build wrapper classes for certain functions within the API.
My problem is that when I begin to call some of the API functions within a class' member functions, I get errors claiming said API functions were not declared within the scope.
I believe this problem could be fixed if I was able to use a scope operator or namespace, something like this for example:
HDWF::FDwfDigitalSpiWrite();
or
using namespace HDWF
Would anyone be able to help point me in the right direction?
Question
Guy R
Hi there,
I'm using the C++ waveforms SDK to program a Digital discovery, and I'm trying to build wrapper classes for certain functions within the API.
My problem is that when I begin to call some of the API functions within a class' member functions, I get errors claiming said API functions were not declared within the scope.
I believe this problem could be fixed if I was able to use a scope operator or namespace, something like this for example:
HDWF::FDwfDigitalSpiWrite();
or
using namespace HDWF
Would anyone be able to help point me in the right direction?
Thanks,
Guy
Link to comment
Share on other sites
0 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now