Click here to Skip to main content
15,904,297 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Redirect to my struct Pin
Afzaal Ahmad Zeeshan7-Jan-20 22:11
professionalAfzaal Ahmad Zeeshan7-Jan-20 22:11 
GeneralRe: Redirect to my struct Pin
_Flaviu7-Jan-20 22:38
_Flaviu7-Jan-20 22:38 
GeneralRe: Redirect to my struct Pin
_Flaviu8-Jan-20 0:29
_Flaviu8-Jan-20 0:29 
GeneralRe: Redirect to my struct Pin
Richard MacCutchan8-Jan-20 2:21
mveRichard MacCutchan8-Jan-20 2:21 
GeneralRe: Redirect to my struct Pin
_Flaviu8-Jan-20 3:15
_Flaviu8-Jan-20 3:15 
GeneralRe: Redirect to my struct Pin
k50548-Jan-20 3:38
mvek50548-Jan-20 3:38 
GeneralRe: Redirect to my struct Pin
_Flaviu8-Jan-20 18:59
_Flaviu8-Jan-20 18:59 
GeneralRe: Redirect to my struct Pin
Richard MacCutchan8-Jan-20 3:44
mveRichard MacCutchan8-Jan-20 3:44 
GeneralRe: Redirect to my struct Pin
leon de boer8-Jan-20 6:00
leon de boer8-Jan-20 6:00 
GeneralRe: Redirect to my struct Pin
_Flaviu8-Jan-20 7:09
_Flaviu8-Jan-20 7:09 
AnswerRe: Redirect to my struct Pin
Richard MacCutchan7-Jan-20 22:14
mveRichard MacCutchan7-Jan-20 22:14 
AnswerRe: Redirect to my struct Pin
phil.o7-Jan-20 22:33
professionalphil.o7-Jan-20 22:33 
GeneralRe: Redirect to my struct Pin
_Flaviu7-Jan-20 22:43
_Flaviu7-Jan-20 22:43 
AnswerRe: Redirect to my struct Pin
k50548-Jan-20 4:00
mvek50548-Jan-20 4:00 
GeneralRe: Redirect to my struct Pin
_Flaviu8-Jan-20 7:18
_Flaviu8-Jan-20 7:18 
AnswerRe: Redirect to my struct Pin
Stefan_Lang8-Jan-20 21:44
Stefan_Lang8-Jan-20 21:44 
Questionerror C3861: 'major': identifier not found Pin
_Flaviu6-Jan-20 22:29
_Flaviu6-Jan-20 22:29 
AnswerRe: error C3861: 'major': identifier not found Pin
Victor Nijegorodov6-Jan-20 23:49
Victor Nijegorodov6-Jan-20 23:49 
GeneralRe: error C3861: 'major': identifier not found Pin
_Flaviu7-Jan-20 0:29
_Flaviu7-Jan-20 0:29 
GeneralRe: error C3861: 'major': identifier not found Pin
Victor Nijegorodov7-Jan-20 0:40
Victor Nijegorodov7-Jan-20 0:40 
GeneralRe: error C3861: 'major': identifier not found Pin
_Flaviu7-Jan-20 1:07
_Flaviu7-Jan-20 1:07 
GeneralRe: error C3861: 'major': identifier not found Pin
Victor Nijegorodov7-Jan-20 1:13
Victor Nijegorodov7-Jan-20 1:13 
AnswerRe: error C3861: 'major': identifier not found Pin
Stefan_Lang8-Jan-20 21:58
Stefan_Lang8-Jan-20 21:58 
It looks like you're trying to use a GCC/linux function under Windows. Does that even make any sense? I mean, I've seen that you got it to compile now, but that doesn't mean your program will do what you expect it to!

I'm not familiar with gcc/linux and these functions, but if what Victor posted corresponds to the original implementation, it looks like dev is some version identifier composed of a major and minor version number. The way such versions are composed in Windows may be entirely different! There's no common scheme for it between different applications, compilers, or the OS itself. So don't expect any correct results from a Linux implementation!

To properly solve this issue you should find out who uses these functions and what are they expected to return. Only then will you be able to implement a proper replacement. Or, better, find the corresponding functions provided in Windows.
GOTOs are a bit like wire coat hangers: they tend to breed in the darkness, such that where there once were few, eventually there are many, and the program's architecture collapses beneath them. (Fran Poretto)

GeneralRe: error C3861: 'major': identifier not found Pin
_Flaviu8-Jan-20 22:04
_Flaviu8-Jan-20 22:04 
GeneralRe: error C3861: 'major': identifier not found Pin
Stefan_Lang8-Jan-20 22:40
Stefan_Lang8-Jan-20 22:40 

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.