hi! i hav a code that was compiled using Microsoft VC++1.52. now i need to compile it on VC 6. but the compiler is generating the errors in statements containing use of FAR pointer. can any one guide me how to remove these errors or where can i find this old vc++ 1.52. any help wud be appreciated.

Recommended Answers

All 2 Replies

can any one guide me how to remove these errors

Usually just including

#define FAR

in a common header file should do the trick. The common header file should be after all your other include files.

where can i find this old vc++ 1.52.

I think if you have an MSDN subscription you can download the old compilers. But stick with the new one. Much better if you can get a newer version than VC6.

Here seems to be a source where you can get that compiler. I don't know if that link is still any good.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.