vcl.h

This is a discussion on vcl.h within the C++ Programming forums, part of the General Programming Boards category; i m trying to run the programm written by some other person, because my professor asked me to do some ...

  1. #1
    Registered User
    Join Date
    Dec 2005
    Posts
    4

    vcl.h

    i m trying to run the programm written by some other person, because my professor asked me to do some changing,

    and there is error coming about header of vcl.h

    means #include<vcl.h> couldnt be find.

    I dont know how to solve it,,

    I am wondering if you guys can help,

    I gave you thanx in advance..

  2. #2
    Registered User
    Join Date
    Dec 2005
    Posts
    14

    compiler?

    What compiler are you using? Different ones accept different stuff

  3. #3
    Registered User
    Join Date
    Dec 2005
    Posts
    4
    this error is coming,

    means it couldnt find the file..

    --------------------Configuration: Hystproj - Win32 Debug--------------------
    Compiling...
    Hystproj.cpp
    F:\Inthyst project\Quelltext\IntecHyst\Hystproj.cpp(2) : fatal error C1083: Cannot open include file: 'vcl.h': No such file or directory
    Error executing cl.exe.

    Hystproj.obj - 1 error(s), 0 warning(s)

  4. #4
    Registered User
    Join Date
    Dec 2005
    Posts
    14
    hmmmm im getting the same error try putting a space?
    Code:
    #include <vcl.h>
    but right now i dont belive it is a correct header but I'm not the best programmer so wait till someone comes along
    Last edited by cookie12; 12-02-2005 at 06:33 PM.

  5. #5
    Registered User
    Join Date
    Apr 2003
    Posts
    2,662
    Try:

    #include "vcl.h"

    If you get the same error, then as the error says: there is no such file, so you have to find that file and insert it into your project.

  6. #6
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,062
    Either this.

    or the Visual Component Library...
    http://en.wikipedia.org/wiki/Visual_Component_Library
    http://www.visualcomponentlibrary.com/

    Not standard. It will probably come standard with Borland compilers, because it's a Borland library.
    Last edited by SlyMaelstrom; 12-02-2005 at 07:23 PM.
    Sent from my iPadŽ

  7. #7
    Registered User
    Join Date
    Dec 2005
    Posts
    4
    actually i am using Visual studio 6,,and it has been written in visual c++,,,,i am really confused

  8. #8
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    vcl.h is a Borland specific header - without one of the various Borland Builders you won't have it nor be able to use it. Which leaves you with a few choices:

    You could try commenting out the vcl.h line and see whether it's actually used or not (maybe your code doesn't actually use any vcl components).

    You could rewrite the code without the Borland specific stuff.

    Buy/borrow a copy of a version of Borland builder compatible with the vcl components referenced in your code.
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

  9. #9
    Registered User
    Join Date
    Dec 2005
    Posts
    4
    I tried to make it comment,,but i got 34 different errors after that,, so it is for sure that, i need this,

    But actually those guys also wrote it in visual c++,

    and re writting all this stuff, could take more than 20 days..

    I am nog getting the way...

  10. #10
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,046
    hmmmm im getting the same error try putting a space?
    Actually, spaces don't really matter:
    Code:
    #include<iostream>
    # include <fstream>
    If you get the same error, then as the error says: there is no such file, so you have to find that file and insert it into your project.
    The OP would need the library, too, not just the header file. It's like everyone asking "Where can I get DOS.H?"
    But actually those guys also wrote it in visual c++,
    Well, not with your version.
    and re writting all this stuff, could take more than 20 days..
    How do you know? Maybe it'll only take 19.

    If you don't want to convert it to compile under MSVC 6, then download a Borland compiler.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. vcl.h download pls help
    By intruder in forum Windows Programming
    Replies: 1
    Last Post: 12-12-2002, 11:35 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21