Click here to Skip to main content
15,886,258 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Why can't I initialize ("initializer element is not constant") a struct with a truncated function pointer? Pin
Richard MacCutchan22-Oct-19 23:35
mveRichard MacCutchan22-Oct-19 23:35 
GeneralRe: Why can't I initialize ("initializer element is not constant") a struct with a truncated function pointer? Pin
arnold_w23-Oct-19 0:49
arnold_w23-Oct-19 0:49 
GeneralRe: Why can't I initialize ("initializer element is not constant") a struct with a truncated function pointer? Pin
Richard MacCutchan23-Oct-19 1:29
mveRichard MacCutchan23-Oct-19 1:29 
QuestionRe: Why can't I initialize ("initializer element is not constant") a struct with a truncated function pointer? Pin
CPallini23-Oct-19 1:25
mveCPallini23-Oct-19 1: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 2:21
leon de boer23-Oct-19 2:21 
GeneralRe: Why can't I initialize ("initializer element is not constant") a struct with a truncated function pointer? Pin
arnold_w23-Oct-19 2:26
arnold_w23-Oct-19 2: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 2:30
leon de boer23-Oct-19 2:30 
QuestionAMD or Intel Pin
_Flaviu22-Oct-19 9:00
_Flaviu22-Oct-19 9: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:
C++
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:
C++
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 10:00
David Crow22-Oct-19 10:00 
AnswerRe: AMD or Intel Pin
_Flaviu22-Oct-19 19:35
_Flaviu22-Oct-19 19:35 
GeneralRe: AMD or Intel Pin
Richard MacCutchan22-Oct-19 21:42
mveRichard MacCutchan22-Oct-19 21:42 
GeneralRe: AMD or Intel Pin
_Flaviu22-Oct-19 22:53
_Flaviu22-Oct-19 22:53 
GeneralRe: AMD or Intel Pin
Richard MacCutchan22-Oct-19 23:12
mveRichard MacCutchan22-Oct-19 23:12 
GeneralRe: AMD or Intel Pin
_Flaviu23-Oct-19 0:39
_Flaviu23-Oct-19 0:39 
GeneralRe: AMD or Intel Pin
Richard MacCutchan23-Oct-19 0:52
mveRichard MacCutchan23-Oct-19 0:52 
GeneralRe: AMD or Intel Pin
_Flaviu23-Oct-19 1:28
_Flaviu23-Oct-19 1:28 
GeneralRe: AMD or Intel Pin
Richard MacCutchan23-Oct-19 1:31
mveRichard MacCutchan23-Oct-19 1:31 
GeneralRe: AMD or Intel Pin
_Flaviu23-Oct-19 1:51
_Flaviu23-Oct-19 1:51 
GeneralRe: AMD or Intel Pin
Richard MacCutchan23-Oct-19 2:22
mveRichard MacCutchan23-Oct-19 2:22 
GeneralRe: AMD or Intel Pin
_Flaviu23-Oct-19 2:33
_Flaviu23-Oct-19 2:33 
GeneralRe: AMD or Intel Pin
Richard MacCutchan23-Oct-19 4:42
mveRichard MacCutchan23-Oct-19 4:42 
GeneralRe: AMD or Intel Pin
_Flaviu23-Oct-19 6:53
_Flaviu23-Oct-19 6:53 
GeneralRe: AMD or Intel Pin
Richard MacCutchan23-Oct-19 20:45
mveRichard MacCutchan23-Oct-19 20:45 
SuggestionRe: AMD or Intel Pin
David Crow24-Oct-19 15:26
David Crow24-Oct-19 15:26 
GeneralRe: AMD or Intel Pin
_Flaviu24-Oct-19 19:58
_Flaviu24-Oct-19 19: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.