Click here to Skip to main content
15,889,335 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: MFC Program and Very Large Text Files Pin
jschell19-May-11 8:21
jschell19-May-11 8:21 
GeneralRe: MFC Program and Very Large Text Files Pin
Andy20219-May-11 22:10
Andy20219-May-11 22:10 
GeneralRe: MFC Program and Very Large Text Files Pin
jschell20-May-11 10:13
jschell20-May-11 10:13 
QuestionEmbedding Excel in a dialog Pin
efraimyy18-May-11 22:49
efraimyy18-May-11 22:49 
AnswerRe: Embedding Excel in a dialog Pin
Chandrasekharan P19-May-11 1:35
Chandrasekharan P19-May-11 1:35 
GeneralRe: Embedding Excel in a dialog Pin
efraimyy19-May-11 2:58
efraimyy19-May-11 2:58 
GeneralRe: Embedding Excel in a dialog Pin
efraimyy19-May-11 3:00
efraimyy19-May-11 3:00 
GeneralRe: Embedding Excel in a dialog Pin
Chandrasekharan P19-May-11 22:04
Chandrasekharan P19-May-11 22:04 
GeneralRe: Embedding Excel in a dialog Pin
efraimyy21-May-11 21:40
efraimyy21-May-11 21:40 
GeneralRe: Embedding Excel in a dialog Pin
Chandrasekharan P22-May-11 18:42
Chandrasekharan P22-May-11 18:42 
QuestionAdding Scrollbar to a Dialog in MFC Pin
pix_programmer18-May-11 20:52
pix_programmer18-May-11 20:52 
AnswerRe: Adding Scrollbar to a Dialog in MFC Pin
Chandrasekharan P18-May-11 22:04
Chandrasekharan P18-May-11 22:04 
GeneralRe: Adding Scrollbar to a Dialog in MFC Pin
pix_programmer18-May-11 22:12
pix_programmer18-May-11 22:12 
GeneralRe: Adding Scrollbar to a Dialog in MFC Pin
Chandrasekharan P18-May-11 22:26
Chandrasekharan P18-May-11 22:26 
Questionvoice chat in client/server Pin
includeh1018-May-11 12:18
includeh1018-May-11 12:18 
AnswerRe: voice chat in client/server Pin
Code-o-mat19-May-11 0:24
Code-o-mat19-May-11 0:24 
QuestionHow create a windows 7 gadget with MFC in VC++2010? Pin
Hadi Dayvary18-May-11 7:36
professionalHadi Dayvary18-May-11 7:36 
AnswerRe: How create a windows 7 gadget with MFC in VC++2010? Pin
Mark Salsbery18-May-11 8:25
Mark Salsbery18-May-11 8:25 
Question.def and 64 bit Pin
Paul Bryan Porter18-May-11 5:57
Paul Bryan Porter18-May-11 5:57 
I have a .dll that I want to port to 64bit. To differentiate it from the 32 bit version I named it <name>64.dll only to find that the <module>64.dll that uses it couldn't load it as it
was still looking for <name>32.dll. That is when I discovered that the <name>32.dll is exported in the .def file. Changing the .def file to export <name>64.dll DOES work.

However,

The <name>32.dll and <name>64.dll are differentiated by configuration only, not project. A project can have only one .def file. Thus we have to remember to manually change the .def when changing compilations from 32 to 64 bit and vice versa.

The thought of using __declspec() instead of a .def file came up but I was told by the original programmer that he had to drop them for some problem and had to go to the .def file.

We thought about making two projects in the one <name>.sln file. But it seemed to be too much of a hassle for such a small problem.

So how can I make it so changing the configuration of a C++ project changes what is exported as the LIBRARY in a .def file?
AnswerRe: .def and 64 bit Pin
Chris Meech18-May-11 6:30
Chris Meech18-May-11 6:30 
GeneralRe: .def and 64 bit Pin
Paul Bryan Porter19-May-11 12:55
Paul Bryan Porter19-May-11 12:55 
AnswerRe: .def and 64 bit Pin
Chris Losinger18-May-11 15:32
professionalChris Losinger18-May-11 15:32 
GeneralRe: .def and 64 bit Pin
Paul Bryan Porter19-May-11 12:59
Paul Bryan Porter19-May-11 12:59 
AnswerRe: .def and 64 bit Pin
Chris Losinger19-May-11 13:15
professionalChris Losinger19-May-11 13:15 
GeneralRe: .def and 64 bit Pin
Paul Bryan Porter20-May-11 5:44
Paul Bryan Porter20-May-11 5:44 

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.