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

Search:

Type: Posts; User: Rob Wainwright

Page 1 of 3 1 2 3

Search: Search took 0.19 seconds.

  1. Replies
    0
    Views
    1,650

    Multi column tree view

    I have a tree view control where I want to insert items with a couple of columns aligned vertically. With the standard Tree View control, I can get this to work - but only with a fixed font - and I...
  2. Re: Developing 16-bit app using VC++6.0

    VC++6 only produces 32-bit code.

    I support some legacy 16 bit code and we do a lot of the development work using VC++ 6 and then when we need to bring it into production, VC++1.5 is used. You...
  3. Anyone know of any tricks to improve importing of data into a database ?

    Hi,

    I am working on some code that is to take three files (each with approx 100,000) records in them and inject them into a number of SQL tables. The format of the files don't directly correspond...
  4. Replies
    1
    Views
    652

    Re: Calling thread in NT Service

    My only thought is that the Service is probably not using the interactive desktop for the logged in user, but it is using one of the other desktops. This is normally desired behaviour for Services....
  5. Replies
    1
    Views
    683

    Re: Minimum Requirements for DCOM

    You do have to create and register the proxy on the client side.

    Useful books on DCOM are Inside DCOM and Professional DCOM Programming
  6. Replies
    3
    Views
    679

    Re: All files in directory

    With the Win32 API, ::FindFirstFile and ::FindNextFile.

    With MFC I think there is a wrapper class called CFindFile
  7. Replies
    9
    Views
    1,283

    Re: Urgent: GPF Trapping

    If you're looking to trap 'all' GPFs that are raised through an MFC (or any Win32 application), this is possible through changing the function that is called when an unhandled exception is called...
  8. Replies
    0
    Views
    531

    NTFS Streams

    Has anyone got any experience of using the Win32 API to create NTFS streams ? The ::CreateFile API works fine to open them, but how do I look at a file sitting on an NTFS partition to find out...
  9. Re: problem with thread local storage???

    Good article on this in Advanced Windows by Richter.

    Are you sure anything else is using the TLS (e.g. MFC) ?

    The other thing I remember from TLS is that it only has 64 (??) data items for use...
  10. Replies
    7
    Views
    1,356

    Re: Virtual Func Problem

    Because the presence of a virtual function declared in the derived class hides the base class function.
  11. Replies
    1
    Views
    537

    Re: _UNICODE and new

    Never seen this one, have you defined both UNICODE and _UNICODE as both have to be defined.
  12. Replies
    9
    Views
    1,395

    Re: Multilanguage stuff

    We have one dll which holds all our resources and dialogs that are needed through our project. We have multiple rc files (one per language) and simply recompile.

    There is a Microsoft book...
  13. Re: Get a pointer to a fix physical memory address

    Look under help for based addresses.
  14. Replies
    1
    Views
    453

    Re: The UI under DCOM

    Sounds like the remote service is running under a different desktop than the active desktop. This is the standard behaviour for remote services (as normally you don't want to hang the client machine...
  15. Replies
    1
    Views
    2,820

    Re: Where to get WinObj.exe ????

    Its in the Win32 Resource kit.

    The quickest way is to search the Web for it. I downloaded it a couple of weeks ago.
  16. Replies
    2
    Views
    656

    Re: Multiple Clients

    Using what technology ? Windows Sockets ? RPC ? COM/DCOM ? Mailslots ? Named Pipes ?
  17. Re: How to get free memory space and drive space

    Look at GetFreeSpace and GetFreeSpaceEx.
  18. Replies
    2
    Views
    631

    Re: pure virtual destructor

    Pure virtual destructor is an estoric part of C++. I don't know of any reason to have one (unless your class must be an abstract base class but you haven't any sane functions to make pure virtual...
  19. Re: How do I eleminate a Collision Error

    Collision on dll load addresses is handled by the operating system and the only thing it affects is the load time of the project (unless you're using base addresses - which is highly unlikely).
    ...
  20. Replies
    1
    Views
    662

    Re: to budget an application

    All of the tasks outlined here don't look to complicated but I don't think you can rely on any metrics are given. If this is a one man/small team project (which it looks like it is), the time it...
  21. Replies
    2
    Views
    864

    MIDL and internal compiler errors.

    Having the misfortune of working on a large scale COM project (hundreds of objects and thousands of methods) and finding strange errors when using MIDL inside a DOS session. For a number of our...
  22. Re: COM notification on client/server crash?

    As far as I'm aware with COM/DCOM (as it stands) the only way you'll figure this out is to wait for the COM timeout period (i.e. six minutes) From then on, all calls will return immediately with a...
  23. Replies
    7
    Views
    1,252

    Re: Using MFC in a EXE COM Server

    Goto Project Settings, and the General Tab. It should have displayed "Not Using MFC". Pull down the combo box and select one of the MFC options. I think this automatically updates the link options...
  24. Replies
    7
    Views
    1,252

    Re: Using MFC in a EXE COM Server

    Certainly is possible. How to include it depends on what your COM server is being implemented in. If you're using ATL, it gives you an option on project creation to include MFC by default.
  25. Replies
    2
    Views
    670

    Re: CoCreateInstanceEx

    You need to define _WIN32_DCOM (or something like it). Open up the objbase.h header file, search for CoCreateInstanceEx and the #define is just before it
Results 1 to 25 of 69
Page 1 of 3 1 2 3





Click Here to Expand Forum to Full Width

Featured