Cela fonctionne bien:Comment définir une grande constante avec une opération de bit sur ULong?
Public Const test As ULong = 1 << 30
Cela ne fonctionne pas bien:
Public Const test As ULong = 1 << 31
Il crée cette erreur:
Constant expression not representable in type 'ULong'
Comment puis-je faire fonctionner?
Cela fonctionne:
Public Const test As Long = 1 << 31
Mais je dois utiliser ULONG.
+1 et merci, bon à savoir! – Fredou