dll

Possible to call DLL function in uninstaller if DLL has dontcopy flag?

若如初见. 提交于 2020-08-23 13:02:48
问题 As the title says I need a function in my DLL which I need to call while uninstalling. The DLL is included this way #define myProgData "C:\ProgramData\Foo\Bar" [Files] Source: "mydll.dll"; Flags: dontcopy I already use one function while installing and now I want to know if I can use the same DLL for uninstall or does the DLL have to be copied so the uninstaller can access it? I've tried a simple call already but got the Could not call proc - Exception So I'm looking for the reason for this.

MSBuild command line - add dll reference

こ雲淡風輕ζ 提交于 2020-08-23 03:29:53
问题 I use a makefile to compile my C# project. In this makefile, I create a library tools.dll calling csc.exe, OK. Now, I want to use this .dll in my project. For some reasons, I have to use MSBuild.exe which use .csproj file. In .csproj file I added this section : <Reference Include="TOOLS"> <HintPath>C:\Gen\Lib\TOOLS.dll</HintPath> </Reference> That's works fine ! But my question is : How can I add tools.dll reference from MSBuild command line ? I need that, to call MSBuild.exe in makefile and

MSBuild command line - add dll reference

浪子不回头ぞ 提交于 2020-08-23 03:29:29
问题 I use a makefile to compile my C# project. In this makefile, I create a library tools.dll calling csc.exe, OK. Now, I want to use this .dll in my project. For some reasons, I have to use MSBuild.exe which use .csproj file. In .csproj file I added this section : <Reference Include="TOOLS"> <HintPath>C:\Gen\Lib\TOOLS.dll</HintPath> </Reference> That's works fine ! But my question is : How can I add tools.dll reference from MSBuild command line ? I need that, to call MSBuild.exe in makefile and