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
P

PrafullaVedante

@PrafullaVedante
About
Posts
14
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Does WaitForSingleObject timeout after 49 days if INFINITE is passed?
    P PrafullaVedante

    You are right 8 Fs are there as it is a 32 bit value.

    Quote:

    So it just depends on how much you trust the documentation. Quote Selected Text

    Yes, As the api source is not open source, Is there any minor possibility of having it blocked for 49 days..... Probably we can check it by debugging the api in assembly code. I am just doubting if microsoft has passed the timeout value to the internal generic logic considering the user will never keep itself block for 49 days .... :rolleyes: :laugh:

    Prafulla Vedante

    C / C++ / MFC question

  • Does WaitForSingleObject timeout after 49 days if INFINITE is passed?
    P PrafullaVedante

    We do not know how WaitForSingleObject is implemented. We are just relying on the MSDN documentation. Documentation says, if I pass INFINITE as a timeout value, the function will be blocked indefinitely until the object is signaled. But when I checked the #define value of the INFINITE, it is 0xFFFFFFFF So we pass OxFFFFFFFF to WaitForSingleObject as a timeout. It is equivalent to 49 days. So my question is, does WaitForSingleObject timeout after 49 days if INFINITE is passed. :)

    Prafulla Vedante

    C / C++ / MFC question

  • I submitted an article and it got deleted.
    P PrafullaVedante

    There should be some way for the writer to know why his article was rejected. I am asking for that reason so that i can correct it. I spent almost 5 hours in composing the article to see its being deleted. And now I dont even know what was wrong with it. It is definitely demoralizing.

    Prafulla Vedante

    Article Writing tutorial question

  • I submitted an article and it got deleted.
    P PrafullaVedante

    I dont recall it fully as on clicking it went away. But it was saying something about the article deletion.

    Prafulla Vedante

    Article Writing tutorial question

  • I submitted an article and it got deleted.
    P PrafullaVedante

    Ok. Thanks. When can I expect the reply. Will modify the article if needed.

    Prafulla Vedante

    Article Writing tutorial question

  • I submitted an article and it got deleted.
    P PrafullaVedante

    Now you cant see it because it is deleted now. Yesterday I published it and i did see "Pending" status before the article name on the link i just provided. It went for the approval. Its deleted, i received a notification for the deletion too. I just want to know why it was deleted, was there any problem with the article content ?

    Prafulla Vedante

    Article Writing tutorial question

  • I submitted an article and it got deleted.
    P PrafullaVedante

    This is the link [^]

    Prafulla Vedante

    Article Writing tutorial question

  • I submitted an article and it got deleted.
    P PrafullaVedante

    Yesterday i published an article. It went into the pending status. But today i can see it is got deleted. How to know why it was deleted ?

    Prafulla Vedante

    Article Writing tutorial question

  • What is the difference between following declarations ?
    P PrafullaVedante

    1 )

    int a;
    a = 5;

    2 )

    int a(5);

    3 )

    int a = 5;

    Prafulla Vedante

    C / C++ / MFC question

  • String Parsing in C++ (Simple Question)
    P PrafullaVedante

    Use the following line of code.

    dirPath =fullFilePath.substr(0,(fullFilePath.find_last_of(L"\\")));

    Prafulla Vedante

    C / C++ / MFC c++ json tutorial question

  • problem in retrieving "Time" from database using _RecordsetPtr
    P PrafullaVedante

    sorry jerry but it doesent work at my side it still gives me 00:00:00 . Data type of "StartTime" in database is "time"

    Prafulla Vedante

    COM database mysql com help question

  • problem in retrieving "Time" from database using _RecordsetPtr
    P PrafullaVedante

    Data type of the field "StartTime" is "time"

    Prafulla Vedante

    Database database mysql com help question

  • problem in retrieving "Time" from database using _RecordsetPtr
    P PrafullaVedante

    Here i am developing a application which require to fetch Time from database . But i am getting 00:00:00 AM as a time everytime. We are using MySql database. Code fragment is.... ======================================================== _variant_t vtValue; vtValue = RsSession->Fields->GetItem("StartTime")->GetValue(); COleDateTime d( vtValue ); sprintf( name, "%02d:%02d:%02d",d.GetHour(),d.GetMinute(),d.GetSecond() ); ======================================================== in "name" i am getting "00:00:00" ..everytime.. All the other values i am retrieving from ResultSetPtr are OK. Can any one tell me what is to be done ther .... Thanks in advance

    Prafulla Vedante e-mail : prafulla_v@asianitg.com

    Database database mysql com help question

  • problem in retrieving "Time" from database using _RecordsetPtr
    P PrafullaVedante

    Here i am developing a application which require to fetch Time from database . But i am getting 00:00:00 AM as a time everytime. We are using MySql database. Code fragment is.... ======================================================== _variant_t vtValue; vtValue = RsSession->Fields->GetItem("StartTime")->GetValue(); COleDateTime d( vtValue ); sprintf( name, "%02d:%02d:%02d",d.GetHour(),d.GetMinute(),d.GetSecond() ); ======================================================== in "name" i am getting "00:00:00" ..everytime.. All the other values i am retrieving from ResultSetPtr are OK. Can any one tell me what is to be done ther .... Thanks in advance Prafulla Vedante E-Mail : prafulla_v@asianitg.com

    COM database mysql com help 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