January 30th, 2015, 04:36 AM
Download the demo and check the code.
Actually my real problem was reading the picture then write it to an array of bytes so I used
"while(cFileStream.Read(array, size)"
.. And also loading the...
January 29th, 2015, 04:14 PM
Thanks for the reply :) .
I did use Image , Istreams, and bytes class.
This source helped a lot .
http://www.codeproject.com/Articles/24969/An-MFC-picture-control-to-dynamically-show-picture
January 25th, 2015, 02:35 PM
How to insert and read images to/from database (sql server) using MFC ?
an example or a reference would be appreciated :)
January 25th, 2015, 08:41 AM
Sorry It's memset* not memblock.
Well thanks for the spirit but I guess I need an explanation bro :) :)
January 25th, 2015, 05:58 AM
Hey..
I'm working on a C++ application that deals with Sql Server Database .
This query insert an image to the table (on the condition that you should be bulkadmin).
CREATE TABLE Files (ID int...
January 22nd, 2015, 02:13 PM
Thanks Victor .
I did solve the problem using getkeyboardlayoutlist() then ActivateKeyboardLayout().
I just check every language in my languagebar then checks the app language and re-change it.
January 21st, 2015, 02:56 AM
Hey..
I am working on an application which uses MFC components , the problem when it starts it changes the keyboard language to English US automatically . Any idea Why is that ? and How to prevent...