Subj : Re: Still unsolved problem To : netscape.public.mozilla.jseng From : "Stu" Date : Mon Jun 09 2003 01:04 pm "Brendan Eich" wrote in message news:3EE0B88C.4070308@meer.net... > > > Can you look at the default.pac file in your temp directory and see if > > it looks ok? > > > It would be good to see the exact PAC file contents. Also, Stu: print > out the string you read into SavedAclPath, just for grins, and make sure > that names the file you want to read. > > Confirming the version of the engine or source code being used would be > good. > > > > Brendan I assume the global object and friends he has created are > > protected from GC via the new born mechanism? > > > It's not a newborn, it's the cx->globalObject root-by-definition set by > JS_InitStandardClasses. There's no sign a GC is running, anyway. This > looks more like some linker-related problem peculiar to windows. > > /be > Sorry about the delayed response, I lost the Newsgroup connection on Friday. The exact PAC file contents is as the original example #default.pac function FindProxyForURL(url,host) { if (isInNet(host, "10.0.0.0", "255.0.0.0")) { return "DIRECT" } return "PROXY xap1.intra.hidden.com:8080; PROXY xap2.intra.hidden.com:8080; DIRECT" } I've confirmed that this is exactly what is copied to the C:\temp directory and both the source and the copy are 185 bytes. I've confirmed the SavedAclPath is correct, I expect the CompileFile would fail if this was wrong anyway. The engine was downloaded from the ftp UK mirror and has the filename js-1.5-rc5a.tar.gz I hope that helps. chasing up the other linking error response next... thanks guys, I've now got a fully functional program using the Debug dll so i'm halfway there. Apart from a 64k and a 32k Memory leak on shutdown. But lets sort this Release prob out first. I'm sure we'll get there eventually, Stu. .