In .NET 4.5, I can call Environment.Is64BitProcess
to detect whether a process is running in 32 bit or 64 bit. How can I achieve the same in a Classic ASP application?
在.NET 4.5中,我可以调用Environment.Is64BitProcess来检测进程是以32位还是64位运行。如何在Classic ASP应用程序中实现相同的功能?
1 个解决方案
#1
0
You can call the .NET framework from classic asp.
您可以从经典的asp调用.NET框架。
Dim objUnicode
Set objUnicode = CreateObject("System.Text.UnicodeEncoding")
I'm not sure though what Environment.Is64BitProcess
will return when its called from a classic asp process, but it might be worth a try!
虽然我不确定什么Environment.Is64BitProcess在从经典的asp进程调用时会返回,但它可能值得一试!
#1
0
You can call the .NET framework from classic asp.
您可以从经典的asp调用.NET框架。
Dim objUnicode
Set objUnicode = CreateObject("System.Text.UnicodeEncoding")
I'm not sure though what Environment.Is64BitProcess
will return when its called from a classic asp process, but it might be worth a try!
虽然我不确定什么Environment.Is64BitProcess在从经典的asp进程调用时会返回,但它可能值得一试!