Article View: alt.comp.lang.learn.c-c++
Article #399Can somebody help me with this code?
From: Garbage
Date: Mon, 24 Aug 1998 00:00
Date: Mon, 24 Aug 1998 00:00
34 lines
1303 bytes
1303 bytes
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:
<35E24936.3620EAF8@mailexcite.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 108ebe,28055021c9d9d1ba,start X-Google-Attributes: gid108ebe,public X-Google-Thread: 114592,28055021c9d9d1ba,start X-Google-Attributes: gid114592,public X-Google-Thread: 109fba,28055021c9d9d1ba,start X-Google-Attributes: gid109fba,public From: Garbage <garbage@mailexcite.com> Subject: Can somebody help me with this code? Date: 1998/08/24 Message-ID: <35E24936.3620EAF8@mailexcite.com> X-Deja-AN: 384449387 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii MIME-Version: 1.0 Reply-To: garbage@mailexcite.com Newsgroups: alt.comp.lang.learn.c-c++,comp.lang.c++,borland.public.cpp.owl