We have C++ Win32/MFC application, where I need to extract .iso file. I am not able to find any API.
Please consider I cannot use PowerShell as we wanted to run our application in Windows Server 2008.
It would be great if we can do it without using any third party library.
Is there inbuilt support in Windows Programming to extract iso file?
No version of Windows prior to Windows 8 (or the server variant, Server 2012) had the native ability to mount ISO files. You couldn't do it from Explorer, and there was no hidden API function. IMAPI supports burning an ISO, but not mounting one as a local disk.
In order to do this, you will need a third-party library. A quick Google search didn't turn up any promising results. Unfortunately, Stack Overflow is not a recommendation engine. You will have to do your own research. If all you need is to extract data from the ISO, you can use something like 7-Zip.
Related
I am trying to use memcached for my windows C++ application, aiming to cache large table contents for performance optimization
This is first time for me to implement caching with open source library, and most memcahed source I have found online are either for Linux only or for 32-bit windows (very out of date), also need docker.
Please let me know if there is any good Windows Memcached source easy to use
One possible resource I have found is: https://github.com/jefyt/memcached-windows
But README just telling you how to install & run memcached from cmd line, there is no hint for how to build and use as an C++ client library in windows, plus, I could not find any example code also
Can anyone point me a direction for how to add memcached as client library to be called in my C++ code on Windows (something like #include <memcached/...> )
Thanks a lot
K
I have been to try to use Mysql with c++ in UWP for 2 days...but I could not do so.
I already installed Mysql.data and Mysql.ConnectorNet.Data through Nuget.
However when I tried to use Mysql obejct, I couldn't find anything. Intelligence does not work too so I tried to add Mysql.data.dll directly, but I couldn't do too. I just got a error message. It said that "could not add a reference to "my path" as it is not of a type or version current proejct can use."
Does anyone know how to solve it?
Mysql doesn't provide a dll which can be directly used by C++/CX in its official site. The dll you mentioned "Mysql.data.dll" is actually a Dll for winrt .net which can not be directly used in C++/CX.
See MSDN docs:How to: Use Existing C++ Code in a Universal Windows Platform App
You will find this:"Do not add a reference in the References node in Solution Explorer. That mechanism only works for Windows Runtime Components."
So actually you can test by create a new simple Windows Runtime Component to see what it is.
Possible ways to start are
Read the above msdn doc and use native C++ mysql library which is located under C:\Program Files\MySQL\MySQL Connector C++ 1.1.9\lib\opt(After installed the native C++ Connector you can find it). ( I haven't worked out when using static library yet.)
Or Directly use the code from it's github to create a C++ winrt version dll.
As this may need lots of time when investigating I think it's better for you to think about using some exist database technology. Like UWP suggested sqlite database.
I am trying to integrate AlchemyAPI into my c++ project and I'm a little lost regarding where to start. I downloaded the API, obtained the key. The readme file has Unix installation instructions on running the autobuild.sh script then configure and make and make install. I have cygwin installed, I installed autoconf for windows. I'm just guessing there must be a more straightforward way to use AlchemyAPI c++ on windows.
There's two ways to go about this that are probably a lot easier than what you're trying to do:
Using the C# SDK that AlchemyAPI provides, build it, reference it, and call it from your solution.
Bypass the SDKs all together, hitting the API directly by building your own URLs and data strings for HTTP GETs or POSTs (x-www-form-urlencoded) and submitting them using a popular C++ HTTP implementation. (This is all the SDK is really doing anyway.)
An example URL that you could use to build your own interface might be this one (enter your API key to view it in your browser):
http://access.alchemyapi.com/calls/url/URLGetRankedNamedEntities?apikey=YOUR_API_KEY&url=http://www.cnn.com/2011/09/28/us/massachusetts-pentagon-plot-arrest/index.html?hpt=hp_t1&sentiment=1
If you want to parse the results in XML, you can use libxml, and AlchemyAPI's C++ SDK can provide you with an example. If you want to parse the results as JSON, then add 'outputMode=json' to the request and use your favorite JSON parser.
There's more information in the documentation on all of the features and how to implement them in your requests:
http://www.alchemyapi.com/api/
I'm looking for cross platform open source third party library for web services which support c++. I have generated c++ files using WSMakeStubs utility but it uses Core Foundation data types. I want a library which provide web service call through c++ so that I can use it on Windows and Mac both the platform.
I wanted stubs that can be used on both Windows and Mac platform.
Could any one suggest me good library.
thanks
I would like to recommend gSoap. In the company I'm working at, we use it for about 7 years now (since version 2.6.0, the actual version is 2.8.3) and only made good experiences with it. Look at the success stories to get an overview of the companies which are using it.
Related:
C++ and SOAP
What is a good platform for devoloping web services in C++?
A Good C++ Library for SOAP
pion is a possibility, though I don't know how it compares to gSoap or other alternatives. I got it working an evening then got distracted with other reverse economies. I seem to remember it having fewer dependencies of the others I researched.
I have looked after, without luck, a free C/C++ API for Windows that can be used in a project I am about to start. There are libraries for Java and C# but the fact is there is no one for C/C++. I need an API that can be integrated in a vs project and we cannot use libraries that run in servers ( as CGI scripts or whatever ). Does anyone know this type of API?
if you want to generate QRcodes have a look at libqrencode it works with cygwin on windows (not sure about VS).
If you want to decode QRcodes have a look at zxing