在DLL中获得主控程序的路径,该怎么处理
在DLL中获得主控程序的路径
在c#中,如何获得主控程序的启动路径.
------解决方案--------------------
Application.StartupPath ??
是这个意思吗?
------解决方案--------------------
引用Winform.dll
------解决方案--------------------
Process p = Process.GetCurrentProcess();
string path = p.StartInfo.WorkingDirectory
在c#中,如何获得主控程序的启动路径.
------解决方案--------------------
Application.StartupPath ??
是这个意思吗?
------解决方案--------------------
引用Winform.dll
------解决方案--------------------
Process p = Process.GetCurrentProcess();
string path = p.StartInfo.WorkingDirectory