摘要:
详细解析DLL构建CLR版本冲突问题 本文将从: 1,.net执行模型——CLR托管运行过程(.net如何实现从代码到运行) 2,Runtime中如何定位程序集 3,.net执行模型——定位程序集依赖项 4,.net执行模型——如何加载程序集依赖项 5,AnyCPU?x86?x64?platform 阅读全文
摘要:
代码: 1 <?xml version="1.0" encoding="utf-8" ?> 2 <configuration> 3 <startup> 4 <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" /> 5 阅读全文
摘要:
AnyCPU的应用程序+AnyCPU的类库 在x86的操作系统上,应用程序会在32位CLR上运行,所以它引用的类库也会在32位CLR上运行;在x64操作系统上,应用程序许会在64位CLR上运行,所以它引用的类库也会在64为CLR上运行。 x86的应用程序+AnyCPU的类库 在x86的操作系统上,应 阅读全文
摘要:
代码: 1 using System; 2 using System.Reflection; 3 namespace Assembly_Load 4 { 5 class Program 6 { 7 public static void Get_GAC_assembly() 8 { 9 string 阅读全文
摘要:
官网文档:https://github.com/anvaka/pm 效果上图: 数据制作: 1 var mysql = require('mysql'); 2 var connection = mysql.createConnection({ 3 host : 'localhost', 4 user 阅读全文
摘要:
代码: 1 var mysql = require('mysql'); 2 var connection = mysql.createConnection({ 3 host : 'localhost', 4 user : 'root', 5 password : 'password', 6 port 阅读全文
摘要:
目录结构: 代码: Test_graph.html: 1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8"> 5 <title>Title</title> 6 </head> 7 <body> 8 <script 阅读全文
摘要:
JQuery $("body[class='main_bg']").attr('style',"zoom: "+$(window).width()/$(document).width()+";"); 阅读全文
摘要:
JS: 1 网页可见区域宽: document.body.clientWidth 2 网页可见区域高: document.body.clientHeight 3 网页可见区域宽: document.body.offsetWidth (包括边线的宽) 4 网页可见区域高: document.body. 阅读全文
摘要:
1,在YouTube中复制iframe代码 2,HTML代码: 1 <!DOCTYPE html> 2 <html> 3 <body> 4 <!-- 1. The <iframe> (and video player) will replace this <div> tag. --> 5 <div 阅读全文