Click here to Skip to main content
15,880,392 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
QuestionCreate DSN for SQL Server at Run time Pin
manju 318-May-11 2:36
manju 318-May-11 2:36 
QuestionRe: Create DSN for SQL Server at Run time Pin
David Crow18-May-11 3:08
David Crow18-May-11 3:08 
QuestionOpen other Application From Dialogue Pin
camuoi28817-May-11 22:59
camuoi28817-May-11 22:59 
AnswerRe: Open other Application From Dialogue Pin
Richard MacCutchan17-May-11 23:22
mveRichard MacCutchan17-May-11 23:22 
GeneralRe: Open other Application From Dialogue Pin
camuoi28817-May-11 23:48
camuoi28817-May-11 23:48 
GeneralRe: Open other Application From Dialogue Pin
Richard MacCutchan18-May-11 1:19
mveRichard MacCutchan18-May-11 1:19 
AnswerRe: Open other Application From Dialogue Pin
వేంకటనారాయణ(venkatmakam)17-May-11 23:30
వేంకటనారాయణ(venkatmakam)17-May-11 23:30 
AnswerRe: Open other Application From Dialogue Pin
Legor17-May-11 23:31
Legor17-May-11 23:31 
GeneralRe: Open other Application From Dialogue Pin
camuoi28817-May-11 23:43
camuoi28817-May-11 23:43 
AnswerRe: Open other Application From Dialogue Pin
ShilpiP18-May-11 1:55
ShilpiP18-May-11 1:55 
GeneralRe: Open other Application From Dialogue Pin
camuoi28818-May-11 17:06
camuoi28818-May-11 17:06 

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.