borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (get macaddress from ip)Next Topic (Controlling windows) New Topic New Poll Post Reply
AndreaVB Forum : API : C++ to Vb
Poster Message
Asim-GDI GURU
Level: Sage

Registered: 29-07-2005
Posts: 54

icon C++ to Vb

Hi there,
Its a small question.Kinbdly answer it as soon as possible.
How'll we do the following in VB:
BITMAPINFO * pDIB = (BITMAPUINDO *) new BYTE()bmFH.bfSize;

What I did is:
Public pDIB as BITMAPINFO

but in the c code he's actually allocating the size of the pDIB.Please help me...

Regards,
Asim Siddiqui.

06-08-2005 at 10:59 AM
View Profile Send Email to User Show All Posts | Quote Reply
Goran
Level: Moderator

Registered: 16-05-2002
Posts: 1681
icon Re: C++ to Vb

If I remember well, it should be

Public pDIB as BITMAPINFO

    pDIB.bmiHeader.biSize = Len(bi24BitInfo.bmiHeader)


____________________________
If you find the answer helpful, please mark this topic as solved.

09-08-2005 at 08:13 PM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : API : C++ to Vb
Previous Topic (get macaddress from ip)Next Topic (Controlling windows) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder