The static keyword when applied to an object at file scope means that each translation unit that includes your header will have its own copy of the object to work with. Either make the object a normal global object in your cpp with an extern declaration in the header or singletonise...
*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/
"It's hard to believe in something you don't understand." -- the sidhi X-files episode
Originally posted by hamham
its just a dummy expression to up the thread.....
May I ask you to drop that habit? Each time you add a dummy post, everybody who has posted to your thread will get an e-mail notification. The reason why you don't get any replies is not that your thread is not seen, but that the information you provide regarding your problem is incomplete or incorrect.
BTW: The second zip file you posted is damaged too.
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.