April 24, 2024, 09:02:05 AM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


$MAIN

Started by REDEBOLT, January 30, 2008, 09:41:43 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

REDEBOLT

January 30, 2008, 09:41:43 PM Last Edit: January 30, 2008, 09:53:01 PM by REDEBOLT
When I compile this program as a project,

$MAIN
OPENCONSOLE
DO:UNTIL INKEY$<>""
CLOSECONSOLE
END


I get this error:
Compiling...
HIME.INC2

Linking...
Emergence Linker v1.11 Copyright ÂÃ,© 2006 Ionic Wind Software
Unresolved external _ib_main
Error: Unresolved extern _ib_main
Error(s) in linking HIME.exe


What did I do wrong?

Note:  If I compile as a non-project single file, it compiles ok.
Regards,
Bob

LarryMc

I set up a project , added your source file, and it compiled just fine.

Larry
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

LarryMc

LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

REDEBOLT

Larry, thanks for the prompt reply.

I forgot to include the source into the project.

:-[ :'( Rookie error! :'(:-[
Regards,
Bob