|
Hi,
How to get MODEMDEVCAPS by calling GetCommProperties ?
MDN says that COMMPROP.wcProvChar contains MODEMDEVCAPS
wcProvChar is widechar, How to get MODEMDEVCAPS structure from COMMPROP.wcProvChar ?
Thanks,
Perumalla Koteswara Rao, (B.Tech)
Hyderabad, Inida
|
|
|
|
|
Can I using CTreeCtrl show only some folders, for example:
Show all folders in (C:\\winnt\)
excluding rest disks etc ... ?
thank you!
==============
www.design.kg
|
|
|
|
|
|
Offcourse u can, if you are programming the TreeCtrl
yourself. Can u be more specific abt ur requirements ?
|
|
|
|
|
But how to do it?
All samples shown all tree(desctop,c...), and I need only specified, maybe like in Outlook(only local folders) without up folders ...
like C:\\somefolder\someotherfolder\
must be a root in TreeCtrl ...
can anybody send me a sample, please?
==============
www.design.kg
|
|
|
|
|
HI,
all
I am interested in Genutella which is a P2P communication protocol.But now I did not know how to begin
my study on Genutella .
So I ask help from you . Who can give me some useful
Urls where I can download the VC souce code as well as the executable Genutella Application itselsf ?
Your advanced help will be appreciated !
Regards.
Marion.
|
|
|
|
|
|
I have download some source code,such as Morpheus,Gnucleus
from that site. But I can not build and run them in VC IDE .
I have search for long time ,but find no source code
which can be built correctly .
Can you give me some useful url ??
thx.
|
|
|
|
|
I've lost Class View and i would like to know what should i do to regenerate it.
Wish for help!
rechi
|
|
|
|
|
delete *.ncb and *.opt files
|
|
|
|
|
If the above doesn't work, try with *.clw file. Delete it, or rename it to be something *_bak.clw. Then press Ctrl+W in VC++ 6.0 to rebuild the *.clw file.
|
|
|
|
|
Make your .ncb file read/write.
Michel
It is a lovely language, but it takes a very long time to say anything in it, because we do not say anything in it, unless it is worth taking a very long time to say, and to listen to.
- TreeBeard
|
|
|
|
|
hi
can we use the class that is used in console programming in MFC programming.
Thanks
|
|
|
|
|
Only some question: which class, own written or system? What API functions does it use?
If class does not use any Console functions it can be freely used in MFC.
|
|
|
|
|
Of course you can!
Maxwell Chen
People say "No news is good news". Then, no bug is good bug!?
|
|
|
|
|
ok, i see. Thanks heap for that.
|
|
|
|
|
Kann mir jemand 'n Tip geben, wie ich die Date-/Timepicker so konfigurieren kann, das jeweils nur die Tage, Monate bzw. Jahre angezeigt werden
und nicht der ganze Kalender?????
|
|
|
|
|
Try say that again in english??
Thank you very much,
John
Aloha from Hawaii
|
|
|
|
|
Hm, looks like he or she has too much problems to see that this is an English speaking forum
"Can someone give me a tip how to configure the Date/Timepicker control in a way that it shows only days, month or years, not the whole calendar?"
|
|
|
|
|
Beim Versuch eine Access-DB in eine MDI-Anwendung (über RecordSet)
einzubinden, bekomme ich immer die Fehlermeldung: Der ODBC-Treiber
unterstützt keine Dynasets.
Bei der Anlage des RecordSets wurde die DB-Tab korrekt als Dynaset eingebunden.
Bei einem anderen SDI-Projekt war dies mit einer ähnlich strukturierten
Access-DB, mit den gleichen ODBC-Treibern problemlos möglich.
Bin für jede Lösung dankbar...
|
|
|
|
|
Try English.
Aizik Yair
Software Engineer
|
|
|
|
|
I try to translate it.
"During the attempt to access a Access-DB in a MDI application (via Recordset) I always get the error message: The ODBC driver doesn't supports dynasets.
During the creation of the recordset the DB-Tab is included correct as dynaset [Huh? What does this means? Okay, I don't use ClassWizard, I write the code by myself.] In a different SDI project it was possible without any problems with an Access-DB with the same ODBC drivers.
TIA"
|
|
|
|
|
i am trying to use qsort so that i can sort out y from highest to lowest. can anyone help me? anyways, thank you very much.
struct SPRITE
{
int x;
int y;
};
// Maximum number of sprites
const int N_SPRITES = 10;
// Array of sprites
SPRITE sprites[N_SPRITES];
int Compare (const void *one, const void *two);
/* Pre: Enter value for one and two
* Post: Compares all of both strings
*/
int main()
{
int value;
for (int i=0; i<n_sprites; i++)
="" {
="" cout="" <<="" "enter="" a="" value:="" ";
="" cin="">> value;
sprites[i].y = value;
}
qsort(sprites, N_SPRITES, sizeof(int), Compare);
for (i=0; i
|
|
|
|
|
for (int i=0; i // ERROR
{
...
}
for ( int i=0 ; i < N_SPRITES ; i++ ) // GOOD
{
...
}
Aizik Yair
Software Engineer
|
|
|
|
|
First:
John Cruz wrote:
qsort(sprites, N_SPRITES, sizeof(int), Compare);
should be qsort(sprites, N_SPRITES, sizeof(SPRITE), Compare);
Second:
John Cruz wrote:
int Compare (const void *one, const void *two)
{
return strcmp((char*)one, (char*)two);
}
one and two are pointing to SPRITE objects. So it should be something like:
return strcmp(((SPRITE*)one).y, ((SPRITE*)two).y); that is if the y member is a char*.
|
|
|
|