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

Search:

Type: Posts; User: s_k

Page 1 of 20 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    1
    Views
    740

    Linking against static library

    Hello all,

    I have simple Win32 command line project using my own static library which in turns requires third-party static library (the Expat XML parser). I have the solution where all these three...
  2. Replies
    18
    Views
    2,274

    Re: Access violation with std::vector

    Maybe...anyway, thanks a lot for all your effort, Paul, I really appreciate that.
  3. Replies
    18
    Views
    2,274

    Re: Access violation with std::vector

    Now very, very strange thing happened...I wanted to clean the project so that I would put it on Internet and deleted all unused variables and nothing else..definitely I did not do anything with...
  4. Replies
    18
    Views
    2,274

    Re: Access violation with std::vector

    I posted the main() function already.
  5. Replies
    18
    Views
    2,274

    Re: Access violation with std::vector

    Why in the sorting? I think the sorting works fine, the problem always comes up on the bold line, ie. calling aPoints.at(i).


    And what I've posted is the whole application :) Well, apart from...
  6. Replies
    18
    Views
    2,274

    Re: Access violation with std::vector

    Yes I did and I still have the testing application which proves that the sorting mechanisms are ok...
  7. Replies
    18
    Views
    2,274

    Re: Access violation with std::vector

    void CGeomUtils::sortByY(std::vector<myPoint> & aVect)
    {
    // !! Beware that this put the point with lower x-coordinate in front in case of tie with y-coordinate !!
    std::sort(aVect.begin(),...
  8. Replies
    18
    Views
    2,274

    Re: Access violation with std::vector

    Thank you, I corrected it.

    But I'm still getting the same error :( On the same line and as usual, size has right before the access violation garbage value, now it was 100852127...
  9. Replies
    18
    Views
    2,274

    Re: Access violation with std::vector

    Ok Paul, here it is:



    class CGlobalStorage
    {
    public:
    CGlobalStorage();
    virtual ~CGlobalStorage();
  10. Replies
    4
    Views
    677

    Re: Why won't std::list sort?

    Thank you both guys!

    Unfortunately defining operator< for myPoint wouldn't be that nice since it is just representing a point in the coordinate system (x, y) and it depends on whether we want to...
  11. Replies
    18
    Views
    2,274

    Access violation with std::vector

    Hi all,

    I have problem with vector which I can't solve.

    The key function is as follows:



    void CHull::computeHull(std::vector<myPoint> & aPoints, std::vector<myPoint> & aHull)
    {
  12. Replies
    4
    Views
    677

    Why won't std::list sort?

    Hi all,

    I can't compile program in which I want to sort std::list:



    void CGeomUtils::sortByRelativePolarAngle(const myPoint & relativeTo, std::list<myPoint> & aList)
    {...
  13. Replies
    1
    Views
    427

    Windows memory management?

    Hi all.

    I've been told by my client that the server application I'm working on has inacceptable memory requirements, since after five days of nonstop running it gets 70 MB of memory (as shown in...
  14. Replies
    5
    Views
    666

    Re: Seeking for advice - secure FTP

    Thank you for response usman. What do you mean the difficulties when using async-sockets? I use WSAEventSelect() model.
  15. Replies
    5
    Views
    666

    Seeking for advice - secure FTP

    Hi all,

    I will probably have to put some security in our FTP server, which I'm doing.

    There are two main ways:

    1) SSH, ie. SFTP
    2) SSL over FTP

    I would like to ask you, which of these...
  16. Replies
    3
    Views
    1,585

    _findfirsti64() problem

    Hi all,

    can you please explain me this behaviour?



    LONG lHC = _findfirsti64("C:", &fileEntry);
    LONG lHD = _findfirsti64("D:", &fileEntry);
  17. Could someone help me with OnEndSession() problem?

    Hi all,

    I'm doing program for school which will serve as logger: after kid logs on, it will be asked by this program for its name and he will have to confirm, whether the PC was ok when he started...
  18. Replies
    4
    Views
    1,111

    Re: One question about GetComputerName()

    Thank you very much Siddhartha!
  19. Replies
    4
    Views
    1,111

    One question about GetComputerName()

    Hi,

    one question about this function: when I have NT domain and use logon scripts, from witch I call my program, in which I call GetComputerName(), what name will be returned? The one of server on...
  20. Replies
    1
    Views
    366

    User logon notification

    Hi all,

    is there a possibility for my application to get notified when user logs on? It is service and I would like to do some action as soon as user logs on.

    Thank you.
  21. Thread: pointer problem

    by s_k
    Replies
    4
    Views
    1,826

    Re: pointer problem

    I'm not sure but your 'block' inside structure is rather anonymous structure, I would write it rather this way:



    struct node
    {
    struct
    {
    node* pointer;
    } block;
  22. Replies
    5
    Views
    1,575

    Re: Optimalization task

    I was said it doesn't have optimal solution and best is to use some heuristics, maybe let's say 3 levels of prediction and always choose the best way. I don't think there is some easy way to...
  23. Replies
    5
    Views
    1,575

    Re: Optimalization task

    There are so many dependencies that I don't know what I should start with, which heuristics to use...
  24. Replies
    5
    Views
    1,575

    Optimalization task

    Hi all,

    I've troubles solving this task:

    INPUT:
    File with airplanes specifications:
    - name of airplane
    - cost for rental/day
    - consumption - $/day
    - speed
  25. Please help with assembling parameters for SetFilePointer

    Hi all,

    I'm trying to write my own function setFilePtr():



    __int64 setFilePtr(HANDLE hFile, __int64 lDistanceToMove, DWORD dwMoveMethod)
    {
    LONG highOrder = ...
    LONG lowOrder = ...
Results 1 to 25 of 497
Page 1 of 20 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center