I want to create a function that returns for each
element in something...
For example like an enum and callback function(for example:
EnumWindows and etc.) for each section in an INI file I want
my function call a callback function...OK?
And I have another question:
What is SDK?(Any article for beginners?)
javad_2005 wrote: What is SDK?(Any article for beginners?)
SDK stands for Software Development Kit. Any manufacturer can provide SDKs for its products. They consist of libraries of functions that perform particular tasks. You can use them in your own applications.
I'm hard, yet soft. I'm coloured, yet clear. I'm fruity and sweet. I'm jelly, what am I? Muse on it further, I shall return! - David Walliams (Little Britain)
Am a systems programmer.
I just wanted to know a sample code in c/c++ which can be compiled in vc++ environment.
The code sould be able to accept just the DSN username and password and should be able to connect to the database.
And the possible APIs that can be used for result sets,
using and executing queries.
First create a working DSN using the ODBC applet in Control Panel. Then use AppWizard to create a new SDI (or MDI) project. When asked for database support, select the DSN that you just created. All the right files and classes will be created for you.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
If you are refering to call back functions as it seems, its not returning 3 or 4 times. Instead your registered call back function is called 3 or 4 times using the function pointer you passed to it as a parameter.