Click here to Skip to main content
16,016,789 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How can I get the CWnd pointer from HANDLE hProcess Pin
Jose Lamas Rios11-Aug-05 5:39
Jose Lamas Rios11-Aug-05 5:39 
GeneralRe: How can I get the CWnd pointer from HANDLE hProcess Pin
ThatsAlok11-Aug-05 17:54
ThatsAlok11-Aug-05 17:54 
AnswerRe: How can I get the CWnd pointer from HANDLE hProcess Pin
ThatsAlok11-Aug-05 4:42
ThatsAlok11-Aug-05 4:42 
GeneralRe: How can I get the CWnd pointer from HANDLE hProcess Pin
Eytukan11-Aug-05 4:59
Eytukan11-Aug-05 4:59 
GeneralCustom control in docable window Pin
Lalitesh11-Aug-05 3:07
Lalitesh11-Aug-05 3:07 
GeneralTAPI problem Pin
ahme_ramadan11-Aug-05 2:55
ahme_ramadan11-Aug-05 2:55 
Generaldouble rant/question ( and a smallish dll q. ) Pin
Maximilien11-Aug-05 2:52
Maximilien11-Aug-05 2:52 
GeneralRe: double rant/question ( and a smallish dll q. ) Pin
SunKnight011-Aug-05 3:08
SunKnight011-Aug-05 3:08 
I don't think there is a way to ensure precision on the way the value is stored, unless the desired precision is small enough to convert it to an integer (so you would store 2.5 as 250 and know that you have to divide by 100 to get the actaul value), but you can implement the desired precision in your code checking, assuming the variance in the way the value is stored is less than the desired precision.

For example, if you are testing monetary values and you only need to be precise to 0.01 then equality is checked by something like fabs(a-b)<0.01 which is roughly equivalent to a==b. When checking for limits and you would ideally want, for example a<=100, just use a<100.01, etc.
GeneralRe: double rant/question ( and a smallish dll q. ) Pin
Achim Klein11-Aug-05 3:10
Achim Klein11-Aug-05 3:10 
GeneralRe: double rant/question ( and a smallish dll q. ) Pin
peterchen11-Aug-05 5:37
peterchen11-Aug-05 5:37 
GeneralFind the exe name when loading dll Pin
lynchspawn11-Aug-05 2:39
lynchspawn11-Aug-05 2:39 
GeneralRe: Find the exe name when loading dll Pin
SunKnight011-Aug-05 3:11
SunKnight011-Aug-05 3:11 
GeneralRe: Find the exe name when loading dll Pin
Don Miguel11-Aug-05 3:30
Don Miguel11-Aug-05 3:30 
GeneralRe: Find the exe name when loading dll Pin
lynchspawn11-Aug-05 3:37
lynchspawn11-Aug-05 3:37 
GeneralRe: Find the exe name when loading dll Pin
ThatsAlok11-Aug-05 4:34
ThatsAlok11-Aug-05 4:34 
GeneralRe: Find the exe name when loading dll Pin
cmk11-Aug-05 4:03
cmk11-Aug-05 4:03 
GeneralRe: Find the exe name when loading dll Pin
David Crow11-Aug-05 5:35
David Crow11-Aug-05 5:35 
GeneralVisual C++/MFC Thread Question Pin
suzie10011-Aug-05 2:37
suzie10011-Aug-05 2:37 
GeneralRe: Visual C++/MFC Thread Question Pin
Achim Klein11-Aug-05 2:47
Achim Klein11-Aug-05 2:47 
GeneralRe: Visual C++/MFC Thread Question Pin
koothkeeper11-Aug-05 3:46
professionalkoothkeeper11-Aug-05 3:46 
GeneralRe: Visual C++/MFC Thread Question Pin
Eytukan11-Aug-05 3:56
Eytukan11-Aug-05 3:56 
GeneralRe: Visual C++/MFC Thread Question Pin
Eytukan11-Aug-05 4:21
Eytukan11-Aug-05 4:21 
GeneralRe: Visual C++/MFC Thread Question Pin
ThatsAlok11-Aug-05 4:48
ThatsAlok11-Aug-05 4:48 
GeneralRe: Visual C++/MFC Thread Question Pin
Ravi Bhavnani11-Aug-05 11:08
professionalRavi Bhavnani11-Aug-05 11:08 
GeneralRe: Visual C++/MFC Thread Question Pin
suzie10011-Aug-05 13:50
suzie10011-Aug-05 13:50 

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.