Subject | SqlBind and Dynamic Storage Allocation |
---|---|
Author | Richard Thomas |
Post date | 2006-06-14T11:27:42Z |
Hi All:
I need to use the Bind function to bind DataBase Table Fields to my Programming Language's host variables at run time. Since I wont know the number or types of host variables required until run-time, I'm looking into Dynamic Storage Allocation of variables to use with the Bind Function. Would you recommend the Win32 MALLOC function or something else? If the MALLOC Function would I use the variable length as defined in the MetaData Catalog entry for the particular DataType?
I'm working on a Windows XP system.
Thanks for any pointers or alternate suggestions to research.
Rick USA
[Non-text portions of this message have been removed]
I need to use the Bind function to bind DataBase Table Fields to my Programming Language's host variables at run time. Since I wont know the number or types of host variables required until run-time, I'm looking into Dynamic Storage Allocation of variables to use with the Bind Function. Would you recommend the Win32 MALLOC function or something else? If the MALLOC Function would I use the variable length as defined in the MetaData Catalog entry for the particular DataType?
I'm working on a Windows XP system.
Thanks for any pointers or alternate suggestions to research.
Rick USA
[Non-text portions of this message have been removed]