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

Search:

Type: Posts; User: sszd

Page 1 of 15 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    17
    Views
    1,599

    Re: Passing STL arguments through shared libaries

    This is something we are certainly considering and will probably end up with.
  2. Replies
    17
    Views
    1,599

    Re: Passing STL arguments through shared libaries

    Thanks for the clarification. Unfortunately that would mean the library providers would have to expose possibly proprietary code. Some may be willing to do so, but others I know are not.
  3. Replies
    17
    Views
    1,599

    Re: Passing STL arguments through shared libaries

    Ok, so what you're saying is to define a standard set of header files providing the necessary API. Then, provide these headers to the 3rd party developers for usage in their implementation of the...
  4. Replies
    17
    Views
    1,599

    Re: Passing STL arguments through shared libaries

    Great! Thanks for your help.
  5. Replies
    17
    Views
    1,599

    Re: Passing STL arguments through shared libaries

    Thanks for the quick response. So, we're talking about basic POD types? If I understand you correctly, the only safe API design would be to use only POD types for all input and output to a shared...
  6. Replies
    17
    Views
    1,599

    Passing STL arguments through shared libaries

    We have a small group on our program redesigning an API that is to be used by 3rd party developers to create a shared library that our system will use. The current API interface is extremely old,...
  7. Replies
    5
    Views
    915

    Re: How much memory allocated?

    Yes, I concur. The primary reason is we suspect there may be a memory leak within the library. If we can somehow determine how much memory it allocated, and then compared the memory usage after the...
  8. Replies
    5
    Views
    915

    How much memory allocated?

    We have a proprietary third-party library that we make calls into via an API. Through a series of API calls, this library manipulates specific sets of data. Prior to making these calls, there are...
  9. Replies
    1
    Views
    957

    Casting clarification

    I've read that using reinterpret_cast<> should rarely (if ever) be used. So, what is the proper thing to do in a case like this...


    uint64_t u = ; // Some unsigned int64 calculation
    int64_t* i =...
  10. Replies
    3
    Views
    604

    Re: Releasing heap memory???

    If this is true, then there may not actually be a memory leak. There is definitely high levels of workload on occasaions. Data comes in in spurts... there'll be nothing for periods of time, then...
  11. Replies
    3
    Views
    604

    Releasing heap memory???

    On a linux system at work, there is this one particular process that many of us have observed on occasion that will continue to grow in memory during specific processing periods, and never shrink. ...
  12. Replies
    44
    Views
    4,413

    Re: std::string and contiguous memory?

    I'm still having difficulty with this conversation between this one code reviewer and myself. I think I'm going to simply stop trying to convince him and just move on.

    The code review, as well as...
  13. Replies
    44
    Views
    4,413

    Re: std::string and contiguous memory?

    This is a good argument. Thanks.
  14. Replies
    44
    Views
    4,413

    Re: std::string and contiguous memory?

    I agree with this 100%. Sometimes I feel like I'm talking to a wall on some of these issues though. One of the arguments used by this "primary" code reviewer was "...the maintenance burden of using...
  15. Replies
    44
    Views
    4,413

    Re: std::string and contiguous memory?

    Thanks for the link. One question though, under the notes section it says... "Writing to the character array accessed through data is undefined behavior." Does this apply even to the C++11 standard...
  16. Replies
    44
    Views
    4,413

    Re: std::string and contiguous memory?

    Well, unless we were using a compiler that supports C++11, I am reluctant to use that construct regardless. And yes, I agree it's better to be safe than sorry. That's why I moved the contents into a...
  17. Replies
    44
    Views
    4,413

    Re: std::string and contiguous memory?

    Thank you for the reply. However, I was actually looking for quotes from the standards previous to C++11 since we are using older gnu compilers and have no intention on upgrading any time soon. ...
  18. Replies
    44
    Views
    4,413

    std::string and contiguous memory?

    I need some help arguing a point. Here's the situation. I recently wrote some code that required making several calls into a COTS API library where the function calls required one of the arguments...
  19. Replies
    6
    Views
    726

    Re: Client writing to itself???

    Sorry, the code is at work on a private network, so there is no way to post it.

    I guess I don't know what you mean by how did I implement it. The client simply establishes a socket and then waits...
  20. Replies
    6
    Views
    726

    Re: Client writing to itself???

    I did have one thought on this later that evening. I was actually running both the client and server on the same machine and had established socket connections for both the client and server to...
  21. Replies
    6
    Views
    726

    Client writing to itself???

    It's been several years since I've done any socket programming, so when I started messing with something recently I became very confused by some affects occurring that I thought should have worked. ...
  22. Replies
    1
    Views
    771

    Re: Embedded python using boost

    I'm still stuck on this. I've tried to post this on the boost users email list but am getting no responses there either. Does anyone have any thoughts on this at all. Thank you for your help.
  23. Replies
    1
    Views
    771

    Embedded python using boost

    I'm in the process of learning python, and embedding python into C++. I know very little about python so I've been playing around with many different types of interfaces and API's, with varying...
  24. Replies
    7
    Views
    596

    Re: Simple classes question

    I agree with GCDEF, it would be much easier to just make it an instance. If you insist on using pointers, you'll have to allocate them. You'll do this in your constructors (which you have neglected...
  25. Replies
    4
    Views
    1,944

    Re: Dynamic/static linking question

    Sorry for not getting back to you sooner on this (just been extremely busy lately). Anyway, thanks for the info, it worked perfect. I didn't realize you could directly specify the library name in...
Results 1 to 25 of 362
Page 1 of 15 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This a Codeguru.com survey!


HTML5 Development Center