If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Re: Screenshot to base64 string

Originally Posted by Brain_Storm

Hi, I have a problem when I try to convert the buffer of the image into a base64 string. Here is the code:
...

Is this case you chose a wrong Forum which is for

Visual C++ Bugs & Fixes
Share bugs and fixes for source code on this site. Also use this to share bugs/fixes in the various class libraries etc. of use to VC++ developers. This is NOT for general programming questions.

Originally Posted by Brain_Storm

Code run but the output is wrong. I think the problem is "std::string encodedstring = base64_encode(buffer, dwBufferSize);" but I can't figure the solution. Any idea? Thanks.

* The Perfect Platform for Game Developers: Android
Developing rich, high performance Android games from the ground up is a daunting task. Intel has provided Android developers with a number of tools that can be leveraged by Android game developers.

* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.