-
[C#] regsvr32 레지스트리 DLL 등록C#/기초 2024. 7. 23. 15:01
코드에서 등록
using System.Diagnostics; … public static void registerDLL(string dllPath) { try { //'/s' : indicates regsvr32.exe to run silently. string fileinfo = "/s" + " " + "\"" + dllPath + "\""; Process reg = new Process(); reg.StartInfo.FileName = "regsvr32.exe"; reg.StartInfo.Arguments = fileinfo; reg.StartInfo.UseShellExecute = false; reg.StartInfo.CreateNoWindow = true; reg.StartInfo.RedirectStandardOutput = true; reg.Start(); reg.WaitForExit(); reg.Close(); } catch(Exception ex) { MessageBox.Show(ex.Message); } }
https://blog.naver.com/wlvkddlwkd/222440671043
[C#] regsvr32 레지스트리 DLL 등록
regsvr32 Registry DLL 등록 사용자가 직접 등록해야하는 레지스트리 DLL을 cmd나 코드에서 등록 명...
blog.naver.com
https://july-code.blogspot.com/2009/02/how-to-register-dlls-in-c.html
How to Register DLLs in C#
The Regsvr32 tool is used to register or un-register DLL or OCX files. Usage : Regsvr32 [/u] [/s] [/n] [/i[:cmdline]] dll_name /u – un-reg...
july-code.blogspot.com
728x90'C# > 기초' 카테고리의 다른 글
[C#] C++DLL , C# 호출 (0) 2024.07.31 [C#] Nuget publish (0) 2024.07.31 [C#] DllImport (0) 2024.07.23 [C#] nuget.Config (0) 2024.07.19 [C#] gRPC Unit Test (0) 2024.07.04 댓글