Click here to Skip to main content
15,913,487 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: template questions Pin
act_x28-Mar-05 10:35
act_x28-Mar-05 10:35 
GeneralPlease help me! Pin
dSolariuM28-Mar-05 8:52
dSolariuM28-Mar-05 8:52 
GeneralRe: Please help me! Pin
David Crow28-Mar-05 9:25
David Crow28-Mar-05 9:25 
Questionmemcpy() not working ? Pin
Amarelia28-Mar-05 7:41
Amarelia28-Mar-05 7:41 
AnswerRe: memcpy() not working ? Pin
David Crow28-Mar-05 9:26
David Crow28-Mar-05 9:26 
GeneralRe: memcpy() not working ? Pin
Amarelia28-Mar-05 19:24
Amarelia28-Mar-05 19:24 
GeneralRe: memcpy() not working ? Pin
David Crow29-Mar-05 3:12
David Crow29-Mar-05 3:12 
GeneralProblems with HHOOK variable Pin
r3dqu33n28-Mar-05 7:08
r3dqu33n28-Mar-05 7:08 
GeneralRe: Problems with HHOOK variable Pin
David Crow28-Mar-05 9:35
David Crow28-Mar-05 9:35 
GeneralRe: Problems with HHOOK variable Pin
r3dqu33n28-Mar-05 9:45
r3dqu33n28-Mar-05 9:45 
GeneralRe: Problems with HHOOK variable Pin
David Crow28-Mar-05 9:51
David Crow28-Mar-05 9:51 
GeneralRe: Problems with HHOOK variable Pin
r3dqu33n28-Mar-05 10:03
r3dqu33n28-Mar-05 10:03 
GeneralRe: Problems with HHOOK variable Pin
David Crow28-Mar-05 10:22
David Crow28-Mar-05 10:22 
GeneralBitmap Data Manipulation Pin
LighthouseJ28-Mar-05 7:07
LighthouseJ28-Mar-05 7:07 
GeneralRe: Bitmap Data Manipulation Pin
Chris Losinger28-Mar-05 10:42
professionalChris Losinger28-Mar-05 10:42 
GeneralRe: Bitmap Data Manipulation Pin
LighthouseJ28-Mar-05 12:23
LighthouseJ28-Mar-05 12:23 
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 

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.