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

Search:

Type: Posts; User: ok21

Page 1 of 3 1 2 3

Search: Search took 0.06 seconds.

  1. Replies
    0
    Views
    1,297

    Call CreateProvider

    I write the following code:

    String Language; // = "CSharp" or "C++"
    [1] CodeDomProvider provider = new CodeDomProvider(Language);
    [2] CompilerParameters cp = new CompilerParameters();...
  2. Replies
    12
    Views
    6,147

    Re: why dll with SetWindowsHookEx crashed?

    You right and I tried to fix in accordance with your advice also, but unsuccessfully. I found in Internet enough requests to help in solution of this problem, but did not find any advice how to fix...
  3. Replies
    12
    Views
    6,147

    Re: why dll with SetWindowsHookEx crashed?

    I fixed this problem -

    instead of-
    ::SetWindowsHookEx(WH_CALLWNDPROC, CallWndProc,hins, 0);

    must be-
    ::SetWindowsHookEx(WH_CALLWNDPROC,
    CallWndProc,hins, ...
  4. Replies
    12
    Views
    6,147

    Re: why dll with SetWindowsHookEx crashed?

    Hi John, I uploaded zip-files with project. Thank in advance for your help
  5. Replies
    12
    Views
    6,147

    Re: why dll with SetWindowsHookEx crashed?

    You right with reference to GetCurrentDir... - i know about this problem, but I tried with hard-copy fixed name (for ex. c:\report.log) - it is not helped.
    Also I tried with WINAPI - combination...
  6. Replies
    12
    Views
    6,147

    Re: why dll with SetWindowsHookEx crashed?

    thank you in advance
  7. Replies
    12
    Views
    6,147

    why dll with SetWindowsHookEx crashed?

    Here code from my DLL, that I call from my MFC Application.
    Application calls installhook() and inside calls ::SetWindowsHookEx, after that immedeately crashed and the folllowing dialog is opened:...
  8. Replies
    15
    Views
    2,963

    Re: Why I do not use CListBox::Dir

    Paul
    Tags are added.


    the best defence is offence
  9. Replies
    15
    Views
    2,963

    Re: Why I do not use CListBox::Dir

    Paul,
    I found several bugs in your code. Inspite of that your decision is very good.
    This code is tested and works properly.


    int main(int argc, char* argv[])
    {
    vector <WIN32_FIND_DATA>...
  10. Replies
    15
    Views
    2,963

    Re: Why I do not use CListBox::Dir

    Paul,
    Thank for your extended comment.
    about problems in my code:
    - as you char buufer[100]; it is written for OutputDebugString() only and may be deleted without any problems.
    - size of...
  11. Replies
    15
    Views
    2,963

    Re: Why I do not use CListBox::Dir

    I use CListBox::Insert(...) in main Application.
    There is Func GetListOfFiles) in separated module (lib or dll) and may be used in any type of application.
  12. Replies
    15
    Views
    2,963

    Re: Why I do not use CListBox::Dir

    Victor,
    Thank you for your estimation.
    I use this function in console application , so you do not in GetListOfFiles using MFC-classes.
    I preffer to use STL string instead of MFC CString or more...
  13. Replies
    15
    Views
    2,963

    Why I do not use CListBox::Dir

    I tried to fill contens of list box with function Dir, mask was "*.xsd", but this function filled listbox with the following names in this dir: .xsd & .xsd_:
    1.xsd
    2.xsd_
    3.xsd_
    ...
    So I use my...
  14. Replies
    1
    Views
    2,030

    How describe a new XSD

    When I create a new XSD what is standard way to describe its syntasis -
    names of elements,
    attributes each of them,
    what's attributes are mandatatory and what's are optionally
    links between ...
  15. Replies
    1
    Views
    825

    Problems with nonblocking sockets in Windows

    When I work in full-duplex mode with sockets (server & clients send & receive data through the same port ) I have the following results:
    1. Blocking mode - works properly from 2 sides - server sends...
  16. to catch click on button "Open" in derived from CFileDialog class?

    Before I asked about my problems to run explorer in a new desktop, but unfortunately nobody knows what to do in this case.
    So I decided to create a new class CMyFileDialog, based on MFC CFileDialog....
  17. Replies
    2
    Views
    1,084

    Re: Running explorer in new desktop

    I use
    CreateProcess(.....)
    and run "explorer.exe /e,/root,c:\"
  18. Replies
    2
    Views
    1,084

    Running explorer in new desktop

    I create in my Application a new desktop and run in it explorer with the parameters:
    explorer /e,/root,c:\.
    At first time after loading OS explorer is fault and the following dialog is opened:
    ...
  19. Replies
    4
    Views
    721

    Re: Noresizable Window

    You are right, I forget to add ON_WM_NCLBUTTONDBLCLK() to BEGIN_MESSAGE_MAP.
    Thank you.
  20. Replies
    4
    Views
    721

    Re: Noresizable Window

    I tried and it does not work. It is not not enough.
  21. Replies
    4
    Views
    721

    Noresizable Window

    How can I create in MFC noresizable MDI mainframe windowwith maximized size? Problem is when I make double click on window title it changes its size.
  22. Replies
    6
    Views
    878

    Re: how send msg to other computer ?

    I am looking for s/w where GUI part & calculation part are divided one from another. It is not problem to do it via any API-communication mechanism, but it is needed to write parser for each used...
  23. Replies
    6
    Views
    878

    Re: how send msg to other computer ?

    I know about all ways - pipes, tcop/ip, mailslots etc. I ask about s/w for control windows, not about transmit data beween computers.
  24. Replies
    6
    Views
    878

    Re: how send msg to other computer ?

    It is not not to write code and transmit a special msg from computers, but I do not want to write code for processing all types of msgs, so I am looking for something prepared.
  25. Replies
    6
    Views
    878

    how send msg to other computer ?

    I am looking s/w to postmessage(SOCKET s,
    HWND hWnd,
    UINT Msg,
    WPARAM wParam,
    LPARAM lParam
    )
    to send msg to other computer (to get control on window on other computer).
Results 1 to 25 of 55
Page 1 of 3 1 2 3





Click Here to Expand Forum to Full Width

Featured