Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
T

TechAvtar

@TechAvtar
About
Posts
11
Topics
7
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to Convert CString to char array?
    T TechAvtar

    I Have a CString which contains port names. CString cs = "COM1"; char portname[5]; 1. What is the memory representation of cs above (I have this question since I think it is multibyte/wide char)? 2. How to copy above cs into portname ? I need portname to contain {'C','O','M','1','\0'} Thanks JC

    C / C++ / MFC question data-structures performance tutorial

  • Adding FormView (IDD_FORMVIEW ) to CFrameWnd
    T TechAvtar

    Hi, I have an MFC application written manually (no wizard) as below. I am able to add a menu to it. But I also need a form view (where i can add buttons and other controls) . I created the required form in the resource editor (Resources->Dialog->IDD_FORMVIEW). But how can I attach this IDD_FORMVIEW to my CDemoFrame? Thanks JC class CDemoFrame : public CFrameWnd { CDemoFrame(); } CDemoFrame::CDemoFrame() { ... Create(NULL, _T("My Demo Application"), WS_OVERLAPPEDWINDOW, CRect(Left,Top,Right,Bottom), NULL, MAKEINTRESOURCE(IDR_DEMO_MENU));//Adding menu for demo application ... } BOOL CMyDemoApp::InitInstance() { ... m_pMainWnd = new CDemoFrame; ... m_pMainWnd->ShowWindow(SW_NORMAL); ... }

    C / C++ / MFC question c++ learning

  • Setup and Deplyment Project : Running external exe
    T TechAvtar

    Thank you very much. But I am still trying to find a way to install driver via Setup & Deployment Project. If nothing works out I will consider InstallShield.

    C / C++ / MFC help csharp c++ visual-studio sysadmin

  • Setup and Deplyment Project : Running external exe
    T TechAvtar

    Hi, I am creating a setup & deployment project in Visual Studio 2008 (VC++). I need to install a driver while running installer.msi . I have the command line for installing the driver below devcon -r install driverx.inf *driverx.sys How to include the above exe in Setup and Deployment project? I tried custom action and specified parameters "-r install driverx.inf *driverx.sys". But during installation I am getting the error message "THere is a problem with this windows installer package. A program run as par of the project did not finish as exepected .." How to configure Setup and Deployment project for executing above exe?

    C / C++ / MFC help csharp c++ visual-studio sysadmin

  • CString multiple assignment leak?
    T TechAvtar

    But what if the usage is as below? The variable temp is not going out of scope. Will it cause leak? CString temp; //global variable while(1) { temp = "hello"; //Assignment 1 temp = "world"; //Assignment 2 }

    C / C++ / MFC performance question

  • CString multiple assignment leak?
    T TechAvtar

    Hi, Do the following will cause memory leak? CString temp; //global variable temp = "hello"; //Assignment 1 temp = "world"; //Assignment 2 What will happen to the memory allocated for "hello"? Will it be released at assignment of "world"? Thanks JC

    C / C++ / MFC performance question

  • How to disable auto sorting for CComboBox
    T TechAvtar

    Hmm.. I got the answer.. disable the sort property in GUI.

    C / C++ / MFC algorithms tutorial question

  • How to disable auto sorting for CComboBox
    T TechAvtar

    Hi I have a CComboBox, I am populating items into that. But when i run the code, the inserted items are getting sorted in the combo box. But I want to keep the order of *inertion* in the display. How to do this? Thanks JC CComboBox* comboComSelection; comboComSelection = ((CComboBox*)GetDlgItem (IDC_COM_COMBO)); comboComSelection->ResetContent(); comboComSelection->AddString (_T ("COM1")); comboComSelection->AddString (_T ("COM2")); comboComSelection->AddString (_T ("COM10")); ( I need COM1, COM2, COM10 in the order, when combo box appears)

    C / C++ / MFC algorithms tutorial question

  • MFC: Drawing Overlapping Circles
    T TechAvtar

    Thanks .This was I looking for.

    C / C++ / MFC c++ graphics help tutorial question

  • MFC: Drawing Overlapping Circles
    T TechAvtar

    Hi, I am trying to draw two circles, which are overlapping . My problem is that the second circle is hiding the first one partially. I want to see both circles completely. Can somebody guide me what parameter should I tweak? afx_msg void DemoWin::OnPaint () { CPaintDC dc(this); CRect myRect; /* Define rectangle coordinates */ myRect.top = 0; myRect.left = 0; myRect.bottom = 200; myRect.right = 100; dc.Ellipse(myRect); myRect.top = 100; myRect.left = 50; myRect.bottom = 200; myRect.right = 200; dc.Ellipse(myRect); } Thanks Jacob

    C / C++ / MFC c++ graphics help tutorial question

  • Selection Visual C++ version for driver development
    T TechAvtar

    Hi, I am an experienced programmer in Linux, but new to Windows. I want to develop windows XP driver for a PCI based device. Also, I want to write a device capability Demonstration application. I am free to select Visual Studio 6.0 to Visual Studio 2008. 1. Is it a good decision to do the Demo Application development in VC++ Dot-Net, and Driver Development in Non-Dot net environment? 2.Which version of Visual studio is suitable for me, considering the future usefulness of the technical knowledge I am acquiring. 3.Please suggest some good books for Windows XP Driver Development. Thank You very Much Jacob

    C / C++ / MFC c++ csharp visual-studio linux question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups