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

Search:

Type: Posts; User: madric

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Thread: Sql insert

    by madric
    Replies
    0
    Views
    330

    Sql insert

    Hello!

    I have a table named PATIENTS defined (short version) as:

    SEQ INT AUTO-INCREMENT PRIMARY KEY
    SOURCE_SEQ INT (FOREIGN KEY)
    ID VARCHAR
    NAME VARCHAR
    STATUS INT
  2. Replies
    1
    Views
    459

    boost filesystem exception problem

    Hi,

    I have one problem deleting a file with boost. The file is opened in another application and cannot be deleted.
    I am supposed to received an exception error but I don't get it. Any idea why?...
  3. Replies
    6
    Views
    1,117

    Re: template class and string default value

    Thank you very much for all your answers.
    I will study the traits class, I am not very familiar with it but I feel that this is my best option.

    Thanks again!
  4. Replies
    6
    Views
    1,117

    template class and string default value

    Hi,

    I would like to define a templated class while implementing default value on templated arguments. I don't know how to do that with string templated variables.

    For exemple:


    template...
  5. Replies
    14
    Views
    10,031

    Re: shared pointer and up-casting

    Actually, this looks true.
    Here is a piece of very simple code, you can try it in your side:


    class B : public class A {...}

    void function1(const shared_ptr<A> &item) {

    ...
  6. Replies
    14
    Views
    10,031

    Re: shared pointer and up-casting

    That is very good. I guess I still have to learn about templates :(
    Took my lesson today, thank you very much.
  7. Replies
    14
    Views
    10,031

    Re: shared pointer and up-casting

    Thank you for the replies. The template idea is good but still I think it cannot solve my original problem.

    What I need to do is to have like a tree structure of items. I have a base class A that...
  8. Replies
    14
    Views
    10,031

    Re: shared pointer and up-casting

    Thank you laserlight for your answer.

    Yes, I thought about the possibility to send the raw pointer directly. But the function may or may not asking to share the ownership as well (by assigning the...
  9. Replies
    14
    Views
    10,031

    shared pointer and up-casting

    Hi,

    I trying to learn about the boost::shared_ptr and I have a problem.
    Let's say that I have a base class A and a derived class B.
    Using smart pointers, I would like to be as efficient as...
  10. Thread: boost streambuf

    by madric
    Replies
    2
    Views
    579

    Re: boost streambuf

    Thank you, I will have a look.
  11. Thread: boost streambuf

    by madric
    Replies
    2
    Views
    579

    boost streambuf

    Hi,

    I have developed a class that is similar to an iostream class. I use this class for reading and writing data into a list of buffers. Instead of having a single buffer that may be reallocated...
  12. Thread: CreateProcess

    by madric
    Replies
    17
    Views
    2,240

    Re: CreateProcess

    humm, there is misunderstanding about the compression. I don't want to compress the image in a zip folder. I have raw image that I need to compress in Jpeg2K or Jpeg. Those images are not just rgb...
  13. Thread: CreateProcess

    by madric
    Replies
    17
    Views
    2,240

    Re: CreateProcess

    I am sorry, but I disagree with you. I am not working in a perfect environment with perfect program and perfect images. The libraries I am using are open source libraries. Ok, if I will follow your...
  14. Thread: CreateProcess

    by madric
    Replies
    17
    Views
    2,240

    Re: CreateProcess

    Hi,

    Thank you all for your interest in my problem.
    I finally solved it.

    My CreateProcess function was calling my console application "Compression.exe" with some parameters. When the...
  15. Thread: CreateProcess

    by madric
    Replies
    17
    Views
    2,240

    Re: CreateProcess

    humm, this is what I was afraid about. Everybody will not try to explain me how to create a new process from a program that runs as a service. Which was my question and a general problem anyway that...
  16. Thread: CreateProcess

    by madric
    Replies
    17
    Views
    2,240

    Re: CreateProcess

    Can't do that :(
  17. Thread: CreateProcess

    by madric
    Replies
    17
    Views
    2,240

    CreateProcess

    Hi,

    I am having difficulties with the CreateProcess function.
    I have developed a server application that can receive images from a socket. If the received images are not compressed, I want to...
  18. Replies
    3
    Views
    1,109

    Re: WM_COMMAND and WM_USER

    Finally, I found the solution.
    I cannot intercept the user messages with the PreTranslateMessage function, but if I add a function to handle them with the macro ON_MESSAGE(message, memberFxn), it...
  19. Replies
    3
    Views
    1,109

    WM_COMMAND and WM_USER

    Hi,

    I have in my software a non modal popup dialog window. From a different thread, I send WM_USER messages to this window. I intercept those messages inside the PreTranslateMessage of the Dialog...
  20. Replies
    1
    Views
    397

    Calling function name

    Hi!

    I am now developing some tools to detect memory leaks in my program. I found out that I can know the name of the current function with __FUNCTION__. It would be very more useful to know the...
  21. Thread: client socket

    by madric
    Replies
    0
    Views
    776

    client socket

    Hi,

    I am trying to create a CAsyncSocket class like to work on linux, iphone and win32 as well. It is almost finish but I have one problem that I don't know how to solve.

    My concern is about...
  22. Replies
    2
    Views
    536

    Re: Asynchronous sockets

    Thank you for your reply.

    The problem is not (yet) about the deletion of the socket but about the connection.
    I have never used the "select" function. If a socket is connected, does the select...
  23. Replies
    2
    Views
    536

    Asynchronous sockets

    Hi all,

    I am trying to develop an asynchronous socket class that would work in a similar way that CAsyncSocket on windows (MFC). My target is to use it also under Linux.

    My first problem is...
  24. Replies
    1
    Views
    1,756

    Socket connection and select

    Hi all,

    I am trying to develop an asynchronous socket class that would work in a similar way that CAsyncSocket on windows (MFC). My target is to use it also under Linux.

    My first problem is...
  25. Replies
    3
    Views
    741

    Visual Studio 2010

    Hi,

    This post is not related with a C++ issue, so I apologize if I should have ask my question here.
    But recently, one of my colleague and I have downloaded the trial version of Visual Studio...
Results 1 to 25 of 102
Page 1 of 5 1 2 3 4


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center