Re: help with a simple ODBC program
Patrick Galbraith <[email protected]>
| Newsgroups | gmane.comp.db.mysql.odbc |
|---|---|
| Message-ID | <[email protected]> |
Jess Balint wrote: >On Tue, May 01, 2007 at 09:57:21AM -0400, Patrick Galbraith wrote: > > >>I'm attaching this program that I wrote for anyone who would like to >>help me with this. I would appreciate any help, in advance, that anyone >>can please give! >> >> > >Looks like you wanted a pointer here: > SQLHSTMT stmt= malloc(sizeof(SQLHSTMT)); > >Jess > > > Jess, ack - I had switched to using "SQLHSTMT stmt" back to using a SQLSTMT pointer just prior to sending, and forgot to change it back to: "SQLHSTMT *stmt= malloc(sizeof(SQLHSTMT))"; thanks! Patrick -- Patrick Galbraith, Senior Programmer Grazr - Easy feed grazing and sharing http://www.grazr.com Satyam Eva Jayate - Truth Alone Triumphs Mundaka Upanishad -- MySQL ODBC Mailing List For list archives: http://lists.mysql.com/myodbc To unsubscribe: http://lists.mysql.com/[email protected]