คำถามติดแท็ก typelib

5
สร้างไฟล์รายการสำหรับ COM ที่ไม่ต้องลงทะเบียน
ฉันมีแอปพลิเคชันบางตัว (เนทีฟบางตัวบางตัว. NET) ที่ใช้ไฟล์รายการเพื่อให้สามารถใช้งานได้โดยแยกออกจากกันโดยไม่ต้องลงทะเบียน COM ส่วนกลางใด ๆ ตัวอย่างเช่นการอ้างอิงบนเซิร์ฟเวอร์ dbgrid32.ocx com จะถูกประกาศดังต่อไปนี้ในไฟล์ myapp.exe.manifest ซึ่งอยู่ในโฟลเดอร์เดียวกับ myapp.exe: <?xml version="1.0" encoding="utf-8" standalone="yes"?> <assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1"> <assemblyIdentity type="win32" name="myapp.exe" version="1.2.3.4" /> <dependency> <dependentAssembly> <assemblyIdentity type="win32" name="dbgrid32.ocx" version="5.1.81.4" /> </dependentAssembly> </dependency> </assembly> dbgrid32.ocx ถูกปรับใช้กับโฟลเดอร์เดียวกันพร้อมกับไฟล์ dbgrid32.ocx.manifest ของตัวเอง: <?xml version="1.0" encoding="utf-8" standalone="yes"?> <assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1"> <assemblyIdentity type="win32" name="dbgrid32.ocx" …
โดยการใช้ไซต์ของเรา หมายความว่าคุณได้อ่านและทำความเข้าใจนโยบายคุกกี้และนโยบายความเป็นส่วนตัวของเราแล้ว
Licensed under cc by-sa 3.0 with attribution required.