How can we store data in the MUMPS format? - ibm-infosphere

This is something we would like to do (storing data in the MUMPS format in Information Server) but it seems like we are unable to store data in this format. Does anyone have guidance or a workaround?

Whether via 3rd party ODBC/JDBC drivers or adapters, you can use DS with/for MUMPs in my experience. I would recommend checking with their specific MUMPs vendor on the availability of ODBC/JDBC drivers. Otherwise, iWay (Information Builders) provides/supports adapters for this. Hope this helps.

Related

How to use Crypto++ to create a license key manager (generator and checker)?

I would like to know how most of the software developers create their own licensing key system.
I would like to create my own one for my software application.
I believe it is something related to cryptography.
As I am already using Crypto++ library in my application for MD5 and SHA1 hashing, I would be happy and thankful if someone with expertise explain to me how to do it.
NB: I mainly use C++ in my coding.
Also, I need it to be related to a hardware number obtained from a USB connected SIM card in the format of 123456789, so the end-user will only send me that number and I will send him back the license key.
TIA.

Alternatives to writing an ODBC driver

We are storing allot of time series data into our own proprietary "database". In the next version of our system we want to give our users a simple query mechanism to extract the raw data from the database (as a complement to the reports our system can create) by using standard tools.
I have looked at the possibility to write an ODBC driver, but it looks like quite a daunting task, especially when the use will be very simple select statements.
I would be grateful for any tips, ideas and/or recommendation of libraries, that could make this task a bit simpler.
Our platform is Windows and our dev. env. is visual studio 2010 (nativ C++)
A LINQ provider.
It depends on what makes your customers happy. Easier than an writing ODBC driver would seem to provide a library function that can parse simple SQL selects and deliver the result in whatever form desired.
It might be interesting to take a look at OData, exposing your data as an OData producer, you would then be able to allow your users to query it right away using the already available consumers, e.g. Linqpad.

bayesian network library for iphone?

i m looking for a bayesian network library that work on the iphone.
any tip ?
I've never used it, but there's one on Github called BayesianKit: https://github.com/lok/BayesianKit
Did you try using Open CV? It's a cross platform library by Intel, if you want to use it for image processing, it's the best available. It completely depends on what you want to use it for.
You can use SMILE library, developed by Decision Systems Laboratory, University of Pittsburgh. It's free of charge, but not open source. Registration is required to download binaries at
http://genie.sis.pitt.edu/

Scanning Local Windows System for Attached USB Devices Using C++

What is the best way to scan the local Windows system for attached USB devices using C++? I need to get a list of Vendor and Product IDs to match against the my device's IDs. If there is a way to scan for a specific VID/PID combination, that would be even better. My end goal is to retrieve the virtual COM port Windows has assigned to the device. If there's a way to do all that, it would be fantastic. As always, examples are much appreciated. Thanks.
This is pretty much an MSDN example of what you want:
http://msdn.microsoft.com/en-us/library/ff558728%28VS.85%29.aspx
It seems you'll need the WDK if you want to access this kind of functionality (every MSDN search I can think of suggests this).
I was able to resolve this by querying WMI for the needed information. Basically, I was able to start with Microsoft's example code, modify it a bit, and finally build it into my own class that does what I need.
http://msdn.microsoft.com/en-us/library/aa390423%28v=VS.85%29.aspx
This list of Computer System Hardware Classes was also helpful:
http://msdn.microsoft.com/en-us/library/aa389273%28v=VS.85%29.aspx
I used the WMI Code Creator to preview the results of what looked to be promising classes.
In the end I used the following:
Namespace: root\CIMV2
Class: Win32_SerialPort
Property: PNPDeviceID and DeviceID

Is there any C\C++ Cross-platform library for sharing data between app's?

Is there any C\C++ Cross-platform library for sharing data between app's?
Obviously the answer to your question is.. Yes there are many cross platform libs for sharing data between applications. For example Boost has Boost Serialization, for data storage and reading, and Boost Interprocess, for in-memory data sharing.
SQLite
A cross platform library with a lot of OS abstractions is ACE. You can look in the samples that come along with the tarball for detailed examples.
Google's Protocol Buffers might fit the bill.
For messaging ?
Json (simple and easy)
Google Protocol Buffers (tad more complicated, thus more powerful)
XML (widely deployed, but you don't want it)
Or did you mean more than just the protocol ?
UDP or TCP.
Open a port using sockets. You'll find numerous examples of such when you google "c sockets"