Results 1 to 2 of 2
Hi All, i want to know what's the meaning of #ifdef _USRDLL (i think it is related to MFC but not sure) here is my code Code: Code: /*******predictor.cpp*****/ #ifdef ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-25-2011 #1
- Join Date
- Sep 2011
i want to know what's the meaning of #ifdef _USRDLL
(i think it is related to MFC but not sure)
here is my code
/*******predictor.cpp*****/ #ifdef _USRDLL #include "../../corenumeric/inc/statuscommunicator.h" CStatusCommunicator gPipe; #endif . .//here i have my pgm code
when i execute the pgm compiler is reporting error as
predictor.cpp:26: error: ‚gPipe‚ was not declared in this scope
this error is due to failure of condition of #ifdef _USRDLL
plz guide me how to overcome this error.......
waiting for your reply........
- 11-28-2011 #2
- Join Date
- Apr 2009
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
P.S. FWIW, it is MUCH easier to go from Linux/Unix compatible code to Windows, vs. the other way around...Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!