|
|||||||
|
|
|
![]() |
|
|
Strumenti |
|
|
#1 |
|
Member
Iscritto dal: Jan 2001
Città: PATAVIUM
Messaggi: 280
|
VC++ Cionci Help me
che errore c'è
Codice:
HWND getSystemTrayHwnd ()
{
HWND hwndTray;
//310
HWND hwndStartMenu = FindWindow ("ShellTrayWnd",NULL);
HWND hwndChild = GetWindow (hwndStartMenu,GW_CHILD);
int iClassName = 0;
char szClass [255];
do
{
iClassName= GetClassName (hwndChild,szClass,sizeof(szClass));
//320
if (strstr(szClass,"TrayNotifyWnD"))
{
hwndTray = hwndChild;
break;
}
else
{
hwndChild = GetWindow (hwndChild,GW_HWNDNEXT);
}while (true);
//330
}
return hwndTray;
}
error C2059: syntax error : 'return'
__________________
Salva il Pianeta |
|
|
|
|
|
#2 |
|
Member
Iscritto dal: Jan 2001
Città: PATAVIUM
Messaggi: 280
|
scusate trovato sono un imbecille
__________________
Salva il Pianeta |
|
|
|
|
|
#3 |
|
Senior Member
Iscritto dal: Apr 2001
Città: Lyon
Messaggi: 112
|
il while ... no ?
__________________
Be Glopil !!! Grand Fainéant !FANCAZZISTA MAXIMUS - Gran Modificatore della Sacra Santa Quinta Regola - Moderatore Voci Nel Web |
|
|
|
|
|
#4 |
|
Member
Iscritto dal: Jan 2001
Città: PATAVIUM
Messaggi: 280
|
avevo sbagliato a chiudere il ciclo non mi rendevo conto che c'era un'altra }
__________________
Salva il Pianeta |
|
|
|
|
| Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 18:41.



















