Search:

Type: Posts; User: Helix

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    14
    Views
    4,596

    I did say I wanted multiple sub-object copies in...

    I did say I wanted multiple sub-object copies in my design.

    Anyway.
    So the conclusion is, this is not standard behavior, that I am asking for?
  2. Replies
    14
    Views
    4,596

    Well I didn't mean that g++ should conform to...

    Well I didn't mean that g++ should conform to Visual Studio :).
    I was just saying....
  3. Replies
    14
    Views
    4,596

    Grumpy, i worked a little to produce this...

    Grumpy, i worked a little to produce this minimalistic example, so to keep things simple. one thing I know for sure, is that I don't want B to be a virtual base class.

    I'm not convinced that this...
  4. Replies
    14
    Views
    4,596

    Hmm, I see that in my original example writing...

    Hmm, I see that in my original example writing C::f() instead of C::B::f() works, and the effect is the same.

    But how do I invoke D::B::f() ? Now I want to call the implementation of f() in the B...
  5. Replies
    14
    Views
    4,596

    It's not the same, because i'm calling f() from a...

    It's not the same, because i'm calling f() from a nonstatic function so I *have* and object.
    And, the compiler should know which B::f() to call specifically because I wrote C::B::f(). So it should...
  6. Replies
    14
    Views
    4,596

    Multiple inheritance issue

    Hello all,

    I have the following problem when trying to disambiguate the behaviour of a function in the most-derived class:


    class B
    {
    public:
    virtual void f() {}
    };
  7. Thread: Event un-wiring?

    by Helix
    Replies
    1
    Views
    1,311

    There is. You need to keep a refence to the...

    There is. You need to keep a refence to the EventHandler object that you added to the Event and you unwire that object with the -= operator on the reference.
  8. Thread: Packaging ...

    by Helix
    Replies
    2
    Views
    1,086

    Packaging ...

    I had no idea where to put this question, but here goes:


    I want to package my .NET solution for installation. I have several C# projects with many depencies: COM DLLs written in VC++ 6, OCXs...
  9. Replies
    3
    Views
    2,539

    Flickering textbox

    Can I do something about flickering?? I use, in C#, a TextBox control with its associated Graphics object.
    I'm just using DrawLines & Drawline and Clear methods.
    Maybe use APIs?? I tried that, but...
  10. Thread: Event un-wiring?

    by Helix
    Replies
    1
    Views
    1,311

    Event un-wiring?

    Hello.

    Can someone tell me what is the procedure of un-wiring an event handler from an event (if there is such a thing)?

    You wire a handler to an event with the syntax:

    ...
  11. Thread: Name conflicts

    by Helix
    Replies
    5
    Views
    1,305

    Thanks. I needed that.

    Thanks. I needed that.
  12. Thread: Name conflicts

    by Helix
    Replies
    5
    Views
    1,305

    A different namespace ... So how do I do that?...

    A different namespace ...
    So how do I do that? A namespace groups some functions together or some classes or what?
  13. Thread: Name conflicts

    by Helix
    Replies
    5
    Views
    1,305

    Name conflicts

    Hello.

    I'm exporting some functions with idl. Is there a way I can define a function that has the same name as a previously defined function? For example, I want to expose a "sin" function. The...
  14. Is nwindowproc() a non-static member function of...

    Is nwindowproc() a non-static member function of some class?

    nwindowproc() is not a member at all ... it's just there in the cpp ...

    Post the code that calls nwindowproc().

    Well, you caught...
  15. Error: "illegal call of non-static member function"

    I'm calling a non-static member function from a function declared as follows:



    LRESULT nwindowproc(HWND hwnd,UINT message,WPARAM wparam,LPARAM lparam)


    The function is in the implementation...
  16. Replies
    2
    Views
    3,402

    OK... 1)My question wasn't a DLL vs OCX but a...

    OK...

    1)My question wasn't a DLL vs OCX but a generic class vs control class question (of course, depending on the answer I would then build a DLL or an OCX).

    The question was: can a generic...
  17. Replies
    9
    Views
    2,613

    Hey. 1)Just declare the method as returning...

    Hey.

    1)Just declare the method as returning something else than void.
    2)Well, there's a discussion here. But I'd probably just confuse you, so you better check the MSDN reference.

    There are at...
  18. Replies
    2
    Views
    3,402

    Exporting VC++ classes for use with VB

    I just started off in this kind of stuff, so I'm practically nowhere yet. I have several questions in mind, e.g.:



    a)if I need to export an object with events, does it necessarily have to be a...
  19. Thread: ODL file problem

    by Helix
    Replies
    5
    Views
    1,995

    Oh my god, it works! I can't thank you enough. ...

    Oh my god, it works! I can't thank you enough.

    By the way, how was I suppose to know?! This odl stuff is most badly documented.
  20. Thread: ODL file problem

    by Helix
    Replies
    5
    Views
    1,995

    That was good to know, but it doesn't solve the...

    That was good to know, but it doesn't solve the problem.
    Reposting code ...


    [uuid(1CFE9260-D6FB-11d7-9236-E4FCAE870F25),helpstring("Temp"),lcid(0x0409),version(1.0)]library Temp
    {...
  21. Thread: ODL file problem

    by Helix
    Replies
    5
    Views
    1,995

    ODL file problem

    I'm exporting two UDTs from VC++ to VB6 using an ODL file.
    Da problem is that apparently I can't export a struct with members of another exported struct. Here's da code:


    ...
  22. Replies
    2
    Views
    1,174

    Thanks, you were helpful.

    Thanks, you were helpful.
  23. Replies
    4
    Views
    1,442

    Sorry, the error is still with me. point3d...

    Sorry, the error is still with me.


    point3d _stdcall fpoint3d(double x,double y,double z)
    {struct point3d t={x,y,z};
    return t;}
    point3d _stdcall vproduct(point3d *v1,point3d *v2)
    {struct...
  24. Replies
    4
    Views
    1,442

    So I guess I must necessarily use a temporary...

    So I guess I must necessarily use a temporary variable, huh?
  25. Replies
    4
    Views
    1,442

    Pointers related.

    I have a "f" function whose result type is A.
    I have a "g" function that takes one parameter of type pointer-to-A.

    I have to call the "g" function using the return value of "f", but I can't:

    ...
Results 1 to 25 of 32
Page 1 of 2 1 2