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

Search:

Type: Posts; User: lucky6969b

Page 1 of 27 1 2 3 4

Search: Search took 0.03 seconds.

  1. Re: Adding a framework like MFC to Visual C++ express with resedit as the resource ed

    This isn't a problem, but out of curiosity...
    Does VS2013 not support unmanaged C++?
    Thanks
    Jack
  2. Adding a framework like MFC to Visual C++ express with resedit as the resource editor

    I have added resedit as my default resource editor.
    But there isn't any framework to work with.
    Are there any good frameworks out there which resemble MFC or QT or the like
    I miss the Class wizard...
  3. Replies
    1
    Views
    174

    Member variable persistence question

    LRESULT CALLBACK WndProc
    (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
    {
    static Controller* pCtrl;

    switch (message)
    {
    case WM_CREATE:
    try
    {
  4. Why is there no effect on the Add operation?

    The count was 22 before the addition, after the operation, the count is still 22.

    The platform is on asp.net, windows 7.
    No MVC



    protected void OnAddRecord(object sender, EventArgs e)
    ...
  5. What is the correct way of calling a self-contained posix thread in VC++?

    pThread turns out to be NULL here.
    Wondering what the correct way is...
    Thanks
    Jack



    class CPF_Thread
    {
    public:
  6. Replies
    5
    Views
    307

    Re: [del..............]

    Larger scope is here


    void Grid::initializeNeigbours() {
    for (int x = 0; x < columns; x++) {
    for (int y = 0; y < rows; y++) {
    GridNode* node = grid[x][y];
    std::vector<GridNode*>...
  7. Replies
    5
    Views
    307

    Re: Cannot catch C runtime exception

    Dear Mr Moderator,
    Can you bring up this thread again? I can't edit the thread title...
    Thanks
    Jack
  8. Replies
    5
    Views
    307

    Cannot catch C runtime exception

    try {
    GridNode* neighbour = grid[x+xi][y+yi];
    if (getCost(node, neighbour) >= 0)
    neighbours.push_back(neighbour);
    } catch (...) {
    continue;
    }

    When x+xi == -1, the exception is not...
  9. Replies
    4
    Views
    391

    Re: std::find_if problem

    Yep, should have used find instead.
    Thanks
    Jack
  10. Replies
    4
    Views
    391

    Re: std::find_if problem

    Hello
    std::set container is best suited for value elements, rather than pointer elements?
    Thanks
    Jack
  11. Replies
    4
    Views
    391

    std::find_if problem

    I've got these std::find_if in my code, do you know which one is faulty?



    Error 6 error C2064: term does not evaluate to a function taking 1 arguments c:\program files (x86)\microsoft visual...
  12. Replies
    2
    Views
    384

    Porting some Java code

    Hi guys,
    I have been poking around with some Java source code that I'd like to port to C++
    Here is something I am trying to do



    namespace AStar_NS { //...
    class Node {
    ...
  13. Replies
    4
    Views
    414

    Re: Why should this code snippet crash?

    Thanks, it's working okay now.
    Jack
  14. Replies
    4
    Views
    414

    Re: Why should this code snippet crash?

    It simply crashes here after the return statement


    std::vector<D3DXVECTOR3> ConvertNavPathToVector3(NavPath* navPath) {
    std::vector<D3DXVECTOR3> vector3;

    for (int i = 0; i < navPath->count;...
  15. Replies
    4
    Views
    414

    Why should this code snippet crash?

    I've got memory leak on the delete line when being commented out
    On the other hand, I've got a crash. Where is the bug?
    The reason I use a float* because some function requires me this type of...
  16. Re: How to draw an unoccupied value from an array

    Hello
    Yes,
    the worker will return the tool to the original slot
    And Generally, the worker will retrieve an item from the floor space, and put it back to where it was and release the resource. And...
  17. Re: How to draw an unoccupied value from an array

    Thanks, I'll search the web.
    Jack
  18. How to draw an unoccupied value from an array

    Let's say there are three slots in my array (3 pieces of hardware to be used)
    If one worker comes in, it takes an instrument, and I tag it as used on random basis
    Next, the next worker comes in, it...
  19. How to initialize an array of DirectX9 Objects?

    Hello,
    I've got an error saying that there is an access violation at 0x0000040
    error no 0xC0000005
    I've searched the net, saying the error may be due to an uninitialzed variable.
    I debugged the...
  20. How to use Visual Studio 2010 to compile dos programs?

    I want to use it to compile 16bit dos programs
    and 32bit protected mode programs
    Thanks
    Jack
  21. What are lambda functions in C++ and what are they good for?

    Don't quite understand. Could anyone please explain a little bit?
    Thanks
    Jack
  22. Re: Getting Free Disk Space of certain directory

    But one thing, is that how come this api would tell that a "directory" has 3Gigs but the total disk space for the drive is 20Gigs up
    What is the true meaning of the free disk space of a "directory"?...
  23. Re: Getting Free Disk Space of certain directory

    Thanks
  24. Re: Getting Free Disk Space of certain directory

    Still not working


    LPDWORD lpSectorsPerCluster, lpBytesPerSector, lpNumberOfFreeClusters, lpTotalNumberOfClusters;
    //char currentPath[MAX_PATH];
    //GetCurrentDirectoryA(MAX_PATH, currentPath);...
  25. Getting Free Disk Space of certain directory

    _int64 free_space_64bit;
    PULARGE_INTEGER lpFreeBytesAvailable, lpTotalNumberOfBytes,lpTotalNumberOfFreeBytes;
    //char currentPath[MAX_PATH];
    //GetCurrentDirectoryA(MAX_PATH, currentPath);...
Results 1 to 25 of 670
Page 1 of 27 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