Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
A

Alexsander Antunes

@Alexsander Antunes
About
Posts
12
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Hamilton robbed
    A Alexsander Antunes

    It´s same occurs in the past. FIA is OK.

    Alexsander "Axia" Antunes

    The Lounge announcement

  • DataGrid and Images
    A Alexsander Antunes

    Hello all, I need to add a image (*.jpg) to a column of DataGrid. I populate this datagrid with databound from dataset and the last column I need to display an image (red, green, blue) How I do this? Thanks for all response,;) Alexsander "Axia" Antunes

    ASP.NET question

  • Raw Image to Bmp Image
    A Alexsander Antunes

    My image is 300 of heigth and 260 of width. How value is for stride? 2080(260 * 8 bits) or 2400 (300 * 8 bits) :) But in 2 cases I have the following error: Additional information: Identification is not fixed. Alexsander "Axia" Antunes

    C# data-structures question

  • Raw Image to Bmp Image
    A Alexsander Antunes

    My image is 300 of heigth and 260 of width. How value is for stride? 2080(260 * 8 bits) or 2400 (300 * 8 bits) :) Alexsander "Axia" Antunes

    C# data-structures question

  • Raw Image to Bmp Image
    A Alexsander Antunes

    In the code below: Bitmap bmp = new Bitmap(300, 260, 2400, PixelFormat.Format24bppRgb, gch.AddrOfPinnedObject()); What is the third parameter (2400)? In th VS Documentation is the stride parameter, what is this? Thanks for all, :) Alexsander "Axia" Antunes

    C# data-structures question

  • Raw Image to Bmp Image
    A Alexsander Antunes

    Where I have information about header of BMP images? Thanks for all help!:) Alexsander "Axia" Antunes

    C# data-structures question

  • Raw Image to Bmp Image
    A Alexsander Antunes

    I have un array of byte[] below: byte[] img = new byte[78000] ... Recept raw data from a fingerprint scanner ... This array contains the data of a image with 300 of height and 260 of width (total = 300 x 260 = 78000). Each position in the array (byte = 256) is a pixel (256 shades of gray). How I create the Image object with this data? Thanks for all response, :laugh: Alexsander "Axia" Antunes

    C# data-structures question

  • How marshall byte* ?
    A Alexsander Antunes

    OK! [DllImport("fplib.dll", EntryPoint="FPMGetImage", SetLastError=true, CharSet=CharSet.Ansi, ExactSpelling=true, CallingConvention=CallingConvention.StdCall)] public static extern int FPMGetImage([In, Out] byte[] buffer); This code run perfectly! THANKS FOR ALL!! Matthew Hazlett wrote: I asked somthing like this the other day, heres what Heath Stewert told me: >Instead of passing byte* as the parameter, declare your parameter using either ref or out >for value types (like a Byte). This is the most common method. > >For instance, if the C functions is declared like so:void SomeFunc(byte* b); >...declare your method like so:[DllImport("...")]private static extern void SomeFunc(ref byte b); >Microsoft MVP, Visual C# >My Articles Matthew Hazlett Windows 2000/2003 MCSE Never got an MCSD, go figure... Alexsander "Axia" Antunes

    C# question csharp help

  • How marshall byte* ?
    A Alexsander Antunes

    Have you an example of API Windows with use BYTE*? Because I use API Viewer 2003 and I can compare the sintax. Alexsander "Axia" Antunes

    C# question csharp help

  • How marshall byte* ?
    A Alexsander Antunes

    I have a library FPLIB.DLL with have the following function: DLLEXPORT DWORD WINAPI FPMGetImage(BYTE* buffer); How I declare my access in C#? What is byte* ? [DllImport("fplib.dll", EntryPoint="FPMGetImage", SetLastError=true, CharSet=CharSet.Ansi, ExactSpelling=true, CallingConvention=CallingConvention.StdCall)] public static extern int FPMGetImage(:confused: buffer); Thanks for all help! Alexsander "Axia" Antunes

    C# question csharp help

  • Win32 to .NET Framework API Map
    A Alexsander Antunes

    Cool! But I need an interface similar to "Api Viewer" of the Visual Basic 6.0. Any suggestions?:confused: Alexsander "Axia" Antunes

    C# csharp html dotnet com json

  • API Viewer for C#?
    A Alexsander Antunes

    Hello all! I am a VB developer and I used API Viewer. I would like to know if Visual Studio .NET 2003 have a similar tool ?:confused: Thanks for all, Alexsander "Axia" Antunes

    C# csharp visual-studio json question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups