I cloned the repos and then created a console project for the client.
Then I built it successfully by #importing the decoder.tlb
I have a client.exe with no embed manifest (verified that with mt.exe)
I copied your "client.exe.manifest" alongside the client.exe
Then I built the Decoder.dll and used:
mt -managedassemblyname:decoder.dll -out:decoder.manifest -nodependency
I got a warning:
mt : genman warning G81010014: Explicit guid not defined for type Decoder.StringDecoder.
Now I have the 4 files in the same place: the exe, the dll, and the two "manifest"
But CreateInstance fails with 0x80040154...
Then, I added the client.exe.manifest as resource inside the exe with:
mt -manifest client.exe.manifest -outputresource:client.exe;#1
Then IT Worked!
aABlAGwAbABvAA==
hello
That's cool BUT I can't change the EXE I use (that is: adding a manifest resource)
Why can't I have the client.exe manifest as a stand alone file?
Hi,
I cloned the repos and then created a console project for the client. Then I built it successfully by #importing the decoder.tlb I have a client.exe with no embed manifest (verified that with mt.exe) I copied your "client.exe.manifest" alongside the client.exe
Then I built the Decoder.dll and used:
mt -managedassemblyname:decoder.dll -out:decoder.manifest -nodependency
I got a warning:mt : genman warning G81010014: Explicit guid not defined for type Decoder.StringDecoder.
Now I have the 4 files in the same place: the exe, the dll, and the two "manifest" But
CreateInstance
fails with 0x80040154...Then, I added the client.exe.manifest as resource inside the exe with:
mt -manifest client.exe.manifest -outputresource:client.exe;#1
Then IT Worked!
That's cool BUT I can't change the EXE I use (that is: adding a manifest resource)
Why can't I have the client.exe manifest as a stand alone file?