Click here to Skip to main content
15,900,719 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Doubt in SHFileOperation !!! Pin
Roger Allen30-Jan-04 4:15
Roger Allen30-Jan-04 4:15 
GeneralRe: Doubt in SHFileOperation !!! Pin
Ilamparithi30-Jan-04 4:27
Ilamparithi30-Jan-04 4:27 
GeneralRe: Doubt in SHFileOperation !!! Pin
John M. Drescher30-Jan-04 4:45
John M. Drescher30-Jan-04 4:45 
Generalcustom thumbnails for windows explorer Pin
bpChristoph30-Jan-04 4:05
bpChristoph30-Jan-04 4:05 
QuestionWhat is the diff between ?Foo@Class and ?FooA@Class in DLL export? Pin
vmaltsev30-Jan-04 3:14
vmaltsev30-Jan-04 3:14 
AnswerRe: What is the diff between ?Foo@Class and ?FooA@Class in DLL export? Pin
Joel Lucsy30-Jan-04 3:23
Joel Lucsy30-Jan-04 3:23 
GeneralRe: What is the diff between ?Foo@Class and ?FooA@Class in DLL export? Pin
vmaltsev30-Jan-04 3:53
vmaltsev30-Jan-04 3:53 
AnswerRe: What is the diff between ?Foo@Class and ?FooA@Class in DLL export? Pin
Mike Dimmick30-Jan-04 4:56
Mike Dimmick30-Jan-04 4:56 
I suspect that in the DLL, the function has the same name as a Windows function whose header you have included, while you haven't included the same header in the application.

Example: the Windows header WinBase.h defines the functions DeleteFileA and DeleteFileW. It also maps the name DeleteFile via a macro to DeleteFileA or DeleteFileW depending on whether the UNICODE symbol is defined. This allows you to switch between using the ANSI and Unicode versions of the functions simply by defining or undefining UNICODE.

Unfortunately the macro processor has no idea of scope and doesn't realise that you actually wanted to refer to a class member function rather than to refer to the Windows function, so it replaces your Foo with FooA.

Solutions: either rename the function, or #undef the macro. If you #undef the macro, consider using #pragma push_macro and #pragma pop_macro to store and retrieve the macro value (supported in VC 6.0, even though undocumented).

Using #undef in this way is a real hassle, though, so I'd simply rename the offending function.
GeneralRe: What is the diff between ?Foo@Class and ?FooA@Class in DLL export? Pin
vmaltsev30-Jan-04 5:10
vmaltsev30-Jan-04 5:10 
AnswerRe: What is the diff between ?Foo@Class and ?FooA@Class in DLL export? Pin
Mukkie30-Jan-04 23:49
Mukkie30-Jan-04 23:49 
GeneralPASSTHROUGH printing using Escape Pin
Jimmy M Joy30-Jan-04 3:10
Jimmy M Joy30-Jan-04 3:10 
GeneralRe: PASSTHROUGH printing using Escape Pin
basementman30-Jan-04 9:56
basementman30-Jan-04 9:56 
GeneralRe: PASSTHROUGH printing using Escape Pin
Jimmy M Joy30-Jan-04 17:29
Jimmy M Joy30-Jan-04 17:29 
GeneralRe: PASSTHROUGH printing using Escape Pin
basementman2-Feb-04 4:13
basementman2-Feb-04 4:13 
Generaltemplate class friend of another template class Pin
Jerome Conus30-Jan-04 2:36
Jerome Conus30-Jan-04 2:36 
GeneralRe: template class friend of another template class Pin
toxcct30-Jan-04 3:11
toxcct30-Jan-04 3:11 
GeneralRight click menu and sending messages Pin
lobanovski30-Jan-04 2:09
lobanovski30-Jan-04 2:09 
GeneralRe: Right click menu and sending messages Pin
Michael P Butler30-Jan-04 3:39
Michael P Butler30-Jan-04 3:39 
Generaltemplate magic - generic callbacks + return values Pin
peterchen30-Jan-04 0:16
peterchen30-Jan-04 0:16 
GeneralRe: template magic - generic callbacks + return values Pin
Ryan Binns30-Jan-04 2:23
Ryan Binns30-Jan-04 2:23 
GeneralRe: template magic - generic callbacks + return values Pin
peterchen30-Jan-04 3:00
peterchen30-Jan-04 3:00 
GeneralCommunicating with Proxy Pin
sinuommen29-Jan-04 22:32
sinuommen29-Jan-04 22:32 
GeneralRe: Communicating with Proxy Pin
Prakash Nadar29-Jan-04 23:11
Prakash Nadar29-Jan-04 23:11 
Generala RSS reader Pin
Jerome Conus29-Jan-04 20:46
Jerome Conus29-Jan-04 20:46 
GeneralRe: a RSS reader Pin
Taka Muraoka29-Jan-04 21:43
Taka Muraoka29-Jan-04 21:43 

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.