Re: Pathing problems.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Thanks to everyone who has replied to my post. I'm going to deal with each
suggestion one at a time so you know what I've tried

> Directories with spaces ???  ...use quotes... !!!
> eg:
> cd c:\program files
> ...won't work, but:
> cd "c:\program files"
> ...will.

The line that is failing reads as follows so no go I'm afraid

m3d_dll = open_dll("morfit.dll")

Note, we have tried absolute paths like

m3d_dll = open_dll("c:\\Program Files\\morfit.dll")

or whatever and still no go.

>That the user is running the program from a DOS editor could be
>a problem. Have u seen the code? Maybe some typing error, or the
>directory where morfit.dll is?

I thought that too as I had trouble with an early MEdit but that involved
finding the directory in which the models were held. Because the dll
was in the same directory as the include it had no problem in locating
the dll. The code itself is my own MorfitEU.ew include and Todd's
"LoadWorld.exw" example. MorfitEU spits the dummy because it
can't get a handle for the dll.

>I would suggest that you write a single line simple exw program like:

>  include dll.e

>  ? open_dll("morfit.dll")

>  -- pause to read
>  if getc(0) then
>  end if

The user has tried something similar with the result that he can get a
handle on other dll's but not Morfit (arggghhhhh).

>If this doesn't work put the DLL in the same directory as exw. Usally
>windows expect a dll to be in the windows directory.

Haven't tried the dll in with exw......will suggest that to him

>Then the dll maybe corrupted or maybe set for read-only ( I don't know
>if that would be a problem though )

>Then try loading another DLL if that works then you need your user to get
>another copy of the dll from a different source.

Hadn't thought of that but I don't think so. The bound Euphoria exe of
"Light_3DCard" actually doesn't have a problem with getting the handle
The Morfit "loading world" box comes up.
(is there a clue in that? That was bound on Todd's machine)
The problem seems to exist only when running "raw code"

Many thanks again for the help. If you have any more ideas I'd really
appreciate them (and sorry for the long post)

Mark

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu