|
If you really need the milliseconds field then you should consider a function like timeGetTime [^], however it gives you just the system time.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
rp_suman wrote: "HH:MM:SS:FFF" where "FFF" is millisecond.
How to format like above using _ftime64() function?
See this sample code for _ftime [^]
I modified single line of code as,
printf( "The time is %.8s:%hu", &timeline[11], timebuffer.millitm);
if you want in a buffer try any formatting API that writes to buffer like wsprintf().
|
|
|
|
|
Thanks a lot for the help from you all!!
Best Regards,
Suman
--
"Programming is an art that fights back!"
|
|
|
|
|
Hi,
I have a structure with a CArray, Is it possible to write and read the stucture as a whole using ReadFile() and WriteFile() functions.
|
|
|
|
|
Nope: you need to implement serialization [^] to store and retrieve your struct.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
how to extract the OLE Object from ms-access table using win32 (NO MFC)?
|
|
|
|
|
Hello All,
I have set of BMP images in my D:\images folder. I need to display all the images one after the other in the dialog when the user clicks the play button.
Please let me know what kind of Activex control should be used , and how to proceed with work.
Thanking you …
Pruthvi G.
|
|
|
|
|
Use FindFirstFile once and FindNextFile to get file name each time in play button click and load that file using LoadImage and display it OnPaint.
|
|
|
|
|
If you are using MFC, check out CStatic::SetBitmap() .
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
You dont need to use of activex for bmp or jpg file if they are bmp files LoadImage is sufficient but if you have other formats CImage class is good for you,do you want to show them on dialog or a control?
|
|
|
|
|
Hi Everyone,
I have one problem that is i dont know how to connect ms access database in VC++ program.please tell me the procedure for connection.
please help me.
Thanks In Advance,
savitri
|
|
|
|
|
|
also have a look on DBFETCH sample (MFC Sample ).
It demonstrates connect to any database.
|
|
|
|
|
Here is another example.
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Codeproject has good articles about Access and other databases.
|
|
|
|
|
How do i implement flex grids in a vc application? is it compulsory to have a database for that?? and can we read the data from a file and display it in flex grid?
|
|
|
|
|
Chandrasekharanp wrote: How do i implement flex grids in a vc application?
are you aware of msflexgrid. if not then i can help you.
Chandrasekharanp wrote: is it compulsory to have a database for that??
NO.
Chandrasekharanp wrote: and can we read the data from a file and display it in flex grid?
Sure! Very comfortably possible.
--------------------------------------------
Suggestion to the members:
Please prefix your main thread subject with [SOLVED] if it is solved.
thanks.
chandu.
|
|
|
|
|
well all the three answers are quite confidence boosters. i am aware of the control... now will i get some links reqarding this? so that i can start using it.
|
|
|
|
|
please do give me some ideas how to load the file into the flexgrid.
|
|
|
|
|
Hi, sorry i dont know this is correct forum for my question .
I took shortcut of MSDEV.EXE from 2003 server machine. My PC is windows XP. when i create MFC and when i run it , it shows cannot open afxres.h file.
and also ntdll.dll is not found.
When i create console application, it shows that build option is disabled.
Even i can rebuild the project, but it does not create exe file.
WHats the problem?
I dont want to install VC++ in my system, i have idea to get shortcut from another machine. Thats why i chose this way. But it shows lot of errors. Pls help me??
Anu
|
|
|
|
|
|
When i paste this DLL to system32, it tells that the dll is already used by windows ,Do you want to replace it?
When i click Yes. It asked me to save in another name. I cannot paste that.
Anu
|
|
|
|
|
What platform u r working ...i think VC 2003 ...k no probs ..i ll help u
then try another way to install it ..
1st way:
paste that dll in system folder not system32 ann then u build it.
2nd way:
1. open VC++ 2003 programe files folder wer to install it ..
2. And then open Search box folder type that box *.dll
3. And then its shows some vc++ dlls, right clic that dlls click open containing folder
4. then u ll paste that ntdll.dll to this folder.
5. Copy that file path and saved into Visual Studio (tools----on the way)
i thnk it lll work
Nisha.S
|
|
|
|
|
See here[^] of course its not directly your answer but see this link because you must not copy system files.
|
|
|
|
|
is theere any apis to create a wall message which will broadcast to all the active users in a windows server ..
vineesh
|
|
|
|