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
S

sankar

@sankar
About
Posts
22
Topics
20
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • LNK 2019: Build Debug Win32 DLL from Dot NEt
    S sankar

    Hi Daniel No, the Release DLL is supplied by one of the other vendors with which I have to integrate. But, normally, we can build the debug version of one DLL linking with the Release version of the depending DLLs, right? \ Thanks Sankar

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

  • LNK 2019: Build Debug Win32 DLL from Dot NEt
    S sankar

    Hi All I am trying to build a Debug version of Win32 DLL under Dot Net 2003 . I link to a Release version of Win32 DLL not using MFC built under the Visal Studio 6.0 , I always get the above mentioned error with Unresolved external symbols. Anyway, I can fix it. I can build release version successfully. Thanks Sankar

    .NET (Core and Framework) help announcement c++ debugging

  • LNK 2019: Build Debug Win32 DLL from Dot NEt
    S sankar

    Hi All I am trying to build a Debug version of Win32 DLL under Dot Net 2003 framework. I link to a Release version of Win32 DLL not using MFC built under the Visal Studio 6.0 . I always get the above mentioned error with Unresolved external symbols. Anyway, I can fix it. I can build release version successfully. Thanks Sankar

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

  • Edit Boxes
    S sankar

    Thanks for ur suggestion.

    C / C++ / MFC data-structures tutorial

  • Edit Boxes
    S sankar

    Dear All I have this basic doubt - if I have a number of textboxes with in a static Group, is it possible for me to cerate an array to refer to them instead of creating memebr variables for each & every box. example : assuem there are 3 text boxes , tehn can i jsut say m_Textboxes[3] isntead of saying m_textboxes1, m_textboxes2, m_textboxes3. Pl. suggest Thanks regards Sankar

    C / C++ / MFC data-structures tutorial

  • SetActiveWindow / Win2K
    S sankar

    Hi All I have an application "A" which is active and there's an application "B" getting activated behind the application "A". ( A's window is not the parent of B ) . In WinNT, I'm able to bring the application B's window to the foreground. But, In Win2K Professional, the API - SetActiveWindow / SetForeGroundWindow doesn't seem to work. Is there any otehr round about way to fix this, Pl. sugegst me. Thanks regards Sankar

    C / C++ / MFC json help

  • Self Extracting Exe
    S sankar

    Dear All When I install the visual C++, I find an option under tools for creating "Self Extracting exe" - how can I make use of this?? regards Sankar

    C / C++ / MFC c++ question tools

  • Simple VB Script
    S sankar

    Dear ALL I haven' written scripts b4 . all that I know about it is that I need Viusal interdev to write it. I need to write a script to find the Boot drive & store the drive in the format of a string in some variable. regards Sankar

    Web Development tools

  • Orca - Setup file Editor
    S sankar

    Dear All How efficient is this editor to build a customized setup file making use of the windows installer. regards Sankar

    C / C++ / MFC workspace

  • Create a Setup File
    S sankar

    There's a main project which consists of many VC & VB components as sub projects . Now I need to build a package which gives me an option to install these components by selecting them from the various options of the components - the installation of one of the componenets need to be in the remote machine. How can i do this??? Pl. suggest me some topics to get an idea on this. Thanx. regards Sankar

    IT & Infrastructure question workspace

  • Create a Setup File
    S sankar

    There's a main project which consists of many VC & VB components as sub projects . Now I need to build a package which gives me an option to install these components by selecting them from the various options of the components - the installation of one of the componenets need to be in the remote machine. How can i do this??? Pl. suggest me some topics to get an idea on this. Thanx. regards Sankar

    C / C++ / MFC question workspace

  • Reflection Message Handler
    S sankar

    Hi Can anyone explain me how to implement a Windows Message Handler ( Reflection ) - I have a Dialog box which has a CListCtrl & I would like the ListCtrl to handle the WM_MouseMove & not the dialog box. SO, I added a Windows Message Handler Using the class view for WM_MouseMove . Now, how can I pass this on to the CListCtrl?? it's like this: Class Sample is the dialog class. and the list control is placed inside this dialog box. void Sample :: OnMouseMove ( .. , .. ) { ???? } Any sample would be very useful. Thanks Sankar

    C / C++ / MFC question tutorial

  • NTSD debugger
    S sankar

    Hi I have a strange problem. I have an application in VC6.0 which makes use of crystal reports to generate a report. Now thi sapplication works fine in variuos systems under various OS. But , only in one machine ( to my badluck it happens to be the live machine ) this applciation crashes. there's o'cos no MSDEV & source code in that machine.and so, i used the NTSD debugger to get a little mor eknowledge on this and i got the following extract ( I have jus tpasted just a thte point of crsahing ) NTSD ModLoad: 77bc0000 77bc7000 RPCLTC1.dll NTSD: access violation NTSD: !!! second chance !!! eax=7469650a ebx=0000003f ecx=7469650a edx=0000003f esi=8c30cea6 edi=00000004 eip=7800d1c4 esp=0161fb7c ebp=0161fb98 iopl=0 nv up ei pl zr na po nc cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000 efl=00000246 *** WARNING: symbols checksum and timestamp is wrong 0x0004ed1e 0x000528d6 for m svcrt.dll MSVCRT!set_sbh_threshold+827: 7800d1c4 8906 mov [esi],eax ds:0023:8c30cea6=???????? 0:001> kb ChildEBP RetAddr Args to Child 0161fb98 7800cc1c 00901dc8 8c30cea6 0161fdd7 MSVCRT!set_sbh_threshold+0x827 0161fbdc 7800578c 0093320c 41104111 0093320c MSVCRT!set_sbh_threshold+0x27f 0161fbfc 4110bd0f 009337c0 00000002 00934e60 MSVCRT!_crtGetLocaleInfoW+0x580 0161fc30 4110bc2f 00934e60 0161fc5c 4110a7d6 P2SEVT+0xbd0f 0161fc3c 4110a7d6 00000001 00911170 00934e60 P2SEVT+0xbc2f 0161fc5c 42d6a1f7 009337e0 009337a0 009320a2 P2SEVT!SQLReadNextRecurringRecord+0 x8b 0161fe64 77e42257 005f0778 0000061c 00000000 CRAXDRT!DeleteUFLString+0x124c47 0161fe90 77f663f3 0161fea0 00000018 005f0778 USER32!IsWindow+0xa7 0161fee4 5f401301 00911364 00000000 00000000 ntdll!KiUserCallbackDispatcher+0x13 00911364 00000000 00000000 00000000 00000000 MFC42!Ordinal5307+0x13 Pl. let me know what does this mean . Thanks regards Sankar

    C / C++ / MFC debugging help question

  • Capturing MOuse Move within a CListCtrl
    S sankar

    Hi I have a Dialog Box "A" inside which I have a CListCtrl say "A.1" . Now , I want to trap the Mouse move event within the Clistctrl which I don't see when I try using the classwizard. Any Idea would be great help. Thanx regards Sankar

    C / C++ / MFC help

  • Activating / Deselecting an Item in CListCtrl
    S sankar

    Hi I have created a CListCtrl with the additional options as Hot Track Selection & OneClick activate. I have set the Hover time to 1 Second. Now, When I try to point to any item ( Hover around 1 second ) then, I create a CRichEditCtrl on the fly on some condition with some data on to it. Now, whenever I change to focus to any other item and the required condition is not satisfied , it waits 1 second to destroy the earlier editbox . I would like to remove the display of this editbox as soon as i move the mouse to some other item. Which Event should I call implement to do this?? Also, when i move to anyother item it immediately changes to blue color. Pl. let me know which event gets fired here ? Thanx in advance regards Sankar

    C / C++ / MFC question

  • ExitWindows API Call
    S sankar

    Hi I use the API call "ExitWindows" to exit the application & log off the current user . But due to some reason the process doesn't close & after a few seconds a dialog box pops up with the message - "Appln. Not Responding" - Click "Wait / EndTask / Cancel" - when I click "wait" the application closes & logs off the user. what's happening over here?? I observe that the message WM_QUERYENDSESSION gets executed successfully. Also, If I override the function OnQueryEndSession() & I set a breakpoint inside this function :- In the debug mode, when I step over the ExitWindows API - I get a message that "Exit the Microsoft Visual studio "??? So, i am not able to see wehat's happening after I pass over the ExitWindows API. Pl. let me know what's happening?? Thanks regards Sankar

    C / C++ / MFC debugging csharp visual-studio json question

  • CRichEditCtrl onthe Fly
    S sankar

    Hi Iam trying to create a CRichEditCtrl ( like a popup wondow ) to display a certain text within a CListCtrl when the length of hte text in one of the column of the ListCtrl exceeds 256 characters. This i smy problem : y = 10 ( say ) CRichEditCtrl* myCtrl -= new CRichEditCtrl; myCtrl->Create(WS_VISIBLE | WS_POPUPWINDOW | ES_AUTOVSCROLL | ES_AUTOHSCROLL | ES_READONLY , CRect(x,y - 20, x+ 70, y - 90 ), this, 5001); where this refers to the Handle of the Parent Window the application crashes at this point. Pl. explain me the reason. regards Sankar regards Sankar

    C / C++ / MFC help

  • LVN_ITEMCHANGED - CListCtrl
    S sankar

    I have a Dialog Box "AAA" which consists of a command button ( let's say "DISPLAY" ). On clicking this button another dialog box "BBB" is displayed which consists of a CListctrl among others. Now, I wanted to catch a notification when ever the item is changed. So, I implemented the OnNotify (LVN_ITEMCHANGED,IDC_LISTCTRL, FnHandler) like this : void CClass :: OnItemCHanged(NMHDR* pNMHDR, LRESULT* pResult ) { NM_LISTVIEW* pNMListView = ( NM_LISTVIEW)pNMHDR; int len = 0; LPTSTR str; myListCtrl.GetItemText(pNMListView ->iItem, 2, str, len) *pResult = 0; } Now, Coming to my doubt, when i try to debug with the break point inside this function, I observe that it breaks when I click the button DISPLAY. why's this when I haven't changed the state of the item yet, also, the application crashes saying "User BreakPoint Exception" after teh GetItemText call. I do see an error saying that " HEAP ALLOCATION EXCEEDED". what's wrong in the whole issue. PL. explain. regards Sankar

    C / C++ / MFC debugging help

  • HitTest on a CListCtrl
    S sankar

    Hi I have a CListctrl & Iam intersted in creating a tooltip in the form f a PopUp window when I select any item in the CListCtrl . Can anybody explain how I can do this ?? Any Sample code would be very useful. The ClistCtrl is placed in a dialog box. When I try to implement the OnLButtonDown to know whether the left button of mouse is clicked inside the control, it doesn't respond but actually, the control is being trapped by the parent window ( Dialog Box ). Eventually the HitTest member function of the CListCtrl fails. Thanks regards Sankar

    C / C++ / MFC question

  • CListCtrl
    S sankar

    Hi Everybody I need to create a CListCtrl of which one of the subitem is more than 300 characters - I found that the CListctrl by default limits its subitem's max lengh to around 260 characters. Even though i see the value in the debugger - it's truncatd when i view it on the screen. Any code would be of much help. Thanks in advance. regards Sankar

    C / C++ / MFC debugging 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