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

Search:

Type: Posts; User: the one

Page 1 of 7 1 2 3 4

Search: Search took 0.07 seconds.

  1. Replies
    10
    Views
    16,584

    Re: access to outer class from inner class

    I understand your comments. I shuld thank you for your interest. I still wanted to reply to explain why this kind of usage would be usefull. Firstly I should introduce some facts and then i will try...
  2. Replies
    10
    Views
    16,584

    Re: access to outer class from inner class

    By definition, an inner class can be in only one outer class.
    What do you mean by the comment:
  3. Replies
    10
    Views
    16,584

    access to outer class from inner class

    Is there a smart way to access any attribute/function of outer class from the inner class? This is a very intelligent property of Java , I don't know whether C# offer such a way that is similar with...
  4. Thread: package class

    by the one
    Replies
    4
    Views
    881

    Re: package class

    thanks for your posts..
    I need a simple info too, after your post:
    - how to create/declare different assemblies?..
    - does this approach provide compile-time-safety or run-time?

    ( lets assume...
  5. Thread: package class

    by the one
    Replies
    4
    Views
    881

    package class

    how to declare a class( or a method ) that is only accessible through package (namespace)?

    i.e.

    Assume that
    X is a class in package A
    Y is a class in package A
    Z is a class in package B
    ...
  6. Replies
    4
    Views
    911

    is it possible: C# 2.0 in .NET 2003?

    I want to use Generics in C#, so I want to write in C# 2.0.
    However my IDE is .NET 2003, so it includes previous version of C#.
    How can I install and adopt C# 2.0 into my .NET 2003 IDE?

    Thanks.
  7. Replies
    0
    Views
    586

    design/performance issue ( db related )

    I'm implementing a client/server application.
    The system consists of many clients, 1 server and 1 control center.
    This is a scientific app which has a dense processing tasks.
    The clients performs...
  8. Replies
    0
    Views
    475

    difference between char* a[] and char** a

    What is the exact difference between char* a[] and char** a ?

    As far as I know, the first array will be created in stack, on the other hand,
    the second array(?) will be created in heap. In...
  9. Thread: INT_PTR to int

    by the one
    Replies
    2
    Views
    14,746

    INT_PTR to int

    Hi,

    I'm trying to adopt my [VC++ 6.0] code to [.NET C++]...

    There is some changes in MFC.
    One of them is return types!.. e.g.

    CList::GetCount() returns int in 6.0, but
    it returns INT_PTR...
  10. Replies
    1
    Views
    660

    base class initialization

    The last class doesn't compile.
    Any suggestion ?

    I've tried both
    CDerivedEx( int x, CString s, int a ) : CDerived( s, a ) : CBase( a )
    and
    CDerivedEx( int x, CString s, int a ) : CDerived( s,...
  11. Replies
    3
    Views
    572

    Sorry, I have realized that I have not...

    Sorry,

    I have realized that I have not implemented the constructor of last class; i.e. class CTrioGeneral()

    Last class should be like following..
    Anyway... Totally we have good(?) example of...
  12. Replies
    3
    Views
    572

    ?

    It says that, write whole things in .H file instead of .CPP.

    I should say that, I have already written everything about template in .H file.

    Any more suggestion ?
  13. Replies
    3
    Views
    572

    complicated template

    Hi Gurus,

    I have a problem with templates.
    Here is a simplified version of my problem..
    Any suggestion will be very appreciated.

    In main code I call this

    CMainEtc::OnClickOK()
    {
  14. Replies
    6
    Views
    3,537

    Thanks Yves M... I want to be sure about...

    Thanks Yves M...

    I want to be sure about another thing,

    I always use (*) as an array instead of ([]) like the example above.

    ( by saying 'as an array', I mean, I keep starting point of...
  15. Replies
    6
    Views
    3,537

    Could you please explaine what exactly going...

    Could you please explaine what exactly going around ?
  16. Replies
    6
    Views
    3,537

    Is this So Costly ?

    Hi,

    There is function like
    MyFunction( T* apElements, int anCount );
    As it can be seen it accepts an array as argument..

    In my code, I have a pointer to array ( MyObject** ),
    and I need to...
  17. Thread: stdafx.h

    by the one
    Replies
    3
    Views
    1,211

    You may right. Anyway, I have realised that,...

    You may right.

    Anyway, I have realised that, the problem is actually not in '#include stdafx.h'. Although it says "No such file ... etc.", the actual problem had been in property of 'stdafx.cpp'....
  18. Thread: stdafx.h

    by the one
    Replies
    3
    Views
    1,211

    stdafx.h

    Hi,

    I have a solution( i.e. workspace) which includes 3 projects.
    Some classes ( so files ) are common in these projects. I have grouped them in a single folder called 'Common'. Therefore my...
  19. Replies
    1
    Views
    1,767

    is timer thread-safe?

    Let's say we have 3 timers started by 'SetTimer' on a single window. So we have 3 different static TIMERPROC function.

    i.e.

    CMyWindow::OnInitialUpdate()
    {
    ...
    SetTimer( 1200, 500,...
  20. Replies
    1
    Views
    612

    thread exit & memory

    I have a UI thread(CMyTHread) derived from CWinThread.


    CMyThread* m_pThread; //member of CTestDialog;

    CTestDialog::OnNewJob()
    {
    ...
    if( NULL != m_pThread )
    {
  21. Replies
    12
    Views
    1,387

    Thanks.. I'will regard these. I may refine my...

    Thanks..
    I'will regard these.
    I may refine my design..
  22. Replies
    12
    Views
    1,387

    but why doesn't 'force cast' cast it correctly ?...

    but why doesn't 'force cast' cast it correctly ? They are valid object as you see..
  23. Replies
    12
    Views
    1,387

    My original code is not dynamic_cast. It is pure...

    My original code is not dynamic_cast. It is pure casting.. ( C type )
    (CTask*)pQueue->Dequeue();
  24. Replies
    12
    Views
    1,387

    Firstly thanks for your replies.. But we know...

    Firstly thanks for your replies..

    But we know that it is actually a IQueable. Because it is created as CDerivedQueableTask....

    As a character, CTask doesn't have to be queued. But...
  25. Replies
    12
    Views
    1,387

    it is more dangerous.. it works wrong and...

    it is more dangerous.. it works wrong and whenever I want to touch my exe it asserts..

    please note that the above code is just a toy-version of my app.
    but it is one-to-one regarding the...
Results 1 to 25 of 174
Page 1 of 7 1 2 3 4





Click Here to Expand Forum to Full Width

Featured