|
|
Hi All
I did it.Thx's for help..
|
|
|
|
|
The callback function is always used,but I wanna know its definition,function and so on.Can you give me some examples about it?
Thanks.
|
|
|
|
|
Have you seen here[^]?
Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche
.·´¯`·->Rajesh<-·´¯`·.
[Microsoft MVP - Visual C++]
|
|
|
|
|
|
I use CToolBarCtrl to create a toolbar in the dialog.
There are 5 buttons in the toolbar.
Initially I set the 3rd button checked.
But it always make the left most button focus.(Highlightly?)I don't want this.
|
|
|
|
|
Hope somebody help me solve this.
|
|
|
|
|
hi every one
how can i declare Default parameter in ActiveX methodes?
with special thanks
|
|
|
|
|
hi
in my application i have one dll ,and 3 views.
when user clicks on one view --dll function is called(mapped to dll fun)
from that all function to i nead to send message to that view..how to doit can any one give hint....
|
|
|
|
|
Hi all,
In my sdi application i have various threads running together and whenever some problem occur i close all thread and a modal dialog is displayed. Now my problem is if suppose 16 threads are running together a dialog box is displayed and when i click cancel or ok one by one 16 same dialog boxes are displayed. Now what i want is only one instance of that dialogbox should be displayed not those 16 instances.... how can i do this...
can anybody help me in this??
thanks in adavance
|
|
|
|
|
Simple Solution is use flag.
when you show the dialog for first time set the flag to true and then every time check for this flag before showing dialog. If flag is true don't show the dialog..
I hope that makes sense.
Regards,
Sandip.
|
|
|
|
|
ya it do make sense...
thanks it solved my problem
|
|
|
|
|
Hi ,
I developed an VC application which communicates with my hardware
with baudrate 1,15200.
I observered that my application takes much time to transfer the data,
when compared to Hyperterminal.(probably 10 times)
Is it because of my coding problems or problem with windows application?
Do I need to do optimization.But still i dont think i can increase the speed,
by almost 10 times.
Why hyperterminal is taking lesser time?
Please clarify.
Regards,
Sunil Kumar
|
|
|
|
|
You are most likely using non-overlapped mode.
The consequence of this is that the driver only handles one IRP at a time.
This means that if you've issued a read request with a call to ::ReadFile() , the driver will be "blocked" until the read request times out and a write request can be handled. How long time it takes depends on how you've set up the comm timeouts with a call to ::SetCommTimeouts() .
"It's supposed to be hard, otherwise anybody could do it!" - selfquote "High speed never compensates for wrong direction!" - unknown
|
|
|
|
|
yeah, im using non overlapped mode only.
I read that overlapped mode will have many overheads.
Which mode is efficient??
Regards,
Sunil Kumar
|
|
|
|
|
sunilkumar.d wrote: I read that overlapped mode will have many overheads.
What kind of overhead and what would be the impact?
Forget about that. There might be some kind of overhead in theory, but in practice this overhead is presumably in the nano-/micro-second scale. Compared to calls that block for many milliseconds or even seconds, the possible overhead that is added by the use of overlapped I/O is ridiculously small.
In short: to be efficient you have to use overlapped mode.
"It's supposed to be hard, otherwise anybody could do it!" - selfquote "High speed never compensates for wrong direction!" - unknown
|
|
|
|
|
how to get Operating system name programmatically c++
and get installed office version
|
|
|
|
|
|
Actualy i want the name of os installed.
|
|
|
|
|
Does this page[^] help??
Regards,
Sandip.
|
|
|
|
|
Thanx sandy.
I just got it in msdn
but is there any other method to get that?
|
|
|
|
|
There's sample code if you follow the link provided to you earlier...
Getting the System Version[^]
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
onlyjaypatel wrote: Actualy i want the name of os installed.
You must be able to make that out from OSVERSIONINFOEX[^] structure that you pass on to GetVersionEx(). Please search for examples.
Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche
.·´¯`·->Rajesh<-·´¯`·.
[Microsoft MVP - Visual C++]
|
|
|
|
|
Thanx dear.
I just got it in msdn
but is there any other method to get that
|
|
|
|
|
use WMI
Win32_OperatingSystem
how to use WMI in CPP you can find in MSDN
|
|
|
|