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

Search:

Type: Posts; User: Quell

Page 1 of 39 1 2 3 4

Search: Search took 0.19 seconds.

  1. Re: Inheritence with teamples and member classes

    Thx alot for the response. Yeah i know the code is dirty as hell, but i guess typedefs are the only proper way to go here.
  2. Inheritence with teamples and member classes

    Hey.

    I ran into a problem recently, where code that i wrote on MSVC doesn't compile on GNU. Here is a sample:



    #include <iostream.h>

    template <typename T>
    class Base
  3. Replies
    2
    Views
    848

    Re: Diffrent Types of View in MDI

    Crap, yep you are right.

    Posted this prematurely, MSDN solved all the problems nicely :D

    Thx alot
  4. Replies
    2
    Views
    848

    Diffrent Types of View in MDI

    Hey.

    I was looking for a good way to add different types of view/documents to an MDI application. So have a ScrollView, simple View , FormView all living in a single MDI. I've never seen something...
  5. Online Banking - Read Only Access to Information

    Hey.

    I am looking for information about some online banking. Basically just read-only access to an account (assuming I have all the credentials) for transactions etc... (basically just the...
  6. Replies
    5
    Views
    9,404

    Re: FillSolidRect & DrawText

    Ah, thx i will be looking into that.

    Basically my problem is as follows (sry for crappy explanation b4, it was 4 am :D).

    I need to draw a rectangle at some random x, y. I can draw that...
  7. Replies
    5
    Views
    9,404

    FillSolidRect & DrawText

    Hey.

    I recently ran into a problem trying to do some custom drawing in a view. (CScrollView derived). I use FillSolidRect to fill a rectangle, and then DrawText to render some text in OnDraw. The...
  8. Replies
    1
    Views
    690

    Re: GUI Type Scope and Instantiation

    Well first of all, u need to add:


    using namespace std;

    to get fstream etc to work.
    Global variables should be fine, thats now a problem.

    It's a good convention NOT to include .cpp files....
  9. Replies
    3
    Views
    845

    Re: Hash Map and Delegates

    Found a solution:


    CommandDelegate cmd = (CommandDelegate)Commands[ServCom.CommandName];
    cmd(ServCom);
  10. Replies
    3
    Views
    845

    Hash Map and Delegates

    Hey,
    I ran into the following problem. I created a hash map, and i am populating it with delegates.


    Commands.Add("ANS", new CommandDelegate(ANS));


    Now, this goes fine, but when i attempt...
  11. Replies
    3
    Views
    630

    Re: Capturing User Information

    Check out NetUserEnum.
  12. Replies
    14
    Views
    1,681

    Re: Working with large files.

    Yeah, the big files are kindof a pain in the ***, but they are here to stay,
    so I gotta come up with a good framework to deal with them.
  13. Replies
    14
    Views
    1,681

    Re: Working with large files.

    The memory shouldn't be a problem here, I intend to never map more then couple of mbs of files into memory at any given time. But is there a design performance hit when i use memory mapped files as...
  14. Replies
    14
    Views
    1,681

    Re: Working with large files.

    -Concept of a line in a file is a predefined number of bytes.
    - I know the number of lines based on the total size of the file (the data in the file is already aligned, so that a certain number of...
  15. Replies
    14
    Views
    1,681

    Re: Working with large files.

    Okey, here is more information.

    This is basically a text (same functionality) file. The data is seamless, there are no chapters, or any differentiation from first byte to last byte.

    Standard...
  16. Replies
    3
    Views
    31,553

    Re: What is LRESULT? How do I use it?

    It depends on what you are trying to do, but if you are using it from ON_MESSAGE the returned values usually doesn't matter. return 0L; should do fine.
  17. Replies
    14
    Views
    1,681

    Re: Working with large files.

    Say i have a 1 GB file (text file or something), and i wanna read it. I use scroll view with custom drawing to show the data as i scroll though the file. Now i can't really read in 1 GB file and draw...
  18. Replies
    14
    Views
    1,681

    Working with large files.

    Hey.

    I ran into a sort of a problem. I am attempting to work with large files efficiently (ie. 1 GB size for example), and my current implementaiton is lacking.

    I am using memory mapped files,...
  19. Replies
    6
    Views
    1,476

    Re: DWORD static vs static DWORD

    Thx alot, that explains it :D
  20. Replies
    6
    Views
    1,476

    DWORD static vs static DWORD

    Hey.

    I was wondering when u have a member function foo, what is the diffrence between:



    DWORD static foo();


    and
  21. Thread: Best IPC

    by Quell
    Replies
    4
    Views
    697

    Re: Best IPC

    Read up on mailslots and pipes. Also a mapped file might be able to do the trick.

    Usually i just use mailslots, but get more info on this on MSDN to find out which one fits you.
  22. Replies
    1
    Views
    3,865

    IWebBrowser2 :: OnBeforeNavigate

    Hey.
    I have the following problem: i hit some requirmnets in OnBeforeNavigate2 handler, and now i need to load a custom page into the IWebBrowser control. I can do it easily from the hard drive by...
  23. Replies
    1
    Views
    1,396

    What is 'OUT' keyword/macro?

    Hey.
    I noticed a few keywords/(macros?) in a program. The exact was usage was as follows:


    voi functionhere(...., OUT TCHAR* pszStr, ....).....

    I was wondering what does OUT mean before...
  24. Replies
    0
    Views
    2,795

    IMAPIAdviseSink -> Getting Notifications

    Hey,
    I recently had some problems with the IMAPIAdviseSink implementation that i made. It intercepts the messages sent from my program, but not from the rest of the OS. So if i send a message from...
  25. Replies
    1
    Views
    1,374

    Re: IMAPIAdviseSink Problem

    Okey,
    I think i figured out the compilation error. I forgot a definition before the object. However i am still having some problems with the code


    #define INITGUID
    #define...
Results 1 to 25 of 957
Page 1 of 39 1 2 3 4





Click Here to Expand Forum to Full Width

Featured