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
S

ShilpiP

@ShilpiP
About
Posts
374
Topics
36
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Tips/Tricks count is zero
    S ShilpiP

    I have one Tips/Tricks but in my profile the Tips/Tricks count is zero.

    "Every Little Smile can touch Somebody's Heart... May we find Hundreds of Reasons to Smile Everyday... and May WE be the Reason for someone else to smile always!" (ICAN) "Your thoughts are the architects of your destiny."

    Site Bugs / Suggestions discussion

  • Difference between Critical Sections over Mutex objects
    S ShilpiP

    Google will help you :) MSDN a) MultiThreading[^] b) Multithreading: When to Use the Synchronization Classes[^] c) Informit[^]

    "Every Little Smile can touch Somebody's Heart... May we find Hundreds of Reasons to Smile Everyday... and May WE be the Reason for someone else to smile always!" (ICAN) "Your thoughts are the architects of your destiny."

    C / C++ / MFC help question

  • Difference between Critical Sections over Mutex objects
    S ShilpiP

    My suggestion is you must read about the synchronization of thread. There are four types of synchronization 1) Critical section 2) Mutex 3) Event 4) Semaphore Every synchronization object is used to meet different requirement and as per our requirement we have to choose which synchronization object is used in our application.

    "Every Little Smile can touch Somebody's Heart... May we find Hundreds of Reasons to Smile Everyday... and May WE be the Reason for someone else to smile always!" (ICAN) "Your thoughts are the architects of your destiny."

    C / C++ / MFC help question

  • Difference between Critical Sections over Mutex objects
    S ShilpiP

    Mutex and Critical Section are used for synchronization.Both are almost same except that Critical Section is used within a same process area, where mutex is used in different process area. I will explain you with simple example: Suppose in your project, You are using one array and two threads are running simultaneously. First thread add data in an array and other display that data on screen. Scenario 1: Without Critical section There is a schedular program in OS that give time slot to every process and threads that are running. It is so frequently done that we feel that all threads are running simultaneous.Suppose time slot given to both thread is equal. If thread one is running it can add only 40 data and than time slot is given to other thread and it display 50 data. Now for some data some garbage data is displayed. If threads uses the same resourse and we must synchronize the thread. In this case we use CS.Process area of both the thread is same, So it is fast. Scenario 2: Suppose we use printer machine to print some data. If two person request at a time and if no synchronization process is used than it gives to garbage data. At this time one process have to wait to complete the process of second. This time the process or thread are from different process area. So we use mutexes. The process area of process is different, So it is slow. I think this example will clear your doubt. :)

    "Every Little Smile can touch Somebody's Heart... May we find Hundreds of Reasons to Smile Everyday... and May WE be the Reason for someone else to smile always!" (ICAN) "Your thoughts are the architects of your destiny."

    C / C++ / MFC help question

  • When the application is run, when we switch over all the views for some time, the application suddenly crashes.
    S ShilpiP

    use _CrtDumpMemoryLeaks[^] One more is ->Visual Leak Detector - Enhanced Memory Leak Detection for Visual C++[^]

    "Every Little Smile can touch Somebody's Heart... May we find Hundreds of Reasons to Smile Everyday... and May WE be the Reason for someone else to smile always!" (ICAN) "Your thoughts are the architects of your destiny."

    C / C++ / MFC help

  • error in CString to const std::string conversion.
    S ShilpiP

    How to: Convert Between Various String Types ->[^]

    "Every Little Smile can touch Somebody's Heart... May we find Hundreds of Reasons to Smile Everyday... and May WE be the Reason for someone else to smile always!" (ICAN) "Your thoughts are the architects of your destiny."

    C / C++ / MFC help

  • Knowing path of MFC executable
    S ShilpiP
        TCHAR Buffer\[MAX\_PATH\];
    DWORD dwRet;
    dwRet = GetModuleFileName(NULL, Buffer, MAX\_PATH);
    

    "Every Little Smile can touch Somebody's Heart... May we find Hundreds of Reasons to Smile Everyday... and May WE be the Reason for someone else to smile always!" (ICAN) "Your thoughts are the architects of your destiny."

    C / C++ / MFC c++ question

  • My answer is deleted
    S ShilpiP

    Hi Sean, There is one more issue in it. The answer is added but again my 16 point is lost. That's not fair. :(

    "Every Little Smile can touch Somebody's Heart... May we find Hundreds of Reasons to Smile Everyday... and May WE be the Reason for someone else to smile always!" (ICAN) "Your thoughts are the architects of your destiny."

    Site Bugs / Suggestions help c++ com discussion

  • My answer is deleted
    S ShilpiP

    Thanks Sean :)

    "Every Little Smile can touch Somebody's Heart... May we find Hundreds of Reasons to Smile Everyday... and May WE be the Reason for someone else to smile always!" (ICAN) "Your thoughts are the architects of your destiny."

    Site Bugs / Suggestions help c++ com discussion

  • My answer is deleted
    S ShilpiP

    Hi Nish, Thanks :) As per comments I think that it is a bug in CP.

    "Every Little Smile can touch Somebody's Heart... May we find Hundreds of Reasons to Smile Everyday... and May WE be the Reason for someone else to smile always!" (ICAN) "Your thoughts are the architects of your destiny."

    Site Bugs / Suggestions help c++ com discussion

  • My answer is deleted
    S ShilpiP

    Yesterday I post one answer in VC++ forum Unique GUID Problem..[^] My answer is automatically deleted. What I said is not wrong but some one downvote me. My answer is Unique ID is a 32 bit hexadecimal string and unique combination that is being created is 2 raise to 128. It is randomly created and not possible to create the same number twice. I am using COM component for last 5 year and not facing any issue regarding GUID. Only 1 downvote and the message is deleted. May be the reason is I write "not possible" but it does not mean that it should be deleted. I just want to know the reason of deletion.

    "Every Little Smile can touch Somebody's Heart... May we find Hundreds of Reasons to Smile Everyday... and May WE be the Reason for someone else to smile always!" (ICAN) "Your thoughts are the architects of your destiny."

    Site Bugs / Suggestions help c++ com discussion

  • Strange Font Problem in Edit Control [SOLVED]
    S ShilpiP

    Please share your code where you set the font in Edit control.

    "Every Little Smile can touch Somebody's Heart... May we find Hundreds of Reasons to Smile Everyday... and May WE be the Reason for someone else to smile always!" (ICAN) "Your thoughts are the architects of your destiny."

    C / C++ / MFC c++ help tutorial

  • Strange Font Problem in Edit Control [SOLVED]
    S ShilpiP

    vishalgpt wrote:

    Yes checked.

    It means that your font is in font folder. Right. Now open Winword and write the path that you want to show in edit control and select all and set the font Mangal and check it is same as displayed in your edit control. If yes than try to check with different size. Or copy the Mangal font from vista and windows 7 machine. New version of Mangal font looking nice.May be your problem is resolved by installing it in your system.

    "Every Little Smile can touch Somebody's Heart... May we find Hundreds of Reasons to Smile Everyday... and May WE be the Reason for someone else to smile always!" (ICAN) "Your thoughts are the architects of your destiny."

    C / C++ / MFC c++ help tutorial

  • Strange Font Problem in Edit Control [SOLVED]
    S ShilpiP

    Did you check the font in fonts folder ??

    "Every Little Smile can touch Somebody's Heart... May we find Hundreds of Reasons to Smile Everyday... and May WE be the Reason for someone else to smile always!" (ICAN) "Your thoughts are the architects of your destiny."

    C / C++ / MFC c++ help tutorial

  • Strange Font Problem in Edit Control [SOLVED]
    S ShilpiP

    ThatsAlok yeap.... thanks!

    :-D

    ThatsAlok some times it's project requirement to use some particular fonts and never depend on UNICODE based on size and shape they take :)

    Yae but for English and Unicode font, I don't think so that it is being used. For an example if I have English string might be "abcd" and I set some Hindi font. If any shape is mapped in that Hindi font than it might be a hindi value without meaning. So for English font we have to take care of it. Example : In some Hindi font "a is mapped with shape क" and in some other font may be "a is mapped with shape अ".

    "Every Little Smile can touch Somebody's Heart... May we find Hundreds of Reasons to Smile Everyday... and May WE be the Reason for someone else to smile always!" (ICAN) "Your thoughts are the architects of your destiny."

    C / C++ / MFC c++ help tutorial

  • Strange Font Problem in Edit Control [SOLVED]
    S ShilpiP

    Hi Alok ji, Please ask this question to Vishal :). BTW the string is Unicode than there is no need to set the Hindi font. He can set Mangal instead.

    "Every Little Smile can touch Somebody's Heart... May we find Hundreds of Reasons to Smile Everyday... and May WE be the Reason for someone else to smile always!" (ICAN) "Your thoughts are the architects of your destiny."

    C / C++ / MFC c++ help tutorial

  • Strange Font Problem in Edit Control [SOLVED]
    S ShilpiP

    I am facing this problem with Bengali and Oriya only but not in Hindi. Please check that you have Mangal font installed in your system? It should be in SystemDrive:\Windows\Fonts folder. One more thing that I do is copy the font of mangal in Windows 7 or Vista and installed it in your pc. Might be your problem is resolved.

    "Every Little Smile can touch Somebody's Heart... May we find Hundreds of Reasons to Smile Everyday... and May WE be the Reason for someone else to smile always!" (ICAN) "Your thoughts are the architects of your destiny."

    C / C++ / MFC c++ help tutorial

  • Strange Font Problem in Edit Control [SOLVED]
    S ShilpiP
    1. Is Aparajita is Hindi font and 2) Is सरकारी is unicode string or ascii string? If it is unicode than you must choose the font as Mangal and than check.

    "Every Little Smile can touch Somebody's Heart... May we find Hundreds of Reasons to Smile Everyday... and May WE be the Reason for someone else to smile always!" (ICAN) "Your thoughts are the architects of your destiny."

    C / C++ / MFC c++ help tutorial

  • MFC COM
    S ShilpiP

    Yes It is very useful and clear the concept of ATL/COM. Just go through with this example :)

    "Every Little Smile can touch Somebody's Heart... May we find Hundreds of Reasons to Smile Everyday... and May WE be the Reason for someone else to smile always!" (ICAN) "Your thoughts are the architects of your destiny."

    C / C++ / MFC c++ com tutorial

  • MFC COM
    S ShilpiP

    Perfect 5 :thumbsup: Thanks :)

    "Every Little Smile can touch Somebody's Heart... May we find Hundreds of Reasons to Smile Everyday... and May WE be the Reason for someone else to smile always!" (ICAN) "Your thoughts are the architects of your destiny."

    C / C++ / MFC c++ com tutorial
  • Login

  • Don't have an account? Register

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