×

Discussion Board

Search:

Type: Posts; User: The Cynic; Keyword(s):

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    11
    Views
    3,634

    Re: Whether can I have a RArray in a T-Class?

    http://developer.symbian.org/wiki/index.php/The_Implications_of_Leaving_in_a_Destructor


    "Historically (prior to Symbian OS v9.1) the destructor of a stack-based object was not called in the...
  2. Replies
    11
    Views
    3,634

    Re: Whether can I have a RArray in a T-Class?

    Actually the situation regarding T classes has changed, their destructors will now get called if they go out of scope and so can have one.
    But personally I think this will just confuse people who...
  3. Thread: About DLL

    by The Cynic
    Replies
    7
    Views
    3,533

    Re: About DLL

    "Please note that ecom only exposes class objects that are known to implement a perticular interface."

    What do you mean? That's not true at all. You can write/expose whatever interface you want...
  4. Thread: About DLL

    by The Cynic
    Replies
    7
    Views
    3,533

    Re: About DLL

    You don't need to make sure your DLLs get loaded, the system will do it for you.

    The number of people on here who think they need to load DLLs themselves is astounding.

    The number of people who...
  5. Replies
    18
    Views
    4,984

    Re: Get & Set Buffer data from XML

    Then why didn't you just say you'd told him the answer in private in the first place?

    What was the problem, I'm dying to know?
  6. Replies
    14
    Views
    3,479

    Re: how to pass TDesC type to TDesC via func

    You've changed the signature of setQuestion during the lifetime of this posting so you've now learned that TDesC& and const TDesC& are not the same thing.

    Now the next thing to learn is what the...
  7. Replies
    9
    Views
    4,309

    Re: CleanupClosePushL in ConstructL

    From the way the question is asked I suspect you are not 100% clear on the use of the cleanupstack and its role in deletion/closing.
    I think you have another misunderstanding behind the surface...
  8. Replies
    14
    Views
    3,479

    Re: how to pass TDesC type to TDesC via func

    I think with this question its better to ask what you are trying to do and give you the correct way of doing that.

    Give some details and more context.
  9. Replies
    21
    Views
    3,375

    Re: Returning TBuf by value

    THe code you shown is no different than in SYmbian, if you had changed the return type to string& then you would have had a problem.

    Return by value to a local variable = ok in C++ and ok in...
  10. Replies
    9
    Views
    4,062

    Re: CBase question

    I don't want to sound unfriendly, but you've been told to read C++ books before learning Symbian.

    This is a SYmbian board, if you keep posting the most basic of C++ questions eventually people...
  11. Replies
    21
    Views
    3,375

    Re: Returning TBuf by value

    Its disappointing to see so much misunderstanding in this thread.

    If you declare a local TBuf<> in a function and return a reference to it, then when the TBuf<> goes out of scope it is destroyed....
  12. Replies
    6
    Views
    3,834

    Re: When to create a new thread?

    Threads are used when you NEED pre-emptive multitasking, AOs are not pre-emptively multitasked.

    If you don't know what that means you need to do some homework before successfully writing programs...
  13. Replies
    5
    Views
    3,460

    Re: How to make calls from app

    So seeing as you were asking if there is an API to make calls, but you were already aware of the CTelephony API and had tried to use it but had failed.

    So actually therefore your original question...
  14. Replies
    7
    Views
    3,554

    Re: About Screen crash

    Q: If there are hardcoded resource files which might not be present, please explain how its not big enough on the first run, but it is on subsequent runs?

    Q: So if the stack size isn't big enough,...
  15. Replies
    8
    Views
    3,776

    Re: Problem with Active Objects

    A global variable? In conjunction with active objects? Sounds a bit potentially dodgy to me, so I am interested to see the details of the proposal too.
  16. Replies
    9
    Views
    3,870

    Re: Finding problem in parsing a string

    He's not suggesting you do your homework, he's suggesting you do some debugging.

    a) If you suspect "\\" in a string causes problems for AppendFormatList it would take 5 minutes to confirm.
    b) If...
  17. Thread: IPC

    by The Cynic
    Replies
    6
    Views
    3,902

    Re: IPC

    If you already have some links with information on a topic, then ask for information on a topic, you stand a good chance of getting the links you already have - unless, gasp, you say you already have...
  18. Re: [split] Dynamically load DLL at run time (Re: Add dll to Carbide.c++)

    I forgot to mention, there are a surprisingly large number of people who want to load their own plug-ins, when ECOM will do it for you and in a standard manner. Replace something that is standard and...
  19. Re: [split] Dynamically load DLL at run time (Re: Add dll to Carbide.c++)

    There are a surprisinly large number of people who want to explicitly load their own dlls, and frequently get into problems doing so, yet the system will load and unload a DLL for you so I never...
  20. Replies
    3
    Views
    4,096

    Re: Communication between two EXEs

    Sounds like not a good idea to me, many problems and issues, for example, how does one program know when there is something in the file for it to read? What about access synchronization for another?
  21. Replies
    27
    Views
    5,374

    Re: Make two Active Object

    I can't be bothered to read this thread to comment on if what you want to do is correct or not, but you can get an active object to run itself (called a self scheduling active object) by completing...
  22. Replies
    11
    Views
    4,423

    Re: HTTP engine with Active Objects

    The beauty of active objects, and a reason why they are recommended instead of threads, is that with them there are no issues that make you need to turn to semaphores and mutexes to solve.
    Why...
  23. Replies
    6
    Views
    3,908

    Re: HBufC question

    Its already is open source now.
  24. Re: How to form dynamic array of integers(contact numbers)?

    Title says integers, body says TPtr.

    Make your mind up, otherwise how can you expect proper advice. An integer is not a TPtr, maybe you meant number not integer?
  25. Re: I got memory leak after exit the SMS example download from nokia forum

    I missed there is an iStatus as an argument to the Copy() function.

    If I was the poster, I wouldn't be worried about a memory leak, I'd be more worried about a logic leak.
Results 1 to 25 of 58
Page 1 of 3 1 2 3