|
date: Tue, 19 Aug 2014 11:38:37 -0500
from: Scott Klement <c400-l@xxxxxxxxxxxxxxxx>
subject: Re: [C400-L] Struggling with API QDFRTVFD
Maybe I'm not understanding, but... wouldn't it simply be like this?
Since WDFFFIOA isn't a pointer, it's just a byte, can't you just check==0) {
it directly?
Sorry... I haven't following this whole conversation, so I might be
missing something important.
-SK
I am converting it to C but I am stuck on converting this line of code
if QDFFFINF.WDFFFIOA = x'01'
I coded it in C as a strncmp but I get this compile error.
This is and example of the compile error I am getting.
217
218 17 | if (strncmp(p_QDFFFINF->WDFFFIOA, Attrib, 1) == 0)
218 17 + if ((_STRNCMPNULL((p_QDFFFINF->WDFFFIOA),(Attrib),(1)))
types*=SEVERE==========> a - CZM0280 Function argument assignment between
"const char*" and "char" is not allowed.
219 18 | NumFlds += 1;
220 | }
Frank
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.