Click here to Skip to main content
14,360,812 members

C / C++ / MFC

 
GeneralRe: Why can't I initialize ("initializer element is not constant") a struct with a truncated function pointer? Pin
Richard MacCutchan23-Oct-19 0:35
protectorRichard MacCutchan23-Oct-19 0:35 
GeneralRe: Why can't I initialize ("initializer element is not constant") a struct with a truncated function pointer? Pin
arnold_w23-Oct-19 1:49
memberarnold_w23-Oct-19 1:49 
GeneralRe: Why can't I initialize ("initializer element is not constant") a struct with a truncated function pointer? Pin
Richard MacCutchan23-Oct-19 2:29
protectorRichard MacCutchan23-Oct-19 2:29 
QuestionRe: Why can't I initialize ("initializer element is not constant") a struct with a truncated function pointer? Pin
CPallini23-Oct-19 2:25
mveCPallini23-Oct-19 2:25 
AnswerRe: Why can't I initialize ("initializer element is not constant") a struct with a truncated function pointer? Pin
leon de boer23-Oct-19 3:21
memberleon de boer23-Oct-19 3:21 
GeneralRe: Why can't I initialize ("initializer element is not constant") a struct with a truncated function pointer? Pin
arnold_w23-Oct-19 3:26
memberarnold_w23-Oct-19 3:26 
GeneralRe: Why can't I initialize ("initializer element is not constant") a struct with a truncated function pointer? Pin
leon de boer23-Oct-19 3:30
memberleon de boer23-Oct-19 3:30 
QuestionAMD or Intel Pin
_Flaviu22-Oct-19 10:00
member_Flaviu22-Oct-19 10:00 
Is there any reliable location in windows registry that tell if the architecture of the machine is AMD or Intel ? If there is, where is this location ?

I know this location:
HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0

and Identifier key, but my machine is Intel ... and I don't know what would be this value on AMD case ... is this a reliable location ?

P.S. Also, I know that I could find here:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment

PROCESSOR_ARCHITECTURE has AMD64 value, even if I have Intel machine ...

modified 22-Oct-19 15:17pm.

QuestionRe: AMD or Intel Pin
David Crow22-Oct-19 11:00
memberDavid Crow22-Oct-19 11:00 
AnswerRe: AMD or Intel Pin
_Flaviu22-Oct-19 20:35
member_Flaviu22-Oct-19 20:35 
GeneralRe: AMD or Intel Pin
Richard MacCutchan22-Oct-19 22:42
protectorRichard MacCutchan22-Oct-19 22:42 
GeneralRe: AMD or Intel Pin
_Flaviu22-Oct-19 23:53
member_Flaviu22-Oct-19 23:53 
GeneralRe: AMD or Intel Pin
Richard MacCutchan23-Oct-19 0:12
protectorRichard MacCutchan23-Oct-19 0:12 
GeneralRe: AMD or Intel Pin
_Flaviu23-Oct-19 1:39
member_Flaviu23-Oct-19 1:39 
GeneralRe: AMD or Intel Pin
Richard MacCutchan23-Oct-19 1:52
protectorRichard MacCutchan23-Oct-19 1:52 
GeneralRe: AMD or Intel Pin
_Flaviu23-Oct-19 2:28
member_Flaviu23-Oct-19 2:28 
GeneralRe: AMD or Intel Pin
Richard MacCutchan23-Oct-19 2:31
protectorRichard MacCutchan23-Oct-19 2:31 
GeneralRe: AMD or Intel Pin
_Flaviu23-Oct-19 2:51
member_Flaviu23-Oct-19 2:51 
GeneralRe: AMD or Intel Pin
Richard MacCutchan23-Oct-19 3:22
protectorRichard MacCutchan23-Oct-19 3:22 
GeneralRe: AMD or Intel Pin
_Flaviu23-Oct-19 3:33
member_Flaviu23-Oct-19 3:33 
GeneralRe: AMD or Intel Pin
Richard MacCutchan23-Oct-19 5:42
protectorRichard MacCutchan23-Oct-19 5:42 
GeneralRe: AMD or Intel Pin
_Flaviu23-Oct-19 7:53
member_Flaviu23-Oct-19 7:53 
GeneralRe: AMD or Intel Pin
Richard MacCutchan23-Oct-19 21:45
protectorRichard MacCutchan23-Oct-19 21:45 
SuggestionRe: AMD or Intel Pin
David Crow24-Oct-19 16:26
memberDavid Crow24-Oct-19 16:26 
GeneralRe: AMD or Intel Pin
_Flaviu24-Oct-19 20:58
member_Flaviu24-Oct-19 20:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.