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.05 seconds.

  1. UdpClient : message is redirected to the wrong NIC

    Hello,

    I'm running WinForms application under Server 2008-64.

    The server contains 5 Ethernet cards each has a different IP in a different segment: 10.120.10.200, 192.168.2.1, 169.x.y.z ...
    ...
  2. Replies
    3
    Views
    1,384

    Winforms: Arrange controls relatively

    Hello,

    I built a Winforms application with a tab control that contains few pages.
    On each page there are simple controls like: TextBox,ComboBox,Checkbox

    On a 20'' screen, I see all...
  3. Re: Calling C++ dll from C#: Attempted to read or write protected memory

    When a class has attributes it's methods can not be called from C# using P/invoke. With P/invoke, no object is created so no memory is allocated.

    The C++ class must be wrapped with C++/CLI class...
  4. Calling C++ dll from C#: Attempted to read or write protected memory

    Hello,

    From a C# console application I'm trying to call a constructor + methd of a C++ class.
    The P/invoke is:

    [DllImport("MyClass.dll", EntryPoint = "?Set@CMyClass@@QAEXH@Z")]
    ...
  5. Replies
    1
    Views
    1,381

    Re: CLR profiler: log file is not created

    Hello,

    When I downloaded and used an older version, all menu items are availiable upon application termination.

    It seems that in the newest version further steps (environment variables ?) are...
  6. Replies
    1
    Views
    1,381

    CLR profiler: log file is not created

    Hello,

    I downloaded the source files and binaries for the CLR profiler.

    I'm running the profiler on windows 7-32.

    I launched the profiler (32bit version) and launched a C# console...
  7. 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...
  8. Replies
    5
    Views
    2,562

    Re: Access from CDocument to CMDIChildWnd

    Dear Victor,

    You help is highly appreciated.

    Best regards,
    Zvika
  9. Replies
    5
    Views
    2,562

    Re: Access from CDocument to CMDIChildWnd

    Dear
  10. Replies
    5
    Views
    2,562

    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....
  11. Replies
    5
    Views
    2,562

    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. ...
  12. Replies
    0
    Views
    611

    Sending class via UDP/TCP

    Hello,

    I'm using the following class to store date:


    class CSubClass
    {
    public unit Name;
    public uint[] Table;
    }
  13. Replies
    4
    Views
    4,633

    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.
  14. Replies
    4
    Views
    4,633

    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...
  15. 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...
  16. 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;
  17. Re: Serialize a class before sending with socket

    Hi,

    Do you have any sample code ?

    Thanks.
  18. Serialize a class before sending with socket

    Hi,

    I have the following class:


    [Serializable()]
    class Class1
    {
    private int a;
    private int b;
  19. Replies
    8
    Views
    3,632

    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...
  20. Replies
    1
    Views
    1,449

    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...
  21. Replies
    5
    Views
    1,001

    Re: Write files in memory

    Is there a simple way to create a RAM drive in Windows XP ?
    Thanks.
  22. Replies
    5
    Views
    1,001

    Write files in memory

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

    Thanks.
  23. Replies
    1
    Views
    822

    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...
  24. Replies
    0
    Views
    968

    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...
  25. Replies
    0
    Views
    1,451

    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...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4





Click Here to Expand Forum to Full Width

Featured