Click here to Skip to main content
15,899,937 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalerror - edit box variable cannot be evaluated Pin
theFrenchHornet28-Mar-05 5:22
theFrenchHornet28-Mar-05 5:22 
GeneralRe: error - edit box variable cannot be evaluated Pin
David Crow28-Mar-05 6:02
David Crow28-Mar-05 6:02 
GeneralRe: error - edit box variable cannot be evaluated Pin
theFrenchHornet28-Mar-05 6:35
theFrenchHornet28-Mar-05 6:35 
Generaltopmost window stye without getting the focus Pin
Cris28-Mar-05 3:40
Cris28-Mar-05 3:40 
GeneralRe: topmost window stye without getting the focus Pin
ThatsAlok28-Mar-05 17:47
ThatsAlok28-Mar-05 17:47 
GeneralRe: topmost window stye without getting the focus Pin
Cris29-Mar-05 8:10
Cris29-Mar-05 8:10 
GeneralMPEG-2 Transport Stream converter Pin
Alexander M.,28-Mar-05 3:15
Alexander M.,28-Mar-05 3:15 
Generalproblem with DLL and CString Pin
eli1502197928-Mar-05 3:06
eli1502197928-Mar-05 3:06 
Hi,

I need to use a CString object in my dll,so i've included <afx.h> file.
the problem is that i get this error:
Compiling...
TCPlib.cpp
c:\program files\microsoft visual studio\vc98\mfc\include\afxv_w32.h(14) : fatal error C1189: #error :  WINDOWS.H already included.  MFC apps must not #include <windows.h>
Error executing cl.exe.


when i don't include <afx.h> i don't get this error,but i can't use CString.

what should i do?

Regards,
Eli
GeneralRe: problem with DLL and CString Pin
Joel Holdsworth28-Mar-05 3:39
Joel Holdsworth28-Mar-05 3:39 
GeneralRe: problem with DLL and CString Pin
Alexander M.,28-Mar-05 3:41
Alexander M.,28-Mar-05 3:41 
GeneralRe: problem with DLL and CString Pin
eli1502197928-Mar-05 3:58
eli1502197928-Mar-05 3:58 
GeneralRe: problem with DLL and CString Pin
Blake Miller28-Mar-05 4:39
Blake Miller28-Mar-05 4:39 
GeneralRe: problem with DLL and CString Pin
jogibaer7914-Apr-05 1:35
jogibaer7914-Apr-05 1:35 
GeneralRe: problem with DLL and CString Pin
Blake Miller14-Apr-05 4:17
Blake Miller14-Apr-05 4:17 
QuestionHow to display MultiLine in MFCGrid Cell Pin
UrbanBlues28-Mar-05 2:26
UrbanBlues28-Mar-05 2:26 
AnswerRe: How to display MultiLine in MFCGrid Cell Pin
PJ Arends28-Mar-05 6:44
professionalPJ Arends28-Mar-05 6:44 
GeneralRuntime selection of Multiple String Table Pin
CookieT28-Mar-05 2:25
CookieT28-Mar-05 2:25 
QuestionHow do I change the tooltip of a title bar button? Pin
Hiigara28-Mar-05 2:18
Hiigara28-Mar-05 2:18 
AnswerRe: How do I change the tooltip of a title bar button? Pin
Alexander M.,28-Mar-05 13:41
Alexander M.,28-Mar-05 13:41 
GeneralAES implementation Pin
Anonymous28-Mar-05 2:03
Anonymous28-Mar-05 2:03 
GeneralRe: AES implementation Pin
David Crow28-Mar-05 2:28
David Crow28-Mar-05 2:28 
GeneralRe: AES implementation Pin
Alexander M.,28-Mar-05 4:06
Alexander M.,28-Mar-05 4:06 
GeneralRe: AES implementation Pin
Member 154898328-Mar-05 9:59
Member 154898328-Mar-05 9:59 
GeneralRe: AES implementation Pin
Member 154898328-Mar-05 14:48
Member 154898328-Mar-05 14:48 
GeneralATL Composite Control Pin
rdeekonda28-Mar-05 1:49
rdeekonda28-Mar-05 1:49 

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.