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

Search:

Type: Posts; User: leKoxn

Search: Search took 0.01 seconds.

  1. Replies
    13
    Views
    5,266

    Re: Template: great but now how do I detect type?

    The data are some kind of points calculated with algorithms.

    They all have coordinates, they all have a so-called descriptor... but some of them have additional data associated (10 doubles, 4...
  2. Replies
    13
    Views
    5,266

    Re: Template: great but now how do I detect type?

    I just realized I should specializate EVERY type I use.

    It's stupid doing this, so I think I need to rewrite my entire project keeping one class for all instances...

    so I'm changing my...
  3. Replies
    5
    Views
    941

    Re: counting down the time and...

    Really can't understand your question.. do you want to print out the time difference quickly ('in a second') or in seconds difference format (like 4943 seconds between the two events) ?

    And I...
  4. Replies
    13
    Views
    5,266

    Template: great but now how do I detect type?

    Hi all,

    I used a template class to hold various types of data, for example:


    struct Structure1
    {
    int a, b;
    }
  5. Replies
    5
    Views
    941

    Re: counting down the time and...

    To get current time: GetSystemTime

    To count time: get two structures at two different times with the api above and difference-them
  6. Re: Curiosity about "template-ready" containers

    Thank you, nothing more than a class-copy in case of use of the = operator, right?

    This sounds insane for most of C++ code, but is to blame in this case where little data is present into the class...
  7. Curiosity about "template-ready" containers

    I read that a "template-ready" class must include a default constructor, a copy constructor and a = operator overload (information taken from http://www.codeproject.com/KB/stl/PracticalGuideStl.aspx)...
  8. Re: unresolved external symbol "int __cdecl _.." between C and Cpp file

    You was right, thank you!
  9. Re: unresolved external symbol "int __cdecl _.." between C and Cpp file

    That does not solve my problem and I still get the same error.

    If I rename the file from .c to .cpp, I obtain something like 400 errors (obviously I made simple here the code for readability...
  10. [SOLVED] unresolved external symbol "int __cdecl _.." between C and Cpp file

    Hi all, I am receiving a

    "error LNK2019: unresolved external symbol "int __cdecl _function(...)" error while trying to compile the following files:

    main.cpp...
  11. Replies
    11
    Views
    2,201

    Re: Visual Studio: runtime problems for an exe

    Ok, anyway thank you all guys for giving me help in solving this matter

    I'll find a solution with your advices!
  12. Replies
    11
    Views
    2,201

    Re: Visual Studio: runtime problems for an exe

    I'll change my question so maybe there will be more chances to succeed: an executable has been created with this same source code I am using.

    Why do I get an "Access Violation" error (reading at...
  13. Replies
    11
    Views
    2,201

    Re: Visual Studio: runtime problems for an exe

    I have another exe file which calls the SAME library (I compared MD5 hases and they are identical... dimensions too so let's not jump to collision exploits with fantasy) and it does not crash. It...
  14. Replies
    11
    Views
    2,201

    Re: Visual Studio: runtime problems for an exe

    Thank you both for you answers. OpenCV will be the next road to be taken then.

    Meanwhile, I think Paul had a point..

    Here's the code of the executable that incapsulates the DLL methods in a...
  15. Replies
    11
    Views
    2,201

    Re: Visual Studio: runtime problems for an exe

    I don't know dude because it's included in this package:
    http://www.vision.ee.ethz.ch/~surf/SURF-V1.0.9-WinDLLVC8.tar.gz

    and ****... the source isn't included.

    Searching for another...
  16. Replies
    11
    Views
    2,201

    Visual Studio: runtime problems for an exe

    I compiled this code http://www.vision.ee.ethz.ch/~surf/download_ac.html for VC8.0 (2005) with Visual Studio 2008

    The code is essentially a simple console exe file which calls an external dll...
  17. Replies
    0
    Views
    3,927

    RCA -> USB -> C++: how?

    I have a wireless camera with RGB exit cable (PAL) and I was planning to control the video via C++ code

    The idea was to use something like EasyCap adapter (RCA to USB with a driver CD) to let the...
  18. Replies
    4
    Views
    7,116

    Re: Intercept a WM_ message into a class

    Okay, solution is on the way. I'll start working asap and if I have more problems I'll let you know

    Thanks
  19. Replies
    4
    Views
    7,116

    Re: Intercept a WM_ message into a class

    Thank you for your interest.

    I need to intercept WM_DEVICECHANGE in my C++ class. The purpose of this class was to let everyone use a HID device more easily (a wrapper for the HID apis)

    So I am...
  20. Replies
    4
    Views
    7,116

    Intercept a WM_ message into a class

    I was wondering how to intercept a WM_ specific message into a C++ class, I need to use the RegisterDeviceNotification function to register a specific WM_ message (I need a window here right?) and...
  21. Replies
    5
    Views
    1,118

    Re: Wmessages handler without mfc

    I was thinking at the "windows.h" thing.. Mfc have some problem with it and always give errors like "windows.h should not be included with mfcs", but if I do not use it what's the solution?
  22. Replies
    5
    Views
    1,118

    Re: Wmessages handler without mfc

    Perfect, exactly what I needed. Thank you both.

    Just another doubt: I have to create a wrapper class for a specific protocol, the purpose of this class is to be useful and easy to use for other...
  23. Replies
    5
    Views
    1,118

    Wmessages handler without mfc

    What is the equivalent of the construct
    ON_MESSAGE(WM_winmessage, EventHandler)

    in win32 C++? I mean without using mfcs
Results 1 to 23 of 23





Click Here to Expand Forum to Full Width

Featured