Programming Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsOtherProgramming Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old December 1st, 2007, 09:01 PM
Buddy_99 Buddy_99 is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 28 Buddy_99 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 46 m 18 sec
Reputation Power: 0
ShellExecute command is not recognised by compiler.

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?

Reply With Quote
  #2  
Old December 2nd, 2007, 03:50 AM
Buddy_99 Buddy_99 is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 28 Buddy_99 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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!"

Reply With Quote
Reply

Viewing: ASP Free ForumsOtherProgramming Help > ShellExecute command is not recognised by compiler.


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway