
December 2nd, 2007, 03:50 AM
|
|
Registered User
|
|
Join Date: Nov 2004
Posts: 28
Time spent in forums: 3 h 46 m 18 sec
Reputation Power: 0
|
|
Quote: | Originally Posted by Buddy_99 I have converted a consol program Borland V3 C++ code to Borland V6 C++
After conversion, the ShellExecute command is not recognised by the compiler.
The line of code is:
ShellExecute(NULL, "open", point, NULL, NULL, SW_SHOWNORMAL);
The error is:
E2268 Call to undefined function 'ShellExecute'
Can some guru say if this is just an undefined header file or what? |
I'm replying to my own question.
Rebuilt the project files by hand and the code worked OK. The problem seems to have been that the Borland IDE did not convert the Project file in this instance from version 3 to version 6 correctly. I gues the lesson is, "Never trust a wizard!"
|