Erreur de compliation: nom ambigu détecté : CreateRoundRectRgn
Rido159
Messages postés22Date d'inscriptionlundi 3 septembre 2007StatutMembreDernière intervention23 mai 2012
-
7 avril 2008 à 15:34
Rido159
Messages postés22Date d'inscriptionlundi 3 septembre 2007StatutMembreDernière intervention23 mai 2012
-
8 avril 2008 à 08:46
Bonjour
je suis débutant en vb ,j 'essaye de crée un client d un chat vocal pour un serveur
j'ai rencontré un probléme genre: Erreur de compliation: nom ambigu détecté : CreateRoundRectRgn
Corrigé moi SVP
Merci bcp
Voilà ma source
<hr />
'VA: 4041A0
Private Declare Function DrawState Lib "user32" Alias "DrawStateA" (ByVal hDC As Long, ByVal hBrush As Long, ByVal lpDrawStateProc As Long, ByVal lParam As Long, ByVal wParam As Long, ByVal n1 As Long, ByVal n2 As Long, ByVal n3 As Long, ByVal n4 As Long, ByVal un As Long) As Long
'VA: 404150
Private Declare Function DrawTextEx Lib "user32" Alias "DrawTextExA" (ByVal hDC As Long, ByVal lpsz As String, ByVal n As Long, lpRect As RECT, ByVal un As Long, lpDrawTextParams As DRAWTEXTPARAMS) As Long
'VA: 40410C
Private Declare Function SetCapture Lib "user32" (ByVal hWnd As Long) As Long
'VA: 4040C8
Private Declare Function GetCursorPos Lib "user32" (lpPoint As POINTAPI) As Long
'VA: 404080
Private Declare Function WindowFromPoint Lib "user32" (ByVal xPoint As Long, ByVal yPoint As Long) As Long
'VA: 404038
Private Declare Function SetWindowRgn Lib "user32" (ByVal hWnd As Long, ByVal hRgn As Long, ByVal bRedraw As Boolean) As Long
'VA: 403FF0
Private Declare Function CreateRoundRectRgn Lib "gdi32" (ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long, ByVal X3 As Long, ByVal Y3 As Long) As Long
'VA: 403FA4
Private Declare Function CreateRoundRectRgn Lib "gdi32" (ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long, ByVal X3 As Long, ByVal Y3 As Long) As Long
'VA: 403F54
Private Declare Function GetSysColor Lib "user32" (ByVal nIndex As Long) As Long
cs_casy
Messages postés7741Date d'inscriptionmercredi 1 septembre 2004StatutMembreDernière intervention24 septembre 201440 7 avril 2008 à 16:27
VA: 4041A0
Private Declare Function DrawState Lib "user32" Alias
"DrawStateA" (ByVal hDC As Long, ByVal hBrush As Long, ByVal
lpDrawStateProc As Long, ByVal lParam As Long, ByVal wParam As Long,
ByVal n1 As Long, ByVal n2 As Long, ByVal n3 As Long, ByVal n4 As Long,
ByVal un As Long) As Long
'VA: 404150
Private Declare Function
DrawTextEx Lib "user32" Alias "DrawTextExA" (ByVal hDC As Long, ByVal
lpsz As String, ByVal n As Long, lpRect As RECT, ByVal un As Long,
lpDrawTextParams As DRAWTEXTPARAMS) As Long
'VA: 40410C
Private Declare Function SetCapture Lib "user32" (ByVal hWnd As Long) As Long
'VA: 4040C8
Private Declare Function GetCursorPos Lib "user32" (lpPoint As POINTAPI) As Long
'VA: 404080
Private Declare Function WindowFromPoint Lib "user32" (ByVal xPoint As Long, ByVal yPoint As Long) As Long
'VA: 404038
Private Declare Function SetWindowRgn Lib "user32" (ByVal hWnd As Long, ByVal hRgn As Long, ByVal bRedraw As Boolean) As Long
'VA: 403FF0
Private
Declare Function CreateRoundRectRgn Lib "gdi32" (ByVal X1 As Long,
ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long, ByVal X3 As Long,
ByVal Y3 As Long) As Long
'VA: 403FA4
Private Declare Function
CreateRoundRectRgn Lib "gdi32" (ByVal X1 As Long, ByVal Y1 As Long,
ByVal X2 As Long, ByVal Y2 As Long, ByVal X3 As Long, ByVal Y3 As Long)
As Long
'VA: 403F54
Private Declare Function GetSysColor Lib "user32" (ByVal nIndex As Long) As Long
Rido159
Messages postés22Date d'inscriptionlundi 3 septembre 2007StatutMembreDernière intervention23 mai 2012 8 avril 2008 à 08:46
bonjour
oui Renfield ça bloque mais autre part je crois que c'est mieu de laissé tombé ma source est bouré
d'érreur
ce que je voulé fr c'est ce conecté dans un chat dpuis un exe j'ai ocx du chat "le client" je l insert dans le form
et j'ajoute de chan de text " login & password" et une command "connect"