1. [*map/map_all_coml11.txt||10||r||1|| @],[*map/map_all_coml11.txt||10||r||1|| @] - CSharp/C#
2. [*map/map_all_ag2.txt||10||r||1|| @],[*map/map_all_ag2.txt||10||r||1|| @]
[*map/map_all_ag2.txt||10||r||1|| @],[*map/map_all_ag2.txt||10||r||1|| @],[*map/map_all_ag2.txt||10||r||1|| @]
3. [*map/map_all_coml10.txt||10||r||1|| @],[*map/map_all_coml10.txt||10||r||1|| @] - CSharp/C#
4. Mapping Notify Messages to a function
Hi. I have writen a C# Com object which interacts with a piece of hardware via a C library. At the moment I poll this hardware from within my C# assembly to see when new messages are received. The C library also contains a function called setNotify() which posts a WM__HARDWARELIBRARY message when new messages are recieved by the hardware. But how do I map WM__HARDWARELIBRARY to a function in my C# code so that this function is called when messages arrive at the hardware? Thanks, Barry.
5. Message Map functions called twice?
6. Changing the function color covertion (unsafe)
hello,
the code below make a bitmap greyscale.
how do I change the code that the result will be 16 colors/256 colors
instead of greyscale?
somebody can explain the theory behind the calculations?
for (int y = 0; y < size.Y; y++)
{
PixelData* pPixel = PixelAt(0, y);
for (int x = 0; x < size.X; x++)
{
byte value = (byte) ((pPixel->red + pPixel->green + pPixel->blue) / 3);
pPixel->red = value;
pPixel->green = value;
pPixel->blue = value;
pPixel++;
}
}
thx very much.
8. [*map/map_index_cne2_13.txt||10||r||1|| @]
[*map/map_index_cne2_13.txt||10||r||1|| @]