Subj : Re: Still unsolved problem To : netscape.public.mozilla.jseng From : Brendan Eich Date : Wed Jun 04 2003 10:59 am > 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 .