Click here to Skip to main content
15,914,071 members
Home / Discussions / Mobile
   

Mobile

 
GeneralRe: ADO Database Pin
#realJSOP21-Jun-04 2:41
professional#realJSOP21-Jun-04 2:41 
GeneralRe: ADO Database Pin
João Paulo Figueira21-Jun-04 3:48
professionalJoão Paulo Figueira21-Jun-04 3:48 
GeneralRe: ADO Database Pin
#realJSOP21-Jun-04 4:18
professional#realJSOP21-Jun-04 4:18 
GeneralConnecting to COM port Pin
Member 1697718-Jun-04 3:44
Member 1697718-Jun-04 3:44 
GeneralRe: Connecting to COM port Pin
glweid21-Jun-04 10:34
glweid21-Jun-04 10:34 
GeneralProblem in using Composite index in Seek method on OLEDB/SQL CE Pin
AKSIVAKUMAR17-Jun-04 21:37
AKSIVAKUMAR17-Jun-04 21:37 
GeneralOut of memory Pin
group716-Jun-04 20:15
group716-Jun-04 20:15 
Generalmenubar problem in eVC4.0 Pin
group716-Jun-04 18:07
group716-Jun-04 18:07 
I use embedded visual c++ to write a video cam software, so that the pocket PC show the screen of the cam. But my menubar does not work.(I tick the top up box) When I click the top up button in menubar, the menubar hangs. But the screen still can show the video.

void CGroup7Dlg::OnPreview()
{
unsigned char *pbuffer = (unsigned char *)malloc(m_PrvWidth * m_PrvHeight * 3);
unsigned char *rpbuffer = (unsigned char *)malloc(m_PrvWidth * m_PrvHeight * 3);

if ((PreviewFrame((unsigned char*) pbuffer)) == false)
AfxMessageBox(_T("Preview Frame Fail!"), MB_OK);

Rectify(pbuffer, rpbuffer); //<----- a
CBitmap bitmap;
bitmap.CreateBitmap(m_PrvWidth, m_PrvHeight, 1, 24, rpbuffer);

CVOImage image;
RECT pic_rect;
m_picture_window.GetWindowRect(&pic_rect);
HDC picDC = ::GetDC(m_picture_window.m_hWnd );
CString path_fname;

::WriteBitmapIntoJpegFile(TEXT("\\pic1.jpg"), 80, (HBITMAP)bitmap);

UpdateData(true);
path_fname ="\\My Documents\\pic1.jpg";
image.Load (picDC ,path_fname );
image.Draw (picDC ,2,13 );
free(pbuffer);
pbuffer = NULL;
free(rpbuffer); //<-------b
rpbuffer = NULL;
}

There will be out of memory if I comment out line b but menubar works. There will be no problem but the screen pixel is in wrong order of course. I don't know how to fix this bug. Please help... Frown | :(
GeneralEVC++ 4.0 Emulator Pin
#realJSOP16-Jun-04 10:16
professional#realJSOP16-Jun-04 10:16 
GeneralRe: EVC++ 4.0 Emulator Pin
João Paulo Figueira16-Jun-04 11:43
professionalJoão Paulo Figueira16-Jun-04 11:43 
GeneralRe: EVC++ 4.0 Emulator Pin
#realJSOP17-Jun-04 3:07
professional#realJSOP17-Jun-04 3:07 
GeneralRe: EVC++ 4.0 Emulator Pin
João Paulo Figueira17-Jun-04 3:37
professionalJoão Paulo Figueira17-Jun-04 3:37 
GeneralRe: EVC++ 4.0 Emulator Pin
#realJSOP21-Jun-04 2:45
professional#realJSOP21-Jun-04 2:45 
QuestionWhere is Add/Remove Programs located? Pin
KellyR16-Jun-04 6:59
KellyR16-Jun-04 6:59 
Generaltabcontrol of Form of a Smart Device App from . NET Pin
ting66816-Jun-04 0:43
ting66816-Jun-04 0:43 
GeneralNew Language for creating Mobile Applications Pin
smitakiran15-Jun-04 22:33
smitakiran15-Jun-04 22:33 
Generalmain menu & toolbar Pin
khchan15-Jun-04 22:30
khchan15-Jun-04 22:30 
GeneralWriting new language for PPC ! Pin
Hadi Rezaee15-Jun-04 11:40
Hadi Rezaee15-Jun-04 11:40 
GeneralRe: Writing new language for PPC ! Pin
João Paulo Figueira15-Jun-04 22:00
professionalJoão Paulo Figueira15-Jun-04 22:00 
GeneralRe: Writing new language for PPC ! Pin
Hadi Rezaee17-Jun-04 6:38
Hadi Rezaee17-Jun-04 6:38 
GeneralMobile Application Pin
Masood Lodhi15-Jun-04 10:21
Masood Lodhi15-Jun-04 10:21 
GeneralappDoman and dynamic loading in .net CF Pin
ppp00115-Jun-04 8:17
ppp00115-Jun-04 8:17 
GeneralZone Colour Filling - Drawing Pin
coding-nastypcs15-Jun-04 2:01
coding-nastypcs15-Jun-04 2:01 
GeneralRe: Zone Colour Filling - Drawing Pin
João Paulo Figueira15-Jun-04 11:30
professionalJoão Paulo Figueira15-Jun-04 11:30 
GeneralRe: Zone Colour Filling - Drawing Pin
coding-nastypcs16-Jun-04 2:20
coding-nastypcs16-Jun-04 2:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.