C# running foreign exe inside windows form

I’m trying to run discord.exe inside a windows form but im getting this error. Can someone help me, thanks. Here is the error message: These are my codes: [DllImport(“user32.dll”)] static extern IntPtr SetParent(IntPtr child, IntPtr newParent); [DllImport(“user32.dll”)] static extern int SendMessage(IntPtr hWnd, int Msg, int wParam, int Iparam); [DllImport(“user32.dll”)] [return: MarshalAs(UnmanagedType.Bool)] private static extern bool…

Details

convert Python AES to Node

I have been unable to get existing legacy code in Python to encrypt/decrypt the same as NodeJS. I do get the first 16 characters correctly decoded. Here is the Python code: from Crypto.Cipher import AES counter = b’HOJFKGQMRCTKUQHP’ cipher = AES.new(self.symmetric_key, AES.MODE_CTR, counter=lambda: counter) encrypted = cipher.encrypt(data) I found a source that the same counter…

Details