Hi all,
I am using MSVC++ 6.0 with ODBC connecting to SQL Server.
I have allocated two statement handles. The idea is to call
a select statement that returns a number that is used as one of the arguments for the stored procedure, ex:
SQLExecDirect(hGetNum, _T("select number from table...
Thanks for clearing that up, and sorry about the "UNIX guy" thing. I was just thinking that command lines are more prevailent in the unix world these days. And yes I do know about pointers, it just doesn't seem like I have the syntax clear yet. I need...
This might be really basic, but why does this not work:<br><br>int main (int argc, char **argv) <br>{<br> if (argv[1] != "server")<br> printf("Not a valid argument!\n");<br> return...
Thanks! I think I get it. The reason is because if you cast it like: (struct this_struct)input_struct->member then what that is saying is "cast the object member to the type this_struct" but since input_struct is a void * by default then the compiler...
Hi everyone :)<br><br>Bear with me here I'm teaching myself C as I go. I would like to be able to send different types of structs accross a network using the same function. I don't have a problem breaking the structs down and send()ing them, but I tried this and it doesn't...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.