none
Use of FAR pointers in C++ for Windows CE applications RRS feed

  • Question

  • Spare my ignorance. I  know that the use of FAR was restricted to 16-bit compilers and that VS2005 c++ compiler does not use them. However, I have a third party library I need to use for .jpeg file manipulation, and I'd like to know whether the following lines would cause trouble when compiling for a Windows CE application:

     

    #ifdef NEED_FAR_POINTERS
        #define FAR  far
    #endif

     

    I'm reasonable new to the software I'm working with... so by now I cannot run a test case where I can see whether the lines above might cause a run-time problem. Thanks in advance.


    orlando mendez
    Wednesday, September 28, 2011 8:12 AM