Click here to Skip to main content
15,902,938 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: read single line using CFile? Pin
Roger Stoltz2-Feb-09 1:28
Roger Stoltz2-Feb-09 1:28 
QuestionVista registry virtualisation issue when running my application Pin
hariakuthota1-Feb-09 19:08
hariakuthota1-Feb-09 19:08 
AnswerRe: Vista registry virtualisation issue when running my application Pin
«_Superman_»1-Feb-09 19:12
professional«_Superman_»1-Feb-09 19:12 
GeneralRe: Vista registry virtualisation issue when running my application Pin
hariakuthota1-Feb-09 19:16
hariakuthota1-Feb-09 19:16 
GeneralRe: Vista registry virtualisation issue when running my application Pin
«_Superman_»1-Feb-09 19:28
professional«_Superman_»1-Feb-09 19:28 
GeneralRe: Vista registry virtualisation issue when running my application Pin
hariakuthota1-Feb-09 19:31
hariakuthota1-Feb-09 19:31 
Questionmaking win32 Dll Pin
hrishiS1-Feb-09 18:07
hrishiS1-Feb-09 18:07 
AnswerRe: making win32 Dll Pin
Nishad S1-Feb-09 19:21
Nishad S1-Feb-09 19:21 
himangshuS wrote:
I have given the output filename path of the dll to the mfc project.


Or you can set the working folder of exe project as the dll folder, to avoid dll copy.

himangshuS wrote:
Can I write a small printf statement


printf is a console function. So AFAIK, you need the exe as a console app. If it is window/dialog app, then you can use
::MessageBox( 0, "My message", "From my dll", MB_SYSTEMMODAL );


himangshuS wrote:
test my dll by running it (running the dll project?).

Yes, you can set the active project as dll and set the "executable for debug" as the exe. Also you can set the project dependency so that building of projects will be easier.

- ns ami -

GeneralRe: making win32 Dll Pin
hrishiS1-Feb-09 19:35
hrishiS1-Feb-09 19:35 
GeneralRe: making win32 Dll Pin
Nishad S1-Feb-09 20:12
Nishad S1-Feb-09 20:12 
GeneralRe: making win32 Dll Pin
hrishiS1-Feb-09 20:39
hrishiS1-Feb-09 20:39 
QuestionRe: making win32 Dll Pin
Nishad S1-Feb-09 20:49
Nishad S1-Feb-09 20:49 
AnswerRe: making win32 Dll Pin
hrishiS1-Feb-09 21:21
hrishiS1-Feb-09 21:21 
GeneralRe: making win32 Dll Pin
Nishad S1-Feb-09 21:50
Nishad S1-Feb-09 21:50 
GeneralRe: making win32 Dll Pin
hrishiS1-Feb-09 22:52
hrishiS1-Feb-09 22:52 
GeneralRe: making win32 Dll Pin
Nishad S1-Feb-09 22:57
Nishad S1-Feb-09 22:57 
GeneralRe: making win32 Dll [modified] Pin
hrishiS1-Feb-09 23:12
hrishiS1-Feb-09 23:12 
GeneralRe: making win32 Dll Pin
Nishad S1-Feb-09 23:32
Nishad S1-Feb-09 23:32 
GeneralRe: making win32 Dll Pin
hrishiS1-Feb-09 23:52
hrishiS1-Feb-09 23:52 
GeneralRe: making win32 Dll Pin
Nishad S1-Feb-09 23:56
Nishad S1-Feb-09 23:56 
GeneralRe: making win32 Dll Pin
hrishiS2-Feb-09 0:02
hrishiS2-Feb-09 0:02 
GeneralRe: making win32 Dll Pin
hrishiS2-Feb-09 0:09
hrishiS2-Feb-09 0:09 
GeneralRe: making win32 Dll Pin
Nishad S2-Feb-09 0:15
Nishad S2-Feb-09 0:15 
GeneralRe: making win32 Dll Pin
hrishiS2-Feb-09 0:22
hrishiS2-Feb-09 0:22 
GeneralRe: making win32 Dll Pin
Nishad S2-Feb-09 17:18
Nishad S2-Feb-09 17:18 

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.