No, the only change was in how the main program (the one you name on
the commandline) get instantiated. Modules get instantiated just like
before.
I don't see anything wrong with your Stdio.File() instantiation, so
probably the problem is somewhere else in your code.
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)
Previous text:
2004-10-14 18:34:
Subject: Re: port problem when update from 7.4 to 7.6
Marcus,
Well I've solved the problem with the port but I
am assuming it was a global change to the way all pike
modules get instantiated? Because now Stdio.File gives
me some weird error. It doesn't say it can't create
the file but instead I get a "unexpected '(' error" at
the end of the code where I am opening up the file. If
I comment out the code to open the file the program
will run. I am using it in such a way:
object ferr =
Stdio.File("C:/EMAGE/sys/data/log/run.c", "wca+");
If this doesn't help I am more than willing to send
you the rest of the code. Thank you for your time.
P.S: I didn't post this to the pike developers forums
because I didn't want it to seem as if I was asking
the same question over again. Maybe I just don't
understand how pike handles modules? Everything worked
fine for me with 7.4 :-.
_______________________________
Do you Yahoo!?
Express yourself with Y! Messenger! Free. Download now.
http://messenger.yahoo.com
/ Brevbäraren