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

C / C++ / MFC

 
AnswerRe: How can I get the CWnd pointer from HANDLE hProcess Pin
Jose Lamas Rios11-Aug-05 3:51
Jose Lamas Rios11-Aug-05 3:51 
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 
( I'm having a bad week ..., so this might simply be a rant instead of a question )

I know that I cannot be certain that a value stored in a double will ever be internally represented like it is on paper, or as I type it in a text box and convert the string to a double.

for example for the value 2.5

I can either have ( not sure about the "real" decimal precision, so YMMV )

d = 2.50000000001;
or
d = 2.49999999999;

wich is acceptable if the desired precision is small.

now, the question is, and it's what is bugging me.

Is there a way to ensure better precision, or to round up to a precisison ?

also, can there be an issue when using the same DLL with debug or release version ? I have two different results with the same input when I build in debug or in release; I don't have access to the dll source code.

Thanks.

Max.



Maximilien Lincourt
Your Head A Splode - Strong Bad
GeneralRe: double rant/question ( and a smallish dll q. ) Pin
SunKnight011-Aug-05 3:08
SunKnight011-Aug-05 3:08 
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 

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.