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

Search:

Type: Posts; User: zvivered

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. MSDEV 2008: Display image from data stream in MFC

    Hello,

    My application gets data from USB interface and has to display it as an image.
    Each byte in the stream is a pixel in the image (0..255, gray scale).

    What is the right way to display the...
  2. Replies
    5
    Views
    437

    Re: Access from CDocument to CMDIChildWnd

    Dear Victor,

    You help is highly appreciated.

    Best regards,
    Zvika
  3. Replies
    5
    Views
    437

    Re: Access from CDocument to CMDIChildWnd

    Dear
  4. Replies
    5
    Views
    437

    Re: Access from CDocument to CMDIChildWnd

    Hello,

    MDIGetActive returns only the active frame.
    But I have 2 (or more) doc-view pairs all displayed in the same MainFrame.
    Each doc runs a thread that has to update its CMDIChildWnd object....
  5. Replies
    5
    Views
    437

    Access from CDocument to CMDIChildWnd

    Hello,

    I'm developing an MDI(MFC) application (with MSDEV 2010) that creates few pairs of doc-view.
    From the CDocument object I want to access the CMDIChildWnd object to update the status BAR. ...
  6. Replies
    0
    Views
    391

    Sending class via UDP/TCP

    Hello,

    I'm using the following class to store date:


    class CSubClass
    {
    public unit Name;
    public uint[] Table;
    }
  7. Replies
    4
    Views
    2,391

    Re: Add tab page with user control at runtime

    Hi,

    Attached a snapshot of the properties of a tab page.

    Is it possible to specify the user control dragged into the tab page ?

    Where ?

    Thanks.
  8. Replies
    4
    Views
    2,391

    Add tab page with user control at runtime

    Hi,

    I created a user control and added it to a tab page.
    If I add the tab page to the tab control using the resource editor it works.

    Now I want to add the page at runtime using the...
  9. Re: Serialize a class before sending with socket

    Hi,

    This works great when you send/receive messages from other PCs running C#.

    The serialize method inserts into the stream some bytes that are not part of the message itself. Those bytes are...
  10. Re: Serialize a class before sending with socket

    I tried the following code to convert a struct to array of bytes:




    struct PcToTgtIsAlive
    {
    int a;
    int b;
    int c;
  11. Re: Serialize a class before sending with socket

    Hi,

    Do you have any sample code ?

    Thanks.
  12. Serialize a class before sending with socket

    Hi,

    I have the following class:


    [Serializable()]
    class Class1
    {
    private int a;
    private int b;
  13. Replies
    8
    Views
    1,064

    AfxGetApp in C#

    Hello,

    In Visual 6, MFC 4.2 I had AfxGetApp. I used it to get the application object from all other objects. In this class I added some fields and some set\get methods.

    How can I do the same...
  14. Replies
    1
    Views
    1,096

    Calling a C++/CLI method from C#

    Hello,

    In C# I want to call a C++/CLI method that get 2 parameters:
    The first parameter (int a) is passed "by value"
    The second paramter (int *b) is passed 'by reference".
    The second parameter...
  15. Replies
    5
    Views
    625

    Re: Write files in memory

    Is there a simple way to create a RAM drive in Windows XP ?
    Thanks.
  16. Replies
    5
    Views
    625

    Write files in memory

    I want to use fopen,fwrite,fread on files in RAM, not on disk.
    Is it possible ?

    Thanks.
  17. Replies
    1
    Views
    578

    Developed under SP2 - Run under SP3

    I have an MFC application developed under Windwsow XP professional SP2.
    The application is installed and run on a Windows Embedded standard image (which is SP3).
    Are there any risks mixing SP2...
  18. Replies
    0
    Views
    823

    Installing a checked KMDF driver

    Hello,

    I want to install a KMDF checked driver with the checked co-installer.
    According to KMDF documentation this can be done on a PC with checked version of
    windows.
    I want to distribute a...
  19. Replies
    0
    Views
    1,094

    Waiting for an Interrupt from KMDF driver

    My KMDF driver for my PCI card gets a PCI interrupt from external source.
    The interrupt is properly handled in the driver.

    In the user application driver I should call to CreateEvent and then to...
  20. Replies
    0
    Views
    1,162

    Booting vxworks pentium4

    Hello,

    I created boot loader (bootrom.bin) for vxWorks 6.4 on pentium4.
    But when I tried using bootrom_uncmp.bin or vxWorks_rom.bin
    I got "...++++++++++++++++++++++++++!Rd" and vxworks did not...
  21. Replies
    0
    Views
    625

    KMDF for Windows 2000

    I'm using the Pci9x5x sample from DDK (Version 6000) for Windows 2000
    It seems that Win2000 does not recognize the INF file I created.
    The same INF file works on Windows XP.
    The sample INF file...
  22. Replies
    3
    Views
    2,917

    Working with 2 Ethernet cards

    Hello,
    My PC contains 2 ethernet cards each has different IP.
    I wrote a simple UDP client application that works OK on the default card.
    How can I change the application so that packets will be...
  23. Replies
    1
    Views
    954

    UUIDGEN - Universally unique identifier

    I guess UUIDGEN creates a number which is unique on the local PC I'm working.
    How can I be sure that this number is unique among all PCs in the world ?

    This number is used for creating the file...
  24. Replies
    0
    Views
    3,266

    KMDF: Device file name (DEFINE_GUID)

    Hello,

    Each driver is "opened" by the user by calling CreateFile.
    The name of the file constructed using the macro DEFINE_GUID.
    As in the PLX example:

    DEFINE_GUID (GUID_PLX_INTERFACE,
    ...
  25. Replies
    2
    Views
    1,537

    Re: Runing console application from MFC-SDI

    Thanks !
Results 1 to 25 of 94
Page 1 of 4 1 2 3 4



HTML5 Development Center

Click Here to Expand Forum to Full Width