This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <windows.h> | |
#include <gdiplus.h> | |
#include <memory> | |
using namespace Gdiplus; | |
using namespace std; | |
int GetEncoderClsid(const WCHAR* format, CLSID* pClsid) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Example of how to create a minimal MFC application | |
//1. Create a new Win32 project, select empty project | |
//2. Go to project options > Use MFC in a shared library (.dll) | |
//3. Make a new resource file with an empty dialog | |
//4. Give the dialog the name "INTERFACE1" | |
//5. Build and run. | |
//--------------------------------------- | |
#include <afxwin.h> | |
#include "resource.h" | |
//--------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* descarga_Sismograma */ | |
void descarga_Sismograma(void){ | |
CkHttpW http; | |
bool success; | |
const wchar_t *localFilePath = 0; | |
localFilePath = L"data/images/png/heli.png"; | |
success = http.Download(L"http://200.123.254.42:16090/heli.png", localFilePath); | |
if (success != true){ | |
wprintf(L"Error, No se pudo descargar la imagen.\r\n"); | |
return; |