- or download this
#include <stdio.h>
#define ISOLATION_AWARE_ENABLED 1
...
__declspec(dllexport) int funca( int i ) {
return printf( "a.dll{v2.0.0.0}:funca() called with %d\n", i );
}
- or download this
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.
+0">
...
<assemblyIdentity type="win32" name="a.dll" version="1.0.0.0" />
<description></description>
</assembly>
- or download this
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
...
<assemblyIdentity type="win32" name="a.dll" version="2.0.0.0" />
<description></description>
</assembly>
- or download this
@rem makeit.cmd
del /S /Q *.obj *.lib *.dll *.exe
...
cl /MT main.c a.lib /link /manifest "/manifestdependency:type='win32'
+name='a.dll' version='1.0.0.0'"
mt -manifest main.exe.manifest -outputresource:main.exe;#1
- or download this
C:\test\manifest>makeit
...
Microsoft (R) Manifest Tool version 5.2.3790.2075
Copyright (c) Microsoft Corporation 2005.
All rights reserved.
- or download this
C:\test\manifest>main
hmodule: 640000 *funcb:641000
...
b.dll:funcb() called with 2
a.dll{v1.0.0.0}:funca() called with 3