For Programmers: Free Programming Magazines  


Home > Archive > Clarion > June 2006 > CW 2.0 - path not found on compile









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author CW 2.0 - path not found on compile
admin

2006-06-17, 7:56 am

Folks..

It's been a while (and I have been playing around with CW6.0 so that
makes it even longer..)

I'm trying to make a quick change to a legacy application I wrote in CW
2.0 about 10 years ago. The development environment shouldn't have
changed - I've kept the same installation of CW20 and the application
intact on the same drive all that time.

When I go to compile any module in the application (it consists of one
EXE and about 20 DLLs) - it goes through the entire compile, doing each
procedure in the module, then it goes to compile the DLL or EXE.. and
fails with the message "Path not found"

In the compiler screen it will say (call the module "ORDREPTS.APP - and
it's compiling to a DLL)

In the screen itself:

Making ordre_rd.obj (ordrepts.clw changed)
Compiling ordre_rd.clw

At the bottom left of the window, below the screen it says "Including:
ORDREPTS.clw"

And at this point - the "Error - Path not found" error box pops up.

Any thoughts? The message isn't terrible descriptive..

TIA
Don Eilenberger (done@REMOVETHIS.bidservice.com)
Zdravko

2006-06-17, 7:56 am


> And at this point - the "Error - Path not found" error box pops up.
>
> Any thoughts? The message isn't terrible descriptive..
>


Hi
is your C:\Clarion6\BIN directory included into your PATH?
Type PATH from DOS command prompt to be shure.

Zdravko


admin

2006-06-17, 7:56 am

Zdravko wrote:
>
> Hi
> is your C:\Clarion6\BIN directory included into your PATH?
> Type PATH from DOS command prompt to be shure.
>
> Zdravko


Zdravko,

Thanks! I found the problem was with my redirection file.. for some
reason (perhaps a W2K security update) the relative paths I used in the
redirection file no longer worked (ie - .\cw20\bin) and needed to be
changed to absolute paths (ie - d:\cw20\bin) - once I did that it all
started working again.

Go figure. I know this has been a problem on W2K servers used for IIS
use where the code used relative paths. I think there is a way to allow
relative paths in W2K - but it's not worth my while digging it out.

Thanks again for the help!
Don

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com