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

Search:

Type: Posts; User: shootrz

Page 1 of 6 1 2 3 4

Search: Search took 0.01 seconds.

  1. Re: Passing array of struct as argument to unmanaged DLL

    Thanks for you reply.

    I tried the code you wrote, but it ended with the exception :
    Object contains non-primitive or non-blittable data

    when it calls GCHandle.Alloc...

    By the way DBINAME is...
  2. Passing array of struct as argument to unmanaged DLL

    Hi,
    I'm currently working on a project that dynamicaly load an unmanaged dll and use it. Everything works fine unless for a specific fonction that take a structure array as an argument. The function...
  3. Re: URGENT :Retriving Windows Firewall Settings

    Why not to try lloking in the registry for the setting :
    HKLM,"SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy

    And usualy the firewall log file is :...
  4. Replies
    3
    Views
    516

    DrawText draw ouside the rect

    Hi,
    In my sdi application, when i try to use draw text, nothing appear. I tried DT_NOCLIP and i noticed that the text was drawn under the rect i send to the function


    CRect...
  5. Replies
    1
    Views
    460

    Custom CStatusBar

    Hi i created a custom CStatusBar with an extra indicator, but when i add the indicator to the indicators array, at runtime i got and error :Failed to create empty document and my program closes.
    ...
  6. Replies
    1
    Views
    520

    Re: Hide other program

    Finaly found how to do it.

    startInfo->WindowStyle = ProcessWindowStyle::Hidden;

    is still not working. So i have to do it with the showWindow function, but to make it work, i have to wait for...
  7. Replies
    1
    Views
    520

    [RESOLVED] Hide other program

    Hi i'm using mixed MFC and managed C++ in my program.
    I want to start another program(Using Process::Start) -> already done
    and Hide it. -> TODO

    I tried
    startInfo->WindowStyle =...
  8. Replies
    0
    Views
    876

    Create CRgn from a line

    Hi,

    Does anybody know how i can create a crgn from a line.

    Th thing is that i want the CRgn to be 1px bigger than the line.

    ex :

    0,0
    ._________________________
  9. Replies
    4
    Views
    1,007

    Re: Faster image drawing

    Thanks again.

    All your posts were usefull.

    i move some of my variable out of my for loop because they could be reused insted of being reinitilized.

    Also doing the processing in memory remove...
  10. Replies
    4
    Views
    873

    Re: Hi getting system time in C++

    # define TIME_SIZE 40

    const struct tm *tm;
    size_t len;
    time_t now;
    char *s;

    now = time ( NULL );
    tm = localtime ( &now );
  11. Replies
    5
    Views
    654

    Re: Get program name

    Hi,
    did you try :
    Process::GetCurrentProcess()->get_ProcessName();
  12. Replies
    0
    Views
    516

    Stream contents

    Hi,
    i'm trying to understand the contents of sockets in a "video" stream. It contents an header and a jpeg file (JFIF). I already decoded some parts. I need some help to understand it all. I...
  13. Replies
    4
    Views
    1,007

    [RESOLVED] Faster image drawing

    Hi

    I've made a little application that connect to a camera server that send throught sockets JFIF images composed of a vertical line of squares of 16x16px. In the header of the socket i can...
  14. Replies
    1
    Views
    618

    Re: Synchronous socket

    Finally i wrote my own .net Socket class and it work perfectly
  15. Replies
    3
    Views
    4,619

    Re: encrypt file in php

    Actually you need to check if the file awas correctly uploaded


    if (is_uploaded_file($_FILES['file']['tmp_name'])) { //was the file uploaded?
    $filecontents =...
  16. Replies
    0
    Views
    450

    Faster image drawing

    Hi

    I've made a little application that connect to a camera server that send throught sockets JFIF images composed of a vertical line of squares of 16x16px. In the header of the socket i can...
  17. Replies
    1
    Views
    618

    [RESOLVED] Synchronous socket

    Hi,

    My question will seem a little bit stupid, but i been searching for hours on how to create a socket that will conect to a server and send data synchronously. I'm using the mfc CSocket class...
  18. Replies
    3
    Views
    750

    Re: Derived CWnd Class

    Here's the code i use to create the balloon


    m_bTop = bTop;
    // TODO: Add your specialized code here and/or call the base class
    int iStringWidht=1, iStringHeight=1, curWidth;
    int lastPos=-1,...
  19. Replies
    3
    Views
    750

    Derived CWnd Class

    Hi,
    I writting a derived CWnd Class that shows balloon Messages. My problem is when the balloon appear near of the limit of the main window, the exeding part is not visible. How can i make the...
  20. Replies
    12
    Views
    1,096

    Re: Custom Control

    Thanks a lot!!!
    You saved me from going crazy :P

    And also thank for your fast answer
  21. Replies
    12
    Views
    1,096

    Re: Custom Control

    here's a project that i use to test my controll.
    Note that for the moment the only this it should do is print some texe to the screen.
    Thanks in advance
  22. Replies
    12
    Views
    1,096

    Re: Custom Control

    in my output window in debug i have this message:

    Warning: calling DestroyWindow in CWnd::~CWnd; OnDestroy or PostNcDestroy in derived class will not be called.

    maybe it has something to do...
  23. Replies
    12
    Views
    1,096

    Re: Custom Control

    That's great but i'd really like to find the problem with my class.
    I tried the code in the linkand no balloon tip appear. :(:(:(
  24. Replies
    12
    Views
    1,096

    Re: Custom Control

    i tried in my onInitDialog() of my main dialog:


    CBalloonMessage bm;
    bm.Create(NULL, "", WS_VISIBLE, CRect(100,100,200,200), this, 45612);
    bm.ShowWindow(SW_SHOW);


    Still not working :(
  25. Replies
    12
    Views
    1,096

    [RESOLVED] Custom Control

    Hi,
    I'm trying to make a custom control to make a message balloon appear when a Cedit is focused. I know there are some classes on the internet but i'd really like to make one by myself. The problem...
Results 1 to 25 of 133
Page 1 of 6 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center