programmation_windows_64bit
no way to compare when less than two revisions
Différences
Ci-dessous, les différences entre deux révisions de la page.
— | programmation_windows_64bit [2007/03/31 16:57] (Version actuelle) – créée thierry | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | ====== Windoz ====== | ||
+ | |||
+ | ===== Windoz 64 bit ===== | ||
+ | |||
+ | Déjà, j'ai peur. | ||
+ | |||
+ | ==== Introduc ==== | ||
+ | |||
+ | Liens: | ||
+ | |||
+ | * [[http:// | ||
+ | |||
+ | En résumé: | ||
+ | |||
+ | | ||
+ | Build > Configuration Manager > Solution Platform " | ||
+ | |||
+ | Ensuite, bien regarder dans la **Property Pages** et changer: | ||
+ | |||
+ | | ||
+ | |||
+ | Il n'est pas necessaire de remplacer les $(IntDir) ou $(OutDir) (et autres), si on applique bien les changements dés les " | ||
+ | |||
+ | Le truc c'est que: | ||
+ | |||
+ | | ||
+ | | ||
+ | |||
+ | Lorsqu' | ||
+ | |||
+ | | ||
+ | |||
+ | //On se demande pourquoi ce n'est pas comme cela par defaut...// | ||
+ | |||
+ | ==== Win32 vers x64 ==== | ||
+ | |||
+ | === Le GUI === | ||
+ | |||
+ | | Win32 | x64 | | ||
+ | | SetClassLong | SetClassLongPtr | | ||
+ | | GetClassLong | GetClassLongPtr | | ||
+ | | SetWindowLong | SetWindowLongPtr | | ||
+ | | GetWindowLong | GetWindowLongPtr | | ||
+ | |||
+ | | Win32 | x64 | | ||
+ | | GCL_MENUNAME | GCLP_MENUNAME | | ||
+ | | GCL_HBRBACKGROUND | GCLP_... | | ||
+ | | GCL_HCURSOR | GCLP_... | | ||
+ | | GCL_HICON | GCLP_... | | ||
+ | | GCL_HMODULE | GCLP_... | | ||
+ | | GCL_WNDPROC | GCLP_... | | ||
+ | | GCL_HICONSM | GCLP_... | | ||
+ | |||
+ | | Win32 | x64 | | ||
+ | | DWL_MSGRESULT | DWLP_MSGRESULT | | ||
+ | | DWL_DLGPROC | DWLP_... | | ||
+ | | DWL_USER | DWLP_... | | ||
+ | |||
+ | Les détails sont dans | ||
+ | |||
+ | winuser.h ... | ||
+ | |||
+ | Exemple: | ||
+ | |||
+ | # | ||
+ | |||
+ | # | ||
+ | if ( NULL != (pInfo = (INFO*)GetWindowLongPtr(hwnd, | ||
+ | #else | ||
+ | if ( NULL != (pInfo = (INFO*)GetWindowLong(hwnd, | ||
+ | # | ||
+ | |||
+ | Autre truc: Parfois **BOOL** devient **INT_PTR** ... | ||
+ | |||
+ | Exemple: | ||
+ | |||
+ | # | ||
+ | | ||
+ | #else | ||
+ | | ||
+ | # | ||
+ | |||
+ | Les exemples sont donnés avec "# | ||
+ | |||
+ | C'est extra... | ||
+ | |||
+ | ==== Desactiver le " | ||
+ | |||
+ | Demarrer **cmd** en tant qu' | ||
+ | |||
+ | | ||
+ | |||
+ | Et reboot ? | ||
+ | |||
+ | ==== Changer la description afficher au boot (menu choice) ==== | ||
+ | |||
+ | Dans **cmd** demarrer en tant qu' | ||
+ | |||
+ | | ||
+ | |||
+ | Et hop | ||
+ | |||
+ | ==== Rebooter vite en ligne de commande ==== | ||
+ | |||
+ | Dans **cmd**: | ||
+ | |||
+ | | ||
+ | |||
+ | Et zoou | ||
programmation_windows_64bit.txt · Dernière modification : 2007/03/31 16:57 de thierry