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 26 1 2 3 4

Search: Search took 0.02 seconds.

  1. Re: Is it worthwhile to write an ActiveX module dedicated to drawing charts?

    Thanks.... I don't mind if I could reuse some other's work unless I have to pay a big deal.
    Jack
  2. Is it worthwhile to write an ActiveX module dedicated to drawing charts?

    I know the user installation must involve some registry manipulations and
    some other trickery. But the ActiveX way seems to be more modular.
    Is it worthwhile to separate the charting modules from...
  3. Re: How to convert a C# module into an unmanaged C++ dll?

    Thanks guys, I've decided to change library to bullet and give up on this.
    This way seems to be easier.
    Thanks
    Jack
  4. Re: How to convert a C# module into an unmanaged C++ dll?

    Roughly 10000 lines I guess

    https://bepuphysics.codeplex.com/

    I am trying to understand the interfaces now, not sure my intention is possible.
    Thanks
    Jack
  5. How to convert a C# module into an unmanaged C++ dll?

    I am in need to convert some C# code into C++ equivalences.
    But I don't want to spend the efforts to do so.
    Is there an handy way to convert an existing code of C# into C++ (unmanaged code)?
    if...
  6. How to configure for a 32bit application in 64bit cygwin?

    I've got a C++ project that needs to be built with the autotools.
    I've got 64bit cygwin and after I built it, it told me that
    the system was trying to execute 64-bit instructions on
    a 32-bit...
  7. Re: What is the correct way of inserting an item into a std::map?

    Thanks, that's so nice of you.
    This is a very clear explanation.
    Jack
  8. Re: What is the correct way of inserting an item into a std::map?

    how come unordered_map takes only one parameter
    Like this?
    std::unordered_map<Point3> and returns size_t?
    I need an associative container to map a Point3 to a boolean...
    Point3 has x,y and z
    THX
  9. Re: What is the correct way of inserting an item into a std::map?

    struct classcomp {
    bool operator() (const Point3& lhs, const Point3& rhs) const
    {
    if (lhs.x < rhs.x && lhs.y < rhs.y && lhs.z < rhs.z)
    return true;
    else
    return false;

    }
    };
  10. Re: What is the correct way of inserting an item into a std::map?

    I got it, thanks
    Jack
  11. Re: What is the correct way of inserting an item into a std::map?

    Is it true that the key type must be a primitive type (int, char, char* etc) in order to avoid the compare function?
    Thanks
    Jack
  12. What is the correct way of inserting an item into a std::map?

    std::map<Point3, bool> m_mHitMap;

    if (bHit) {
    m_mHitMap.insert(std::make_pair(testRay.p, true));
    }
    else {
    m_mHitMap.insert(std::make_pair(testRay.p, false));
    }
  13. Re: Didn't understand these unresolved externals?

    I removed the static identifier for the time being. And it seems to be resolved.
    Thanks
    Jack
  14. Re: Didn't understand these unresolved externals?

    Hmmm, they came with a pathfinding library called Recast.
    I don't want to touch the files, just want to leave them intact.... so just looking for ways to work around it.
    Thanks
    Jack
  15. Re: Didn't understand these unresolved externals?

    In other words, my corridor.cpp just can't see them.
    How can I make them seen?
    As I didn't declare them in a header file, there are compilation errors.
    Thanks
    Jack
  16. Didn't understand these unresolved externals?

    #ifndef _CORRIDOR_H_
    #define _CORRIDOR_H_

    #include <math.h>
    #include <vector>
    #include <algorithm>
    #include "Recast.h"
    #include "RecastAlloc.h"
    #include "RecastAssert.h"
  17. Re: Raw Data to Png in Memory with FreeImage

    I am afraid it still doesn't work. But Let's take it easy, we'll continue on the discussion tomorrow. I am getting a rest a now. Thanks everybody..... Really appreciated!
    Jack
  18. Re: Raw Data to Png in Memory with FreeImage

    It seems like NULL cannot be assigned to FIMEMORY and FIBITMAP
    Thanks for taking so much time in helping me
    Jack
  19. Re: Raw Data to Png in Memory with FreeImage

    This is a screen dump of what I got so far now.
    Thanks
  20. Re: Raw Data to Png in Memory with FreeImage

    Sorry, forgot to mention it.
    I've got the same message if I use
    &pngStream, that is
    FIMEMORY pngStream;
    instead of
    FIMEMORY* pngStream;
    Thanks
    Jack
  21. Re: Raw Data to Png in Memory with FreeImage

    Hello Victor,
    I re-adjust the environment and some coding and finally end up with this. This error could be Visual Studio specific.
    I searched google, ...
  22. Raw Data to Png in Memory with FreeImage

    I'd like to save some raw bitmap data from memory to memory by using FreeImage and load it back out in png format. However, this code ends up with a bitmap of 0 bytes and data field of "????"...

    ...
  23. Replies
    2
    Views
    181

    Re: ceil function name collision.

    Thanks, it works great now...
    Jack
  24. Replies
    2
    Views
    181

    ceil function name collision.

    cv::Size output_size
    (gallerycols * 2 * its[0].cols(), ceil(4 / gallerycols) * 2 * its[0].rows());

    Error 18 error C2668: 'ceil' : ambiguous call to overloaded...
  25. Replies
    3
    Views
    262

    How to debug Win32 Message Loop?

    You place a breakpoint at one of locations within the message loop.
    But I want the breakpoint to trigger when I click on the application window, for example.
    But I can't, it went so fast so long as...
Results 1 to 25 of 642
Page 1 of 26 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