Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by bulgakov

  1. bulgakov

    .net installer

    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.
  2. bulgakov

    VS .NET 2003 App looking for MSVCRTD.dll ?

    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.
  3. bulgakov

    How do I dump TRACE to a file

    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...
  4. bulgakov

    Change colours in a bitmap DC

    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...
  5. bulgakov

    Change Background Colour Of Bitmap

    its ok I am back where I can access help now ! its SetBkColor
  6. bulgakov

    Change Background Colour Of Bitmap

    I have a bitmap in a CDC and I need to change the background colour any quick ideas ? Thanks.
  7. bulgakov

    classes and pointers, is this right???

    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...
  8. bulgakov

    Why Does My App Crash in 95/98 but not in XP (CContext fails)

    >>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 !
  9. bulgakov

    Why Does My App Crash in 95/98 but not in XP (CContext fails)

    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...
  10. bulgakov

    How does memory get allocated in XP

    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...
  11. bulgakov

    Print with no Print Dialog

    thanks very much.
  12. bulgakov

    Print with no Print Dialog

    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
  13. bulgakov

    Missing Afx Strings

    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
  14. bulgakov

    Missing Afx Strings

    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
  15. bulgakov

    Missing Afx Strings

    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...

Part and Inventory Search

Back
Top