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

Search:

Type: Posts; User: nfireman

Page 1 of 2 1 2

Search: Search took 0.04 seconds.

  1. Replies
    19
    Views
    1,563

    Re: textbook advice please

    I would recommend you to read Effective C++ of Scott Meyers, it is helpful in c++ and fun for reading.
    You can also check out this web site for more books on c++,...
  2. Replies
    5
    Views
    844

    Re: Sharing memory for Applications

    I will focus my question. I need to access big structures of data from many application. Only one application should write to this memory and all others should be able to read from that memory (speed...
  3. Replies
    5
    Views
    844

    Re: Sharing memory for Applications

    I know that even in .NET there is an option to "PIN" data in the memory. I beleive that such memory which is not guarded by the GC will be faster for access. Anyway if I'm using some memory for the...
  4. Replies
    5
    Views
    844

    Sharing memory for Applications

    I would like to share memory between Application in .NET in such a way that access to that memory will be as fast as possible. Speed is a main issue here since I'm dealing with large chunks of data...
  5. Replies
    1
    Views
    449

    Testing Internet Connection

    I'm trying to test whether I have an Internet connection using this

    if (gethostbyname("www.google.com") != NULL)
    {
    cout << "Internet Connection already exists" << endl; return 0;
    }
    from...
  6. Replies
    12
    Views
    1,335

    Re: Searching a Process

    Babylon is a comercial program (www.babylon.com) for translation, my mistake that I assumed it's known.


    I don't know whether the window is destroyed or not!

    Anyway I've liked much the...
  7. Replies
    5
    Views
    4,489

    Re: syntax error : identifier 'ifstream'

    I think that the .h version of fstream is not used anymore and you should use #include <fstream> without the .h

    when using objects like ifstream use them either std::ifstream. Or just use the...
  8. Replies
    12
    Views
    1,335

    Re: Searching a Process

    By the way, I'm using Windows2000. It's an organizational decision not mine :-) sorry ...
  9. Replies
    12
    Views
    1,335

    Re: Searching a Process

    Sorry guys, all of these solutions looks very crude. Isn't there something more elegant for enumerating processes in C++.
    I've tried the EnumProcesses in Psapi.h but it didn't compile, I needed to...
  10. Replies
    12
    Views
    1,335

    Searching a Process

    Actually what I'm trying to do is to check whether Babylon is running or not. I've tried using FindWindow and it worked but it didn't when babylon was minimized to the system tray. So I thought that...
  11. Thread: delete NULL

    by nfireman
    Replies
    8
    Views
    1,514

    Re: delete NULL

    Thanks, cilu. This is exactly what I needed.
  12. Thread: delete NULL

    by nfireman
    Replies
    8
    Views
    1,514

    Re: delete NULL

    Hey guys.
    I really appreciate your help, but this still doesn't answer my question.

    Now what I mean, is whether it is always safe. And if it is, can you supply proof/references for that.
    Thanks,
  13. Thread: delete NULL

    by nfireman
    Replies
    8
    Views
    1,514

    delete NULL

    Is it safe to always delete NULL or delete 0?
    Or do I have to test against it?


    void destroy(int *p)
    {
    delete p;
    }

    or
  14. Replies
    5
    Views
    757

    Re: object instantiation

    You mean that you are declaring it global, don't you? And yes post your code it will help us help you ...
  15. Re: Restarting, controlling an external application with C++?

    You could use the system command just like that:


    #include <process.h>
    #include <string>
    using namespace std;

    int main()
    {
    string sShellCommand = "start notepad";
  16. Replies
    4
    Views
    993

    Re: Stop 0xC2 or BAD_POOL_CALLER

    Mabe you should try to recreate the "crash" in small scale.
    Write a small program to do that and then ask your question again.
  17. Replies
    2
    Views
    1,525

    Re: COM - JavaScript

    Thanks but I found the answer and it is rather simple, all I have to do
    is the following

    var myVariable;
    myVariable = new ActiveXObject("ServerName.ClassName");

    All you need to do is replace...
  18. Replies
    2
    Views
    2,681

    Re: How to refresh the system tray

    All you have to do is to add a notify icon (System.Windows.Forms.NotifyIcon class) to your Form (you can drag it directly from the ToolBox onto your Form and it will show just below it). After that...
  19. Replies
    2
    Views
    1,525

    COM - JavaScript

    How can I connect to a COM object from a JavaScript script written in an html page. :confused:
  20. Replies
    0
    Views
    419

    Disabled buttons events

    I need to be able to show tooltips on disabled buttons.
    I've seen that no events are arriving to a button when it is disabled, why? and how can I understand in code that the mouse is hovering over a...
  21. Replies
    2
    Views
    877

    Disabled button

    I need to be able to show tooltips on disabled buttons.
    I've seen that no events are arriving to a button when it is disabled, why? and how can I understand in code that the mouse is hovering over a...
  22. Replies
    2
    Views
    2,681

    How to refresh the system tray

    :)
    I have an application that I'm using from a .NET application.
    When my application starts it loads the other one which in its turn adds an icon in the system tray.
    :(
    The problem is that...
  23. Replies
    5
    Views
    1,108

    Re: Convert struct to an array

    Thanks a lot guys, I actually needed this also for arrays and what you've written realy helped me, thanks again.
  24. Replies
    5
    Views
    1,108

    Convert struct to an array

    How can I convert a structure to an array of bytes in C#?
    I have many structures that I need to convert at run time to array of bytes in order to send them over a communication medium.
  25. Thread: Refreshing

    by nfireman
    Replies
    1
    Views
    571

    Refreshing

    I have an application that is doing an intensive work. While it working the screen is holding. I wanted to put that "hard work" into a working thread but I understood that threads and vb don't go...
Results 1 to 25 of 45
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured