Click to See Complete Forum and Search --> : i have a question,can u help me?


jasie24
January 2nd, 2003, 05:01 PM
Is it possible to compile and run ,a program in C language ,in developer studio of Visual C++6?
if yes ,how?
i've compiled(CTRL+F7) the code ,with no errors but when i've pressed the MAKE button(F7) it gives me 2 errors:LNK2001... somethin' like that.what is the problem? i have to set something,or i can't develop aplications in C language for windows using just Windows API?
thank u.

TheCPUWizard
January 2nd, 2003, 06:32 PM
Yes you can develop in straight C without any problems.

You would need to provide more information for us to be able to help you.

blacharnia
January 3rd, 2003, 02:37 PM
That depends on how many files are involved. If you open a single file with Vc ++, you 'll have to choose a "Build" option to create an executable.

jasie24
January 3rd, 2003, 03:48 PM
i know that i have to build the source in order to obtain da executable file,it's not that the issue.
it was about,pur and simple if i can develop programs in C language ,and if yes how.because i have noticed that first i have to save the file with .c so in this way it is use the c syntax in compiler,and another thing i've been noticed is the the project name should have the same name as the main file,which contains the winmain procedure.and there's one more question, i can develop any kind of winapi programs, in vc++6 i mean aplications for win95,and even for win3.1? or just for win 9x which use win32?

jasie24
January 3rd, 2003, 03:57 PM
1rst issue was pure and simple if i can develop programs in C language ,and if yes how.because i have noticed that first i have to save the file with .c so in this way it is use the c syntax in compiler,and another thing i've been noticed is that the project name should have the same name as the main file,which contains the winmain procedure.about that ,is that thing obligatory?.and there's one more question, i can develop any kind of winapi programs, in vc++6 i mean aplications for win95,and even for win3.1? or just for win 9x which use win32(in C language of course)?
2nd and ...another one: i've noticed also that the procedure winmain uses different kind of declarations such as: FAR PASCAL,WINAPI or
APYENTRY what is the dfiference between them(especially between WINAPI and APYENTRY) ,when i have to use one,or another?
Thnk u.

TheCPUWizard
January 3rd, 2003, 05:45 PM
You can only develop 32 bit applications in VC 6.0. Use need the older VC1.52 for 16 bit development (or other non-MS compiler).

Othedr than that you can develop for any platform you want, you mearly need to take care of the details carefully. I have even developed some linux programs under VS 6.0 :cool: