:D sorry for this, I copy-pasted an example code just to show how the Update might be. But the nitty-gritty is that I wanted to show that the Update function will write bytes starting from the...
These are some library functions. I cannot imagine to rewrite anything that accepts byte[], even .Net Framework functions like FileStream.Write. It is not applicable.
Like CGKevin's class in first thread's reply? :) I already got exactly what you say, with an indexer too. As I explained, all of my problems are in passing that kind of object to methods that have...
Thank you for your suggestion. Yes, there is this possibility. The thing is that that kind of change would involve a lot of different classes and would be quite challenging at this step of...
Hi!
one of my classes that takes care of socket communication between devices returns an array (byte []) containing a whole message. The message consists of some initial bytes and then a data part....
As you can see in my code the function I need returns a byte[], which is what I need, because I must also pass the sub buffer to methods that accept byte[], and there is...
Hi,
I need to create an array subset. ArraySegment is not really what I look for, since I would like to access the subset as you access any other array. The most important thing is that the subset...
@dglienna
I started developing my application 5 years ago, 64-bit app were not a big issue then. I never touched the 'Any CPU' property and when I first installed...
My 32-bit application (.Net Framework 3.5 compiled with MS Visual Studio 2008) has got problems when it is installed on Windows 7 64-bit machines.
I found this code to access a Registry path saved...
Darwen, I developed a class to easily access the Registry, so I store the RegistryKey regkey as a member variable.
I am wondering:
How can I ensure the key is closed when I've finished with it,...
PictureBox.Dock = DockStyle.Fill into the Form and that's how I wish it to appear.
The PictureBox aims to show images from a camera and the DrawLine is needed to show a grid on the film from the...
this code draws an horizontal line on a PictureBox.
void bigWindowPictureBoxCamera_Paint(object sender, PaintEventArgs e)
{
PictureBox pb = (PictureBox)sender;...
I've got 1Gb of files to move, so I think that this would be a useless waste of time :thumbd: , when these files could be sited always in the same place :thumb: .
I solved my problem adding a config file to my Visual Studio C# project. My app.config file is this:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<runtime>...
OK, I understand. But do you really think that such a memory allocation could be a problem when working on PC Windows system, with virtual memory and so on? My app is not run under embedded systems...
I have no more problem with the flickering (I used DoubleBuffered property).
It's just that I wonder why not setting it to true by default in the Framework, when there's no side-effects.