Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Skar027

    Problem with allocation in memory

    i ment LPBYTE r=new BYTE[76800]
  2. Skar027

    Problem with allocation in memory

    the value of Ancho*Alto is 76800 so what im doing is LPBYTE r=new BYTE[Ancho*Alto]; and the value returned by new is 0 or, in other words,NULL.
  3. Skar027

    Problem with allocation in memory

    hi, I'm writting a class in viual c++ 6.0, here're two of my functions void CImagen::SetTamano(UINT m_Ancho, UINT m_Alto) { Ancho=m_Ancho; Alto=m_Alto; Data=new BYTE[Ancho*Alto]; } BOOL CImagen::Binarizar(BYTE umbral) { UINT i,j,index; BYTE b; LPBYTE r=new BYTE[Ancho*Alto]; for...

Part and Inventory Search

Back
Top