Search:

Type: Posts; User: yongzai

Search: Search took 0.00 seconds.

  1. Replies
    8
    Views
    3,055

    Thanks Salem. Actually, i need the round ended...

    Thanks Salem.
    Actually, i need the round ended option to fix some broken lines of my app.
    The n points line is form by n-1 segments where the joining appears broken when i increase the pen...
  2. Replies
    8
    Views
    3,055

    I am using visual studio 2005 I found out that...

    I am using visual studio 2005
    I found out that the compiler's include directory for my app does not define the PS_ENDCAP_ROUND. (C:\Program Files\Microsoft Visual Studio...
  3. Replies
    8
    Views
    3,055

    using GDI to draw round ended line

    I would like to draw round ended lines using GDI but the below solution doesnt works.
    My Compiler doesn't recognize PS_ENDCAP_ROUND and ExtCreatePen.



    LOGBRUSH lBrush;
    DWORD pStyle =...
  4. Replies
    19
    Views
    3,328

    thanks vart, ur method works wonderfully. I did...

    thanks vart, ur method works wonderfully. I did not know the conversion can be done this way.
    Regarding the memory issue, I really have no idea on how to overcome it. After inserting 117 items, only...
  5. Replies
    19
    Views
    3,328

    Thanks guys, I have replaced all my char array...

    Thanks guys,
    I have replaced all my char array with string but the problem still persist.
    As pointed out by Daved, I also removed the for() loop and change that part to:


    //id format is...
  6. Replies
    19
    Views
    3,328

    Here's the callback function that I does...

    Here's the callback function that I does insertion into list


    bool MySearchCallback(String* id, void* arg)
    {
    Road *aRoad;
    String roadname;
    int segmentId, startVertex;
    int success; ...
  7. Replies
    19
    Views
    3,328

    Hi Salem, I am building the app for embedded...

    Hi Salem,

    I am building the app for embedded platform, using the PDA emulator of Visual Studio .Net2005. As I need to do some Graphics rendering, all my testing was on the emulator.
    You are...
  8. Replies
    19
    Views
    3,328

    After googling in the web, I found that the...

    After googling in the web, I found that the problem maybe caused by buffer overflow, where the new items overwrite the existing entries. But I still need to figure out how to overcome such problem.
  9. Replies
    19
    Views
    3,328

    In isolated program, the list works fine. You...

    In isolated program, the list works fine.
    You are correct, this is a part of a larger program.
    I have tried to eliminate possible dangling reference and memory leak by following the guide from...
  10. Replies
    19
    Views
    3,328

    Hi laserlight, I tried the code you provided...

    Hi laserlight,

    I tried the code you provided and the list1 contains value of 100 for the first 31 entries, and the rest are '?'

    I observed the values from the debugger window, and this is my...
  11. Replies
    19
    Views
    3,328

    C++ list Strange Behavior

    I m using list in my window mobile app but experienced strange behavior.
    For example,


    for(int k=0; k<50; k++)
    list1.push_back(100);


    The list1 only contains the first 31 entries of 100,...
  12. Replies
    8
    Views
    1,523

    Thanks again vart, I made a silly mistake juz...

    Thanks again vart, I made a silly mistake juz now. You are correct, I want the second way but did it in the wrong way. Now it works brilliantly :)
  13. Replies
    8
    Views
    1,523

    Sorry for the wrong implementation. I have change...

    Sorry for the wrong implementation. I have change to reference to pointer, but it complains the same error during execution:

    doexit(int code = CXX0065: Error: unable to obtain expression value,...
  14. Replies
    8
    Views
    1,523

    Thanks for the reply. Maybe my concept was wrong,...

    Thanks for the reply. Maybe my concept was wrong, I tot passing a pointer to the retrieveSub can do the trick. vart, here's my 2nd attempt to pass the pointer by reference, correct me if i m wrong,...
  15. Replies
    8
    Views
    1,523

    C++ pointer issue

    I am using a binary tree whereby the search item is return using pass by reference i.e. "searchElement" store the result



    int BSTree::retrieve ( String searchKey, Car *searchElement )
    {...
  16. Replies
    0
    Views
    1,835

    C++ delete excel column

    Hi,

    How do we delete a column of the excel from c++?
    I only know how to delete a row. Well, I tried to change the macro arg from L"Rows" to L"Cols", but it doesn't work.
    Thanks in advance....
  17. Replies
    1
    Views
    5,054

    Using Macro

    I found the following solution while googling.
    So I reproduce the method to share with others who may have similar problem. Cheers.



    //Merge cells for a range of cells:
    BOOL...
  18. Replies
    1
    Views
    5,054

    Merging the cells of excel from vc++

    Hi guys,

    I'm using the COM programming to output an excel file from vc++. I would like to merge the cells using vc++. is it possible?
    My excel format:
    Some lengthy description that stretch...
Results 1 to 18 of 18