Anyone know how to test the operating system for windows 98/2000/XP. I need to know the is_windowsnt result but I don't know how to enter it in the condition field in the installer. I want to install a file but only in windows 98. Thanks.
Hi,
I have ported over an app from VC 6.0 to .Net 2003. I am compiling the debug version, and it all links and builds fine. However when I run it I get a missing msvcrtd.dll error. Surely the app should be looking for msvcr71d.dll ? How can I get around this. Thanks.
I know there is a TRACE function/macro that will dump
the stack trace out to the output window in the debugger,
what I want to do is dump the results to a file (as I
will be running a debug build but not with the debugger).
I have chosen not to run a release build because the
TRACE...
All,
I am writing a bitmap to a file, however after I bit blat
with BitBlt how can I change all references from one colour
to another ? I am trying to change the blue background to
white so I can save the image with a white background.
Thanks.
CBitmap bitmap;
CClientDC dc(pwd);
CDC memDC...
Basically the rules of encapsulation state that data
that belongs to a class (attributes of the class)
should only be changed by the owning class. Thus
high cohesion and low coupling.
This statement is true if a class has private data,
this prevents encapsultaion from being broken,
as other...
>>maybe you shou.ld install MFC on that computers
errm how do you think I am debugging it ?
the answer is in the followinf function......
CChildFrame::PreCreateWindow(CREATESTRUCT & cs)
{
cs.dwExStyle = WS_EX_WINDOWEDGE; //remove this line
this is not supported in windows 95 or 98 !
All,
I have an app developed in XP using visual studio 6. All
works fine. It is an MDI that has a multidoctemplate
setup in the App class.
In 95/98 however I run the app and it crashes in the MFC
the stack is
CMDIChildWnd::OnCreate
CFramWnd::OnCreateClient
CFrameWnd::OnCreateHelper
It appears...
All,
I am interested in monitoring how much memory
my app is using (it looks like it may be leaking
I am using bounds checker to search for the leaks),
but on the live system I can monitor the
physical memory available in the task manager,
but how and when does the app hand back the memory...
Can anyone please help me by providing an example of
how to print a view without the print dialog box
coming up, I just want to print the current view
with the default printer, thanks !
Marcus
I have found the solution ! Simply go to the View->Resource
Includes option from the menubar and copy all the
settings from the original project (the one
that worked and had the Afx strings in) to the
new one. Make sure that the Compile time
directives are identical. Job done !
Marcus
I had a project created using the class wizard,
now I have imported the code into a different
project. I now get asserts in the MFC complaining
about using Afx Format Strings, basically it can not find
the resources. What DLL or resource do i need to link in ?
Thanks
I mean we have an existing application which is
the main software project, and I have prototyped some
new functionality in a seperate application,
now I wish to integrate this prototyped software
into the main one.
The problem is that I have imported some code that
was generated with the App...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.