Calling a windows API function from within a c++ program
Posted on 1999-07-28
I am at a loss for how to call the windows API function "FindExecutable" from within my c++ program.
I am trying to create a program that can determine if a particular file type (html in my case), is supported on the computer where the program is being run.
What I need help with is the semantics. I reviewed the Win32 Programmer's Reference, but I don't know how to combine the description in the Win32 reference with the actual program code (what do I put in the #include statement, do I have to declare any variables, etc).
How does a c++ program look when it incorporates this (or any) Windows API function?
FYI: I'm using a Borland C++ compiler.