Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: corcor

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    888

    propput null pointer

    Hi!

    I have following property providing a get/put function for settings an interface:

    [propget, id(1)] HRESULT Type([out, retval] IMyType **pVal);
    [propput, id(1)] HRESULT Type([in] IMyType...
  2. Replies
    2
    Views
    335

    Hi ! Thanks for answering so fast ! Yes, I...

    Hi !

    Thanks for answering so fast !

    Yes, I know that (standard) way, but I don't want to "override" all getter - methods, and I also don't want to provide a new method, like


    const CRect*...
  3. Replies
    2
    Views
    335

    accessing protected base class / operators

    Hi !

    I want derive my class as protected from its baseclass, e.g.


    class CMyRect : protected CRect
    {
    }

    because nobody should change CRect directly, but I would like to provide a...
  4. Replies
    1
    Views
    366

    implementing the member funtion template

    Hi !

    I have some member function templates like:



    class CMyClass : public CMyBase
    {
    public:
    template < class T > BOOL Find( std::vector< T > elem );
  5. Replies
    7
    Views
    632

    Hi Paul ! Thanks for your answers. Of course...

    Hi Paul !

    Thanks for your answers.
    Of course every object has a destructor. I ment that I need no virtual destructor, because my derived class won't need one and it's only for my internal...
  6. Replies
    7
    Views
    632

    Hi Paul ! Thanks for your fast answer. I...

    Hi Paul !

    Thanks for your fast answer.

    I need no destructor, because I only introduce some new methods, e.g.:
    Since I only have pointers in my lists, sets,... and want to access them directly,...
  7. Replies
    7
    Views
    632

    derive from STL's set::iterator

    Hi !

    deriving from list::iterator and vector::iterator is no problem, but how can I derive from set::iterator ?

    I've tried

    template < class T, class Pred = less<T>, class A = allocator< T >...
  8. A different approach (and even more advanced)...

    A different approach (and even more advanced) would possibly be more performant:

    I create a new type of iterator, which can iterate over different lists (with derived elements), e.g.

    list< A*...
  9. The first version also doesn't compile in VC6.0...

    The first version also doesn't compile in VC6.0 (that's what I've tried in my first attempt), but std::copy is fine !
    Thanks a lot !!!!
  10. unfortunately not, because each list is used in...

    unfortunately not, because each list is used in its own context, but at many circumstances I need a collection of elements from two or more lists.
  11. Creating a list with different (derived) elements

    Hi !

    I have lots of STL lists, lets say
    list< A* > m_listA;
    list< B* > m_listB;
    list< C* > m_listC;
    ..
    where B derives from A, and C from B,.

    Many times I have to return two or...
  12. Replies
    3
    Views
    795

    Good idea, but I only want to prevent from one...

    Good idea, but I only want to prevent from one single, specific Redo (the one, I generate myself by calling Undo())
  13. Replies
    3
    Views
    795

    Undo without Redo (CRichEditCtrl)

    Hi !

    When I call CRichEditCtrl's Undo() method; my last change is undone and I get the chance to "Redo" that modification.

    Does anybody know, how to prevent from "Redo" ?

    In other words: I...
  14. Replies
    1
    Views
    282

    hook CRichEditView

    Does anybody know how to hook into CRichEditView's Undo / Redo Management (to see, when / what is changed, disable some changes...)

    Thanks !
  15. Replies
    8
    Views
    697

    may templates help ?

    may templates help ?
  16. Replies
    3
    Views
    624

    you are right mamotron: resizing the array is...

    you are right mamotron:
    resizing the array is bad, but we also can take my solution and swap x[i] with the last unused element instead of deleting it :)
  17. Replies
    3
    Views
    624

    maybe this helps: 1) create an array (size...

    maybe this helps:
    1) create an array (size 400000) and fill it with values from 1 - 400000

    2) create a randum number X between 1 and actual array-size

    3) return value of array[X] as "real...
  18. Replies
    8
    Views
    697

    Yeah, I also can put it in a "not - CWnd derived...

    Yeah, I also can put it in a "not - CWnd derived class" and derive my views from this class and the old base class, like

    class CMyViewBase
    {
    void DoEditCopy();
    }

    class CMySpezialView1 :...
  19. Replies
    5
    Views
    372

    There's no need to run as a service. The first...

    There's no need to run as a service.
    The first client starts the server, when the last client closes, the server is unloaded (you don't have to care about that, everything is handled from (D)COM)
    ...
  20. Replies
    8
    Views
    697

    I can't use a class "between", because not all my...

    I can't use a class "between", because not all my views derive from CView.
    E.g. one derives from CRichEditView (which derives from CView)

    So where would be "between" ?
  21. Replies
    5
    Views
    372

    Maybe you can use a COM Server: Every Client...

    Maybe you can use a COM Server:
    Every Client registers on that server for "listening"
    After every database update, the COM Server is informed and fires a corresponding event to all registered...
  22. Replies
    8
    Views
    697

    Multiple inheritance

    Hallo !

    I have some views which handle partly the same commands (e.g. every view has a "OnEditCopy") in the same way.

    Thus I want to share that code in a common base class, but my views derive...
  23. Replies
    3
    Views
    868

    Please, can you explain how to use LiveConnect ?...

    Please, can you explain how to use LiveConnect ?
    I didn't find a description in msdn.
  24. Replies
    3
    Views
    868

    Using 's

    I create COM Server using the <OBJECT> tag.

    How can I determine (with Javascript - code), that the server was created properly ?
  25. Use SMTP (Simple Mail Transfer Protocol) directly...

    Use SMTP (Simple Mail Transfer Protocol) directly !
    Look at the sample at codeguru
Results 1 to 25 of 47
Page 1 of 2 1 2


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center