Dec
17

Pass a byte array pointer from c# to COM developed in c++

By Visual C# Language Forum

Hi,

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:

  1. Fast searching of a byte array Can anyone provide guidance on what would  be the fastest...
  2. How can I insert a byte array into a string field? I have a wierd issue. I've already wasted some forum...
  3. 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....
  4. problem converting string in structure to byte array I have to create a byte array of fixed length...
  5. problem converting string in structure to byte array I have to create a byte array of fixed length...
Categories : C#, General SW Dev, The c's

Comments are closed.