Article View: alt.comp.lang.learn.c-c++
Article #403Re: Can somebody help me with this code?
From: Maynard Philbrook (Jamie)
Date: Tue, 25 Aug 1998 00:00
Date: Tue, 25 Aug 1998 00:00
47 lines
1711 bytes
1711 bytes
You must not have your Lib path set up correctly, the LIB is used at link
time..
you need to correct the path to your LIB, some compilers need the SET
statement
in the AutoExec.bat file///
SET LIB=C:\Borland\BC45\Lib;
this is just and exampple of course..
Garbage <garbage@mailexcite.com> wrote in article
<35E24936.3620EAF8@mailexcite.com>...
> Everyone,
>
> I copied some codes from the OWL Help of BC++ 4.52, but when I compiled
> it, it just gave me 23 linker_errors... Can somebody give me a reason
> for these errors?
>
> ==
>
> #include <owl\applicat.h>
> #include <owl\framewin.h>
>
> class TMyApplication: public TApplication
> {
> public:
> TMyApplication(char* Title): TApplication(Title) {}
> virtual void InitMainWindow();
> };
>
> void
> TMyApplication::InitMainWindow()
> {
> SetMainWindow(new TFrameWindow(0, "My First Main Window"));
> }
>
> int
> OwlMain(int argc, char* argv[])
> {
> return TMyApplication("Wow!").Run();
> }
>
> ==
>
> Thank you.
> From Garbage
>
Technical Details
Message-ID:
<01bdd085$dc4cf260$254f36d1@default>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<35E24936.3620EAF8@mailexcite.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109fba,28055021c9d9d1ba X-Google-Attributes: gid109fba,public X-Google-Thread: 114592,28055021c9d9d1ba X-Google-Attributes: gid114592,public X-Google-Thread: 108ebe,28055021c9d9d1ba X-Google-Attributes: gid108ebe,public From: "Maynard Philbrook (Jamie)" <jamie@cyberzone.net> Subject: Re: Can somebody help me with this code? Date: 1998/08/25 Message-ID: <01bdd085$dc4cf260$254f36d1@default> X-Deja-AN: 384737793 References: <35E24936.3620EAF8@mailexcite.com> X-Trace: 25 Aug 1998 20:10:36 -0500, 209.54.79.37 Newsgroups: alt.comp.lang.learn.c-c++,comp.lang.c++,borland.public.cpp.owl