Dec
17
Pass a byte array pointer from c# to COM developed in c++
ByHi,
I have a problem in a project. I need pass trough pointer a byte array, byte[], into a COM(cpp) and the same pointer give me back a file byte array.
I have tried pass the pointer, but unsuccessfully.
in cpp: DWORD giveSomething(BYTE* Resp), where "Resp" giv me back a file byte array.
Someone know what I can do for solve my problem? Use a byte[] pointer from c# to cpp.
regards
Related posts:
- Fast searching of a byte array Can anyone provide guidance on what would be the fastest...
- How can I insert a byte array into a string field? I have a wierd issue. I've already wasted some forum...
- How to write hexadecimal byte array through keyboard byte[] Key = {0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16};What character stands for x in the above array....
- problem converting string in structure to byte array I have to create a byte array of fixed length...
- problem converting string in structure to byte array I have to create a byte array of fixed length...