October 29, 2025, 10:39:28 AM

News:

IWBasic runs in Windows 11!


Difficulty Compiling Old Project

Started by Jim Scott, September 04, 2013, 09:52:35 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Jim Scott

I am having trouble compiling a project that I built back in 2007.  Back then, I was using EB ver 1.59.  I recently installed version 1.737 from the website.

This project consists of one main program file, one Include file (DDoc.inc) and five resource files (3 scalable images and 2 icons).

I get the following when I try to Compile the project;

Begin Message From Compiler
   Compiling...
   ddoc.inc
   nasm: error: more than one input file specified
   type `nasm -h' for help
   Error(s) in assembling "E:\Check-In Package Program\ddoc.a"
End Message From Compiler

I get the following when I try to "Rebuild All"'

Begin Message From Compiler
   Compiling Resources...
   No Errors

   Compiling...
   Check-In Package Program.eba
   nasm: error: more than one input file specified
   type `nasm -h' for help
   Error(s) in assembling "E:\Check-In Package Program\Check-In Package Program.a"
   ddoc.inc
   nasm: error: more than one input file specified
   type `nasm -h' for help
   Error(s) in assembling "E:\Check-In Package Program\ddoc.a"
   Build Failed
End Message From Compiler

If I take the same file and compile it as a single file build it compiles and runs fine without the DDoc features.

I have a feeling it is something simple....

Jim Scott

LarryMc

just guessing since I don't have any code to look at.
Open  Project/Options and then click the Advanced tab and clear the Assembler Options window
If that doesn't work then delete the project(ebp) file and recreate it.
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

Jim Scott

Hey Larry,

Clearing the Assembler Options made it build and run alright (It had a 1 or an l in the window).  It just doesn't seem to execute any of the DDoc32.dll code.  The GUI comes up and all the menus and buttons work.  No errors.  Just not the printing functions.

The compiler output is this;

Begin Compiler Output

   Compiling Resources...
   No Errors

   Compiling...
   Check-In Package Program.eba
   ddoc.inc

   Linking...
   Emergence Linker v1.12 Copyright © 2009 Ionic Wind Software
   Generating Check-In_Package_Program.exe
   Build completed

End Compiler Output

Thanks again,

Jim
Jim Scott

LarryMc

I need to see your .eba source file and any *.inc it might be calling other than "windows.inc".
If you don't want to post it where everyone can see it then email me a copy.

Otherwise I can't be of much help.
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

LarryMc

I also need a sample JCP file to test printing.
In meantime is there a ddoc32.lib file in your EBDev\libs folder?
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

LarryMc

As best as I can tell is that there is no selected printer.
I can't be absolutely sure since my printer is connected across the lan and not connected directly to my printer.
But I can't see where you select/set a printer, but I'm not that familiar with DDOC hardly at all.

My suggestion would be to create the smallest test program you can just to get your printer to print something using DDOC.

Sorry I couldn't help more.
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

Jim Scott

This note is a follow-up on this thread.  Nobody likes untidy threads.

Thanks to Larry (he spent at least five hours on my problem) for figuring out that I had different versions of ddoc installed.  This reminds me that I need to pay more attention and do a better job of documenting my own code.

You're a good guy Larry,

Jim
Jim Scott

LarryMc

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