Click here to Skip to main content
15,908,020 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: wstring to LPCTSTR Pin
sunit515-Nov-05 2:21
sunit515-Nov-05 2:21 
GeneralRe: wstring to LPCTSTR Pin
toxcct15-Nov-05 2:43
toxcct15-Nov-05 2:43 
GeneralRe: wstring to LPCTSTR Pin
22491715-Nov-05 5:44
22491715-Nov-05 5:44 
GeneralRe: wstring to LPCTSTR Pin
Luke Murray15-Nov-05 12:42
Luke Murray15-Nov-05 12:42 
GeneralRe: wstring to LPCTSTR Pin
22491715-Nov-05 17:16
22491715-Nov-05 17:16 
GeneralRe: wstring to LPCTSTR Pin
sunit515-Nov-05 19:03
sunit515-Nov-05 19:03 
GeneralRe: wstring to LPCTSTR Pin
Luke Murray15-Nov-05 20:41
Luke Murray15-Nov-05 20:41 
Questionstruct inadvertantly calling stdafx.h function Pin
newbie534514-Nov-05 22:45
newbie534514-Nov-05 22:45 
I am (obviously) an amateur, but this thing has plagued me long enough. I'm trying to integrate a program that requires stdafx.h into a large UAV simulator program. The UAV program compiles normally without the stdafx.h inclusion. There is a struct called POSITION that the UAV program uses, which I believe is conflicting with the afx lib (error message: .\Globals\typedefs.h(4) : error C2040: 'POSITION' : 'overloaded function type' differs in levels of indirection from 'struct __POSITION *'). I've tried renaming the struct, but it's a large program and I can't seem to track down all the implementations. My question: is there a simpler way to deal with this? Thank you for any help.

AnswerRe: struct inadvertantly calling stdafx.h function Pin
jhwurmbach14-Nov-05 23:16
jhwurmbach14-Nov-05 23:16 
GeneralRe: struct inadvertantly calling stdafx.h function Pin
newbie534514-Nov-05 23:37
newbie534514-Nov-05 23:37 
GeneralRe: struct inadvertantly calling stdafx.h function Pin
jhwurmbach14-Nov-05 23:46
jhwurmbach14-Nov-05 23:46 
QuestionSaving before compiling Pin
Rage14-Nov-05 22:40
professionalRage14-Nov-05 22:40 
AnswerRe: Saving before compiling Pin
kakan14-Nov-05 22:46
professionalkakan14-Nov-05 22:46 
GeneralRe: Saving before compiling Pin
Rage14-Nov-05 23:55
professionalRage14-Nov-05 23:55 
QuestionMemory Leak In this function? Pin
szcococut14-Nov-05 22:01
szcococut14-Nov-05 22:01 
AnswerRe: Memory Leak In this function? Pin
Steen Krogsgaard14-Nov-05 23:31
Steen Krogsgaard14-Nov-05 23:31 
GeneralRe: Memory Leak In this function? Pin
szcococut15-Nov-05 2:43
szcococut15-Nov-05 2:43 
GeneralRe: Memory Leak In this function? Pin
toxcct15-Nov-05 2:47
toxcct15-Nov-05 2:47 
GeneralRe: Memory Leak In this function? Pin
szcococut15-Nov-05 2:51
szcococut15-Nov-05 2:51 
GeneralRe: Memory Leak In this function? Pin
toxcct15-Nov-05 3:00
toxcct15-Nov-05 3:00 
GeneralRe: Memory Leak In this function? Pin
Steen Krogsgaard15-Nov-05 3:16
Steen Krogsgaard15-Nov-05 3:16 
GeneralRe: Memory Leak In this function? Pin
szcococut15-Nov-05 3:23
szcococut15-Nov-05 3:23 
QuestionPrinting in VC Pin
kk.tvm14-Nov-05 21:48
kk.tvm14-Nov-05 21:48 
AnswerRe: Printing in VC Pin
Aamir Butt15-Nov-05 0:31
Aamir Butt15-Nov-05 0:31 
QuestionIP to name in LAN Pin
Radu Sorin14-Nov-05 21:10
Radu Sorin14-Nov-05 21:10 

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.