Subj : Re: Still unsolved problem To : netscape.public.mozilla.jseng From : "Stu" Date : Wed Jun 04 2003 07:43 pm "Brendan Eich" wrote in message news:3EDE2569.8050608@meer.net... > > > What am I doing thats causing the CallFunctionName() to Error with > > "ReferenceError: host is not defined" but only with the release Dll. > > > Either an uninitialized variable in your code, or an incompatibility > between the debug and release versions built by MSVC. > > > > Another thing, I move the C function call from the Javascript an just leave > > and return "DIRECT" as the FindProxyForURL function body I get a successful > > CallFunctionName with both the Release and Debug Js32dll. > > Is the Release Dll somehow tied to the release compilation of the C++ > > project? I've always been compiling my C++ project as debug? > > > I'm not a Windows hacker, but I recall something about not mixing debug > and release mallocs. Could that be happening? Cc'ing dbradley, who > does know Windows. > > /be > Not sure I know what you mean. I'm not using Malloc anywhere in my code but that doesn't mean its not in use in one of the libraries / classes I'm using. Cheers for the info I'll try and trace it down a bit more with that. Bet its Windows induced problem as it seems to be the bane of my life at the moment. Stu. .