Ive got it working. Hope my finds help anyone...
To make it short..
Problem #1- The default script doesn't find vcexpress with Visual Studio 2012 Express. You have to specify 'wdexpress' i had to modify the build script to this.
@echo off
buildwin 100 build all both Win32 samples wdexpress
Problem #2- The Foundation shared lib won't be built by the script (PocoFoundation.lib for release and PocoFoundationd.lib for debug shared located in the lib directory) so any sample won't work until you build this. The reason it won't build is the MFC part. The file 'afxwin.h' cannot be found because its part of MFC in VS2012 you don't have MFC. So you have to build Foundation yourself.. change the DLLVersion.rc file by replacing #include 'afxwin.h' with #include 'windows.h' as specified here
http://stackoverflow.com/questions/3566 ... 10-express. If you don't do this you will get this error when you will try to build that lib :
error C1083: cannot open the file : 'afxwin.h' : No such file or directory
Like i said you can modify this file now and use the script which is supposed to build it once this modification is done.
Also, don't try to build the libs with VS2010 and then open with VS2012 it simply won't work.
Thanks alex for the help through !