Click here to Skip to main content
15,926,939 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Multi-threading question Pin
Alvaro Mendez3-Mar-03 10:33
Alvaro Mendez3-Mar-03 10:33 
GeneralRe: Multi-threading question Pin
#realJSOP3-Mar-03 11:20
professional#realJSOP3-Mar-03 11:20 
GeneralRe: Multi-threading question Pin
Michael Dunn3-Mar-03 10:46
sitebuilderMichael Dunn3-Mar-03 10:46 
GeneralRe: Multi-threading question Pin
#realJSOP3-Mar-03 11:34
professional#realJSOP3-Mar-03 11:34 
GeneralRe: Multi-threading question Pin
KarstenK3-Mar-03 21:56
mveKarstenK3-Mar-03 21:56 
GeneralRe: Multi-threading question Pin
Scott H. Settlemier4-Mar-03 14:22
Scott H. Settlemier4-Mar-03 14:22 
GeneralTitleTip Class Pin
djtommye3-Mar-03 9:27
djtommye3-Mar-03 9:27 
General"#if defined" problem ... Pin
Daniel Strigl3-Mar-03 9:18
Daniel Strigl3-Mar-03 9:18 
I have a little problem with the embedded Visual C++ Studio, but I think that's a general problem with the Visual C++ Studio and that's the reason why I am posting this message hear and not in the Embedded/Mobile forum.

So... I have some source code which I use in my Pocket PC application and my Desktop PC application.

I use the following #define so that I can compile it with eVC++ and Visual Studio .NET 2003:

<br />
#if defined(UNDER_CE) // for Pocket PC application<br />
#pragma message("## Pocket PC ##")<br />
#else // for Desktop PC application<br />
#pragma message("## Desktop PC ##")<br />
#include <rapi.h><br />
#endif<br />


In my Visual C++ .NET 2003 application there is no problem, but in my Pocket PC application I get the following warning:

<br />
Compiling...<br />
MeasureFileList.cpp<br />
## Pocket PC ##<br />
Linking...<br />
D:\windows ce tools\wce300\Pocket PC 2002\include\rapi.h(438): Could not find the file prapi.h.<br />
D:\windows ce tools\wce300\Pocket PC 2002\include\ceapimap.h(197): Could not find the file pceapimp.h.<br />
<br />
LmsPPC.exe - 0 error(s), 0 warning(s)<br />
Downloading files<br />
Failed downloading.<br />


It looks like that eVC++ would include the rapi.h file! But the include command are not in the #if defined(UNDER_CE) section, it's in the #else section.

What's wrong?

Daniel Wink | ;)
---------------------------
Never change a running system!
GeneralRe: "#if defined" problem ... Pin
PJ Arends3-Mar-03 9:29
professionalPJ Arends3-Mar-03 9:29 
GeneralRe: "#if defined" problem ... Pin
Daniel Strigl3-Mar-03 10:02
Daniel Strigl3-Mar-03 10:02 
GeneralRe: "#if defined" problem ... Pin
PJ Arends3-Mar-03 10:43
professionalPJ Arends3-Mar-03 10:43 
GeneralON_CONTROL_RANGE and BN_PUSHED Pin
Scott H. Settlemier3-Mar-03 9:04
Scott H. Settlemier3-Mar-03 9:04 
GeneralRe: ON_CONTROL_RANGE and BN_PUSHED Pin
Scott H. Settlemier3-Mar-03 9:17
Scott H. Settlemier3-Mar-03 9:17 
Generallauncher :) Pin
MemLeak3-Mar-03 8:59
MemLeak3-Mar-03 8:59 
GeneralRe: launcher :) Pin
Chris Losinger3-Mar-03 9:09
professionalChris Losinger3-Mar-03 9:09 
GeneralRe: launcher :) Pin
MemLeak4-Mar-03 4:58
MemLeak4-Mar-03 4:58 
QuestionHow do I check the contents of the 'recv' function in window sockets Pin
IrishSonic3-Mar-03 8:45
IrishSonic3-Mar-03 8:45 
AnswerRe: How do I check the contents of the 'recv' function in window sockets Pin
valikac3-Mar-03 8:51
valikac3-Mar-03 8:51 
GeneralEnumerating exported DLL functions Pin
Anonymous3-Mar-03 8:39
Anonymous3-Mar-03 8:39 
GeneralRe: Enumerating exported DLL functions Pin
Alvaro Mendez3-Mar-03 8:53
Alvaro Mendez3-Mar-03 8:53 
GeneralRe: Enumerating exported DLL functions Pin
Anonymous3-Mar-03 10:24
Anonymous3-Mar-03 10:24 
GeneralRe: Enumerating exported DLL functions Pin
IceMatrix3-Mar-03 11:35
IceMatrix3-Mar-03 11:35 
Generaldanny Pin
Anonymous3-Mar-03 8:38
Anonymous3-Mar-03 8:38 
GeneralMDI Question Pin
Anonymous3-Mar-03 8:27
Anonymous3-Mar-03 8:27 
GeneralRe: MDI Question Pin
valikac3-Mar-03 8:42
valikac3-Mar-03 8:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.