Search:

Type: Posts; User: aker_y3k

Page 1 of 6 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    1,677

    Roger, it works, thanks a lot.

    Roger, it works, thanks a lot.
  2. Replies
    5
    Views
    1,677

    Ah sounds logical to me! Cool, thanks. Is this...

    Ah sounds logical to me! Cool, thanks. Is this thread safe, though?
    But what if the application crashes before the CloseHandle is called? No other application will be allowed to run, as the event...
  3. Replies
    5
    Views
    1,677

    Only one instance of application.

    I must forbid the running of another instance of my app if itsd already running. I tried if (hInstance == hPrevInstance) but that obviously didnt work.

    How can this be achieved?
    Thanks
  4. Replies
    5
    Views
    5,186

    Ah, thanks. I read it, but didn't understand it.

    Ah, thanks.
    I read it, but didn't understand it.
  5. Replies
    5
    Views
    5,186

    Very.. informative.. I've been there many times,...

    Very.. informative.. I've been there many times, thanks. Anything else?
  6. Replies
    5
    Views
    5,186

    CreateWindowEx and last parameter..

    Can someone explain the use of the last parameter in the CreateWindowEx, called void* pParam or something like that?
    I believe it is used to pass a pointer to be used with the WndProcedure, but im...
  7. Replies
    3
    Views
    1,238

    Ok, it works. thanks

    Ok, it works. thanks
  8. Replies
    3
    Views
    1,238

    Chaning the key of a hash_map entry

    Hi,
    I have a hash_map and I need to change a hash_map's key to another. The keys in this case are std:: strings. Say I have 2 objects registered, "obj1", "obj2". I want to rename the hash entry...
  9. Replies
    11
    Views
    1,969

    Cool I will try all and post the reuslts! thanks

    Cool I will try all and post the reuslts! thanks
  10. Replies
    11
    Views
    1,969

    Variadic functions, that one. Didn't know the...

    Variadic functions, that one. Didn't know the term. Now, what didn't I explain well? I want to create a string from the variable argument list in the function parameters..
  11. Replies
    11
    Views
    1,969

    What? I was asking about the ... parameter.Read...

    What?
    I was asking about the ... parameter.Read it again.
  12. Replies
    11
    Views
    1,969

    string and function parameter

    Hello,
    I've been trying to use std:: string with the function's ... functionality. I know how to do it with char*. Anyone can help?



    void Error (string format, ...)
    {
    va_list ap;
    ...
  13. Replies
    1
    Views
    1,066

    Adding include directories [VS2003]

    This isn't a C++ related question, but I didn't know where else to ask. I need to make a batch file taht automatically adds include directories to VS2003. Is this possible?
  14. Replies
    1
    Views
    776

    Overloaded cast?

    Hello,
    Is there a way to overload the way my class is casted to another object? For example, this is my class:


    class CClass1
    {
    public:
    Class1(int num) { i = num; }
    blah blah
  15. Replies
    2
    Views
    1,209

    Nevermind, I found it, the destructor of the...

    Nevermind, I found it, the destructor of the VolatileResource class needed to be virtual. But why is that needed? (The class is abstract)
  16. Replies
    2
    Views
    1,209

    DLL boundaries and delete.

    Hello,
    I'm having a problem here obviously.. I have a dll and an application using it, which needs to insert an object instance in a list in the dll through a function like:


    IVolatileResource*...
  17. Replies
    2
    Views
    1,189

    Ahh it was SO easy?? Thanks man.

    Ahh it was SO easy??
    Thanks man.
  18. Replies
    2
    Views
    1,189

    Directory string conversion.

    In my program, I have a directory string:
    C:\\test\\media\\..\\img\\1.bmp

    Now, my problem is that I need to have the absolute directory from the above, pointing to C:\\test\\img\\1.bmp
    What's...
  19. Replies
    4
    Views
    5,221

    I see. But who said that I didn't need a map?...

    I see.

    But who said that I didn't need a map? Vector was just a small replacement, with a name in the structure.

    Anyway thanks
  20. Replies
    4
    Views
    5,221

    std::map speed?

    I think that std::map is a hashtable, right? So it should be fast returning a value from a key. Last time I tested it, I remember myself changing to vector cause map was too slow. Was I wrong?
    I...
  21. So what should I do to pass a structure which has...

    So what should I do to pass a structure which has the align(16) in front of it?
  22. __declspec(align(16)) and function parameters

    Hello,
    I am using align(16) to align a structure. I use
    typedef __declspec(align(16)) Vector3 Vec3;

    Now, I am passing that Vec3 to a function, but the compiler (MSVC++ 7) says that...
  23. Replies
    5
    Views
    3,616

    I don't care about adobe, I need to make a...

    I don't care about adobe, I need to make a program so that it can take all pictures in a directory and add a specific watermark on 0,0 at the image, a string.
  24. Replies
    5
    Views
    3,616

    Writting watermark to image.

    Hello,

    I am trying to figure out how to write a watermark text on an image I load. Would a simple textout do the job? I don't have experience in manipulating pixel data, so can somebody help me?
    ...
  25. Replies
    5
    Views
    1,392

    This is great, thanks.

    This is great, thanks.
Results 1 to 25 of 132
Page 1 of 6 1 2 3 4