cs_shining
Messages postés304Date d'inscriptionlundi 30 décembre 2002StatutMembreDernière intervention10 mars 2012 28 janv. 2003 à 00:08
voici quelques infos de conversion C++_--> VB en complement
ATOM : ByVal myvariable As Integer
BOOL : ByVal myvariable As Long
BYTE : ByVal myvariable As Byte
CHAR : ByVal myvariable As Byte
COLORREF: ByVal myvariable As Long
DWORD : ByVal myvariable As Long
HWND, HDC, HMENU: ByVal myvariable As Long(oui le handle est exprimer en Long)
INT, UINT : ByVal myvariable As Long
LONG : ByVal myvariable As Long (logique lol)
LPARAM : ByVal myvariable As Long
LPDWORD : myvariable As Long
LPINT, LPUINT : myvariable As Long
LPRECT : myvariable As type
LPSTR, LPCSTR ByVal myvariable As String
LPVOID :byval myvariable As Any
LPWORD : myvariable As Integer
LRESULT : ByVal myvariable As Long
NULL :myvariable As Any ou alors ByVal myvariable As Long ou Byval 0& ou enfin vbNullString
SHORT : ByVal myvariable As Integer
VOID : c'est une procedure "Sub" et toute les autres du grenre int myresult(int *a) c une "function" puisqu'elle renvoi un resultat contrairement a un VOID qui lui ne renvoi pas de resulat .
WORD : ByVal myvariable As Integer
WPARAM : ByVal myvariable As Long
voila c pas une liste exhausif mais ca peut aider quelques personnes :)
cs_madVinz
Messages postés48Date d'inscriptionlundi 22 octobre 2001StatutMembreDernière intervention 6 août 2002 11 juil. 2002 à 00:49
Très pratique quand on veut coder avec plusieurs langages :)
cs_Arnaud
Messages postés33Date d'inscriptiondimanche 11 mars 2001StatutMembreDernière intervention11 juillet 2002 10 juil. 2002 à 22:56
28 janv. 2003 à 00:08
ATOM : ByVal myvariable As Integer
BOOL : ByVal myvariable As Long
BYTE : ByVal myvariable As Byte
CHAR : ByVal myvariable As Byte
COLORREF: ByVal myvariable As Long
DWORD : ByVal myvariable As Long
HWND, HDC, HMENU: ByVal myvariable As Long(oui le handle est exprimer en Long)
INT, UINT : ByVal myvariable As Long
LONG : ByVal myvariable As Long (logique lol)
LPARAM : ByVal myvariable As Long
LPDWORD : myvariable As Long
LPINT, LPUINT : myvariable As Long
LPRECT : myvariable As type
LPSTR, LPCSTR ByVal myvariable As String
LPVOID :byval myvariable As Any
LPWORD : myvariable As Integer
LRESULT : ByVal myvariable As Long
NULL :myvariable As Any ou alors ByVal myvariable As Long ou Byval 0& ou enfin vbNullString
SHORT : ByVal myvariable As Integer
VOID : c'est une procedure "Sub" et toute les autres du grenre int myresult(int *a) c une "function" puisqu'elle renvoi un resultat contrairement a un VOID qui lui ne renvoi pas de resulat .
WORD : ByVal myvariable As Integer
WPARAM : ByVal myvariable As Long
voila c pas une liste exhausif mais ca peut aider quelques personnes :)
11 juil. 2002 à 00:49
10 juil. 2002 à 22:56
DjStEy