Re: Access database with MFC, vc++ 6.0
Quote:
Originally Posted by
Arjay
Wait, did you solve the other problem with reading data from the database?
Yes I Completed.
Re: Access database with MFC, vc++ 6.0
Re: Access database with MFC, vc++ 6.0
I completed with this. Please help me for LoadImage bitmap question
Re: Access database with MFC, vc++ 6.0
Quote:
I completed with this. Please help me for LoadImage bitmap question
What does it have to do with the "Access database with MFC, vc++ 6.0" topic?
Please, start a new thread with this new question.
Besides, if you "completed" the DB access problem them mark this thread as Resoved.
Re: Access database with MFC, vc++ 6.0
Quote:
I tried as follows but not work,
hbit = (HBITMAP) LoadImage(NULL,
// MAKEINTRESOURCE(IDB_BITMAP4),
sLogopath,
IMAGE_BITMAP,
0,
0,
LR_LOADFROMFILE);
sLogoPath is CString type variable which contain C:\Users\Administrator\Desktop\cg_logoa.bmp path of bitmap
I also tried for dilectly mention path instead of variable "C:\\Users\\Administrator\\Desktop\\cg_logoa.bmp"
Also tried for this
L"C:\\Users\\Administrator\\Desktop\\cg_logoa.bmp" but it gives following error
error C2664: 'LoadImageA' : cannot convert parameter 2 from 'unsigned short [44]' to 'const char *'
Please help me for this question, If nothing wrong then please tell i am waiting.Now it is urjent