Click here to Skip to main content
15,896,557 members

Comments by dsandru1 (Top 8 by date)

dsandru1 22-Aug-12 13:31pm View    
So I need to allocate memory on the C# side to a static location so the dll can access and modify the array? Also I am going to be passing in an array of byte values, 0x01, 0x03, etc..
dsandru1 15-Aug-12 16:57pm View    
I'll try to take a look at this.
dsandru1 15-Aug-12 16:56pm View    
Do you have more information on this I can look into? It sounds like what I am after.
dsandru1 15-Aug-12 16:50pm View    
This is where I start getting confused. I am used to being able to pass pointers to objects around, but I don't know where to begin with handlers.
dsandru1 15-Aug-12 16:46pm View    
I guess the trouble isn't creating the serial class, it is finding a way to access the data in the class through multiple forms. For instance in one dialog I might have serialPort.Send(0x10), but I would have had created a new instance of serialPort without the settings selected during start-up. Also when I go to retrive the data, it is always null. *In my dialog code* textbox1.Text = serialPort.message;