Please give me a sample code on the easiest way to make a dll that connects to a database through ODBC. I alreasdy have the ODBC hooked up now i just want to make a functions and parameters to pass to the dll. Please help.

Thank
Mark