TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Karthik Agarwal
NA
748
266.5k
How to debug this?
Dec 5 2011 10:30 AM
Hi,
I am calling a function which is declared as follows:
typedef char HMI_CHAR;
typedef UINT32 LANG_SID_T;
HmLanguage1GetString(LANG_SID_T p_sid, HMI_CHAR * p_str_dest_P, UINT8 p_req_length, UINT8 p_cur_language_U8);
Now i am calling the above function as below:
HMI_CHAR *static_string;
UINT8 replace_char = 0;
HmLanguage1GetString(0xB4C, &static_string, 12, replace_char);
Actually i the API which i am calling will return a string in the static_string variable which is nothing but a destination pointer.
What i want to know is am i passing the parameters correctly?
And one more thing i want know is after getting the string which is returned by the API, how can i store the same in an array one character after the other?
Note: This is pure C coding. Reply needed ASAP.
Reply
Answers (
4
)
Can any one tell what does this below code mean?
Idea class scale C++