Click here to Skip to main content
15,891,700 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: line on image Pin
Pete O'Hanlon2-Apr-07 1:11
mvePete O'Hanlon2-Apr-07 1:11 
AnswerRe: line on image Pin
Jaiprakash M Bankolli3-Apr-07 23:06
Jaiprakash M Bankolli3-Apr-07 23:06 
QuestionUsing SendMessage LB_GETTEXT in .NET CF 1.0 (Visual Basic 2005) Pin
powellandy1-Apr-07 12:21
powellandy1-Apr-07 12:21 
Questionis it possible to convert VS C++ project to VB.NET? Pin
honda15i1-Apr-07 4:58
honda15i1-Apr-07 4:58 
AnswerRe: is it possible to convert VS C++ project to VB.NET? Pin
Dave Kreskowiak1-Apr-07 7:14
mveDave Kreskowiak1-Apr-07 7:14 
QuestionRe: is it possible to convert VS C++ project to VB.NET? Pin
honda15i1-Apr-07 23:40
honda15i1-Apr-07 23:40 
AnswerRe: is it possible to convert VS C++ project to VB.NET? Pin
Dave Kreskowiak2-Apr-07 1:07
mveDave Kreskowiak2-Apr-07 1:07 
Questionpointer to member function inside the class Pin
Dorel Guzun30-Mar-07 13:18
Dorel Guzun30-Mar-07 13:18 
I'm a newbie. Please, take it easy on me if my question is too low of a level.
I've got this C-code that works fine. I want to bring it into MFC and I decided to enclose most of the functions inside a class. There are functions that take in as arguments pointers to other functions, and I have no problems understanding how it works in C although I am not the savvy programmer.
When I try to use those functions inside the class I gett errors.
For example, I have one function (called "danger") which I put inside the class and what it does it simply takes in a double and returns a "corrected" double. Then I have another member function in the same class that takes in as the first argument the pointer to the member function mentioned above (that is to "danger"). So, the first argument for the latter function is a *double.
When i compile the compiler (.NET Visual C++) tells me that it cannot convert a double (which is basically what "danger" returns) to a (__cdecl*)(double). I sort of see why the compiler tells me that, but I wonder how do I "fool" the compiler to see that it is a pointer to a function and not just a variable of type double.
please help me. I've looked through all the threads on pointers to member functions and I could not quite figure it out. Most of the threads talk about how to use the pointers to member functions when passing them as arguments to non-member functions. Or else, I am not that savvy yet.

Thanks beforehand.


Dig
Questionn-tier design and when to add additional assemblies Pin
Edward Steward30-Mar-07 1:21
Edward Steward30-Mar-07 1:21 
AnswerRe: n-tier design and when to add additional assemblies Pin
Colin Angus Mackay30-Mar-07 1:32
Colin Angus Mackay30-Mar-07 1:32 
GeneralRe: n-tier design and when to add additional assemblies Pin
Edward Steward30-Mar-07 2:39
Edward Steward30-Mar-07 2:39 
GeneralRe: n-tier design and when to add additional assemblies Pin
Colin Angus Mackay30-Mar-07 4:18
Colin Angus Mackay30-Mar-07 4:18 
GeneralRe: n-tier design and when to add additional assemblies Pin
Edward Steward30-Mar-07 4:37
Edward Steward30-Mar-07 4:37 
GeneralRe: n-tier design and when to add additional assemblies Pin
Pete O'Hanlon30-Mar-07 5:18
mvePete O'Hanlon30-Mar-07 5:18 
AnswerRe: n-tier design and when to add additional assemblies Pin
Colin Angus Mackay30-Mar-07 1:37
Colin Angus Mackay30-Mar-07 1:37 
Questionvery urgent GPS data [modified] Pin
navyasri29-Mar-07 22:38
navyasri29-Mar-07 22:38 
AnswerRe: very urgent GPS data Pin
Aaron VanWieren4-Apr-07 5:01
Aaron VanWieren4-Apr-07 5:01 
Questionopen a file using openfiledialog box Pin
navyasri29-Mar-07 20:34
navyasri29-Mar-07 20:34 
AnswerRe: open a file using openfiledialog box Pin
A*****29-Mar-07 21:20
A*****29-Mar-07 21:20 
Questionmouse movements Pin
navyasri29-Mar-07 20:29
navyasri29-Mar-07 20:29 
AnswerRe: mouse movements Pin
A*****29-Mar-07 21:36
A*****29-Mar-07 21:36 
QuestionOleDBConnection as embedded Ressource [modified] Pin
Jedzia28-Mar-07 23:48
Jedzia28-Mar-07 23:48 
Questionerror in loading application Pin
ArchaBhandare28-Mar-07 19:54
ArchaBhandare28-Mar-07 19:54 
AnswerRe: error in loading application Pin
Pete O'Hanlon28-Mar-07 22:41
mvePete O'Hanlon28-Mar-07 22:41 
QuestionA simple closing port question Pin
Draqonis28-Mar-07 10:04
Draqonis28-Mar-07 10:04 

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.