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
B

BicycleTheif

@BicycleTheif
About
Posts
24
Topics
18
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How can I initialize an CListBox& null reference ?
    B BicycleTheif

    Hi, You are trying to initialize a reference to CListBox, in which case you need to give proper object. NULL is nothing but a typedef of '0'. To solve your problem try to use a pointer variable instead of reference variable. CListBox *pListBox = NULL;

    C / C++ / MFC question help

  • Resolving C++ dll's inside CLI
    B BicycleTheif

    I have a Windows service written in C#, that needs to load a C++ SDK. I have written CLI classes, that acts as a bridge. The problem is that my CLI code fails at the point where it makes call to the C++ SDK. I am not getting any error message also. It just hangs. If I try the same from Win Forms application, I did not see any problem. For me it looks like there is issue only when using Windows service. Is it possible to consume CLI\C++ dll's inside windows serive? Please clarify me on this.. Any link related to the problem will be much helpful.

    Managed C++/CLI

  • VC++ event handling in ManagedC++
    B BicycleTheif

    My application has UI in C#, and buisness logic in MFC/VC++. The connection between Managed and unmanaged code are provided using ManagedC++. Now I want the events raised from my VC++ class, to be handled or received in ManagedC++ layer. The question is it possible to do it. If so any reference article/code with be helpful. Thanks in Advance!

    Managed C++/CLI c++ csharp design question

  • Color in Datagrid view
    B BicycleTheif

    DataGridViewCellStyle style = new DataGridViewCellStyle(); style.BackColor = Color.Blue; this.dataGridView1.RowsDefaultCellStyle = style;

    C#

  • help to convert EXE to DLL while retaining Document View Architecture.
    B BicycleTheif

    Here’s my problem: • I have an existing exe application that has Doc/View architecture (say A.exe). • This needs to be converted into a DLL while retaining Doc/View architecture (say A.dll). • All the resources and event handlers should reside in the dll. • The second application (say B.exe) which needs to invoke above (A.dll) DLL also has its own Doc/View classes. The basic idea here is that both A and B should share the same data loaded in memory. • User should be able to work independently on both A & B, means they should me modeless dialogs. Thanks,

    C / C++ / MFC help architecture performance

  • How to convert exe to dll
    B BicycleTheif

    Hi All, I have a Exe which needs to be converted into Dll... I dont know how to proceed on this..Any help please.. Thanks, Nithya

    C / C++ / MFC help tutorial

  • How to stop mouse hover notification
    B BicycleTheif

    Hi, In my application i have two views say View1 and View2. When the data in the document changes each view is notified synchronously. But if i hover mouse over the view2 when the the data in document is changing and the notification is not yet sent a event is fired by mouse hover even though i have used CWaitCursor in document. I need to prevent this as its trying to access the old data when new data is loading. Any help please.. Thanks in advance.. Nithya..

    C / C++ / MFC help tutorial

  • Dual Interface
    B BicycleTheif

    I have an dual interface from which i am derving another interface..when i implement both the interface in the same class and when i compile i am getting "error MIDL2020 : error generating type library : AddImplType failed " error message. any help please.. Thanks

    COM help

  • Article for STL
    B BicycleTheif

    Hi i am new to STL .can any one suggest me a good article with which i can start learning STL.

    ATL / WTL / STL c++ learning

  • Adding a new Interface to Existing component
    B BicycleTheif

    Hi i have added a new interface to an existing component.but when i tried to access the interface in the client program it is saying "access to QueryInterface failed". In this i have two interface both are derived from IDispatch. In COM_INTERFACE_ENTRY i have a ambigiuty error..i solved it with COM_INTERFACE_ENTRY2 macro. Is this have any effect onthe previous error.. Thanks in Advance

    COM com help

  • Toolbar
    B BicycleTheif

    How to create multiple toolbars?] Thanks

    C / C++ / MFC tutorial question

  • Sorting List View
    B BicycleTheif

    I have a list view which needs to be sorted based on a click on header.I am using the ListCtrl.SortItems() function. But it is crashing when i clicked on the header.For better understanding i have listed the code. void CDirTreeDemoView::OnColumnClick(NMHDR* pNMHDR, LRESULT* pResult) { NM_LISTVIEW* pNMListView = (NM_LISTVIEW*) pNMHDR; this->GetListCtrl().SortItems (CompareFunc, pNMListView->iSubItem); *pResult = 0; } int CALLBACK CDirTreeDemoView::CompareFunc (LPARAM lParam1, LPARAM lParam2,LPARAM lParamSort) { ITEMINFO* pItem1 = (ITEMINFO*) lParam1; ITEMINFO* pItem2 = (ITEMINFO*) lParam2; int nResult = 0; switch (lParamSort) { case 0: // File name nResult = pItem1->strFileName.CompareNoCase (pItem2->strFileName); break; case 1: // File size nResult = pItem1->nFileSizeLow - pItem2->nFileSizeLow; break; case 2: // Date and time nResult = ::CompareFileTime (&pItem1->ftLastWriteTime, &pItem2->ftLastWriteTime); break; } return nResult; } When i debuged lParam1 and lParam2 are getting value as '0'. Any hekp please Thanks

    C / C++ / MFC algorithms

  • toolbar_icon
    B BicycleTheif

    Use the ON_COMMAND message map to perform the specific operation on the toolbar button.

    C / C++ / MFC question

  • Large Icon display in Explorer view
    B BicycleTheif

    Thanks for your reply. What exactly my problem is when i clicked the LARGE ICON Button on the applications tool bar or select it from the View menu the Icons are not getting displayed in the List view. I am able to see the icons in other views namely Details,Small Icons ,Lists. There's absolutely no problem with the tree view.

    C / C++ / MFC announcement

  • Large Icon display in Explorer view
    B BicycleTheif

    I have created a Explorer type application in which i have problems in viewing the large icons.When i update the List view to display the files and folders in a particular path i am getting only the text display not the image. Any suggestion or article of this kind will be helpful Thanks

    C / C++ / MFC announcement

  • Converting FILETIME to CString
    B BicycleTheif

    i need to update a list view with DateTme..which is in FILETIME struct.How can i convert it to string ? Thanks

    C / C++ / MFC question announcement

  • Explorer type application
    B BicycleTheif

    i am trying to create a windows explorer type application in vc++.i am able to update the TreeView for the directory list. But i am unable to populate the ListView(right pane).i have listed the code below.. void CDirTreeDemoView::OnInitialUpdate() { CListView::OnInitialUpdate(); GetListCtrl ().InsertColumn (0, _T ("File Name"), LVCFMT_LEFT, 192); GetListCtrl ().InsertColumn (1, _T ("Size"), LVCFMT_RIGHT, 96); GetListCtrl ().InsertColumn (2, _T ("Last Modified"), LVCFMT_CENTER,128); } any help plz thanks

    C / C++ / MFC c++ help announcement

  • Class wizard
    B BicycleTheif

    i havent used VB, can u plz give me somelink that will help me.. Thanks

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

  • Class wizard
    B BicycleTheif

    Is there any easy way to create event\message maps in Visual studio 2003.I counld not find the class wizard.Any help plz.

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

  • Retriving the value from Hash table
    B BicycleTheif

    Can anyone help me in retriving the value from a hash table..in c# Thanls Nithya..

    C# csharp data-structures cryptography help
  • Login

  • Don't have an account? Register

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