Search:

Type: Posts; User: BrownB

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    2,629

    on method pointers and inheritance

    Hello everybody.

    My project is composed by some dialogs of base type CMyDlg which receives characters and manages them by a function "OnCharReceived" called by the environment upon char...
  2. tips about managing application parameters/configuration

    Hello everybody, I'm looking for tips about managing configuration parameters of a window / sub-application.

    I need to manage customizable relations between those parameters, which should be...
  3. Replies
    5
    Views
    1,499

    So I'm not going to expect that VisualC++...

    So I'm not going to expect that VisualC++ supports it....:P

    Thank you for the explanations ^___^
  4. Replies
    5
    Views
    1,499

    Looking around I found that the question could be...

    Looking around I found that the question could be better expressed in this words: how does c++ evaluate compound statements( same as "blocks")? Does blocks evaluate to something (an address, an...
  5. Replies
    5
    Views
    1,499

    Functions as "#define"

    Hello, I found this code on the internet:


    #define _LPM(addr) \
    ({ \
    UInt16 __addr16 = (UInt16)(addr); \
    UInt8 __result; \
    __asm__ ...
  6. Replies
    2
    Views
    963

    found a first solution

    ...it was obvious: SendMessage( pDialog, WM_PAINT ) make the window to be drawn immediately without making it "modal".
  7. Replies
    2
    Views
    963

    Looking for hints on "layered" drawing

    Hello, I need to create a surface to draw on it. This surface (the upper layer) should ovelap the base "layer", which should be updated with graphic while the upper layer is shown. Note that the size...
  8. Ok, let's say something like this: UINT...

    Ok, let's say something like this:


    UINT MyDlg::privGetNumCharsInQueue(CHAR c)
    {
    MSG msg;
    UINT count = 0;
    UINT k = 0, i = 0;

    #define MAX_MESSAGES 10
  9. Getting a message with wanted lparam from queue

    Hello! I'm using a custom WM_MYCUSTOM message to send chars received by a thread to my Dialog using PostMessage(). Each char is sent as parameter of that message.
    Now, during elaboration of that...
  10. Replies
    1
    Views
    2,451

    Multithread drawing problem

    Hello, I'm trying to draw using CDC objects, each drawing action is done in a thread function. Let's show some code:


    void CMyClass::Draw( CDC *pDCin )
    {
    m_pDC = pDCin;
    AfxBeginThread(...
  11. Replies
    8
    Views
    1,972

    Thank you Elysia, I'll keep trying, it's...

    Thank you Elysia, I'll keep trying, it's important enough that the call from the thread to the class's method it's ok now, so it can be excluded. I'll let you know :-)
  12. Replies
    8
    Views
    1,972

    First, thank you to keep going on helping me^^....

    First, thank you to keep going on helping me^^.
    Removing the cast didn't change the situation: the compiler doesn't comply, and compiles without warnings. The called functions still can't access to...
  13. Replies
    8
    Views
    1,972

    I did everything you suggested, but doesn't...

    I did everything you suggested, but doesn't work...now this is the current situation:


    class CMyDlg : public CDialog
    {
    ....
    private:
    void privExecCommand( CHAR cmd );
    static UINT...
  14. Replies
    8
    Views
    1,972

    problem calling a function from a thread

    Hello, I need help about this thing. For shure this have been seen many times but I just can't find the keywords to search about....:P Here is the problem:

    I have a CDialog derived window with a...
  15. Replies
    1
    Views
    1,071

    Looking for "multilanguage tecnique"

    Hello, I'm developing an application with VisualC++, and I need to use strings in more than one language. Until now, I wrote only English text labels, controls or messages, directlyin the code. Now...
  16. Replies
    1
    Views
    1,974

    Some doubts on DLLs

    Hello, I'm almost new on working with Dlls, I've read most but I have some questions.

    1) the functions in a Dll can access to the global memory of the calling application; true?
    2) as an exe, the...
  17. What about an example on my previous code?:) that...

    What about an example on my previous code?:) that would be very useful for me!I know something about those OOP topics, but can't see how to use them in this case...perhaps I should feel a bit...
  18. Assign class action using function pointers....

    Hello, I'm still a beginner with C++, while being "well trained" with C. I'm developing a class for a customizable GUI control, which lets you assign a Paint function.

    To do that I use function...
  19. Replies
    1
    Views
    1,398

    help on Compact Flashes MBR /Boot Sector

    Hello, I'm using CF cards as Hard Disks (TrueIDE mode) on a cutom hardware. There I can find MBR informations and partitions Boot Sectors. I followed the ufficial indications to parse MBR...
  20. a solution

    I found a solution, I'm writing it here, perhaps someone would discuss it or find it useful.
    1) I formatted a USB pen drive with the "HP USB Disk Storage Format Tool", which can be downloaded from...
  21. Windows system disk on an USB storage: possible?

    Hello, I have this problem: I have a panel PC which has WinXP embedded and WinXP professional on two partitions. Only the XP Embedded partition is a system partition. Thi panel PC has only USB and...
  22. hints about managing multi-programmers projects

    Hello, I was wondering about managing code source files between many programmers: should everyone "sign" in the code every modification he does? Should the file being modified by a programmer be...
  23. Replies
    3
    Views
    1,893

    Thank you Salem, but how did you get the data in...

    Thank you Salem, but how did you get the data in your csv file? By hands? I have more than 1000 points to export, so manual export is not possible...I'm googling and searching in Borland help and...
  24. Replies
    3
    Views
    1,745

    Setting the affinity worked great, that was the...

    Setting the affinity worked great, that was the problem. My application isn't using correctly graphic threads, so using Dual Core (as in the past using HyperThreading) causes the two graphic threads...
  25. Replies
    3
    Views
    1,893

    looking for Borland Builder hints

    Hello, I'm working on Borland C++ Builder 5. I'd like to export arrays of data during debug to a software to graph them, like excel or matlab, but I can only visualize arrays without be able to...
Results 1 to 25 of 106
Page 1 of 5 1 2 3 4