Hi,
I have a c++ library which works virtually on all available platforms (Linux, windows etc..). We have #ifdefs for each platform wherever necessary (for example API's for walking filesystem, creating socket etc). Now i want this library to be consumable
by windows store/metro app.
Several calls like Socket, thread and File I/o related are removed form win32 api's under WinRT so windows specific ifdefs cannot be used.
Can i use ifdefs for windows RT in my existing C++ DLL and use it's Windows Runtime Interfaces to accomplish File I/O, socket related functionality? Intention is to implement evrything in this library.
If yes, how can this be done. It is like mixing c++ (native) and CX(c++ component extention) in same c++ native library.
If no, what are the alternatives?
Thanks,
Navneet