Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Type name expected in USEFORM problem.

Status
Not open for further replies.

stopter

IS-IT--Management
Dec 18, 2002
1
PL
I've just installed Builder C++ 6.0 Enterprise. I can't compile any project. Even default project from wizard. I getting in Project1.cpp in lines:

USEFORM("Unit1.cpp", Form1);
WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)

errors like this:

[C++ Error] Project1.cpp(6): E2303 Type name expected
[C++ Error] Project1.cpp(6): E2034 Cannot convert 'char *' to 'int'
[C++ Error] Project1.cpp(6): E2293 ) expected
[C++ Error] Project1.cpp(8): E2141 Declaration syntax error

In Personal version I have no problem like this.
Help me if you can?
K>K>
 
I think you should go to the c++builder forum,
there are many peolpe that will help u, they are especialist in BCB.

Check the forum list and the development tools search for the borland inprise (c++builder) forum
 
I have not checked c++ builder 6, so I hope not to have the same problems than you
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top