My old C++ application has created an instance of the VBScript (or JScript) script hosting interface IActiveScriptParse32. Using the GUID BB1A2AE2-A4F9-11CF-8F20-00805F2CD064 I could get the interface and work with the instance. I compiled the C++ application using to a x64 application and it is till working.
Now, I ported the application to .NET C#, using the code in "Steps to Reproduce". When compiled with "Any Cpu" it is working on x86 but not on x64. To get it working on systems with x64 .NET I have to use corflags.exe to set the compiled EXE to 32bit or to use x86 in the compile options in VS.