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

Search:

Type: Posts; User: Igor Vartanov

Page 1 of 80 1 2 3 4

Search: Search took 0.11 seconds.

  1. Replies
    5
    Views
    181

    Re: Create an MFC OCX using C++ DLL

    I don't think I could recommend anything better than what plain google search would do. I believe, MSDN, and CodeGuru, and CodeProject sites are good to start with.
  2. Re: What is the correct behavior of list control?

    Not sure if speculation on what should be the most logical in the situation like that would have any value. Anyway, you are not able to change the design of list control. You either find the answer...
  3. Replies
    5
    Views
    181

    Re: Create an MFC OCX using C++ DLL

    OCX you mention here is just an alias to ActiveX term, which in its turn is an alias to COM in-proc server. So let's talk a bit about COM in-proc servers.

    COM is Windows way to bring OOP to...
  4. Re: Can two functions in same DLL be called by two threads?

    It seems your buffer appears overrun at the moment you start getting random return values, so your problem hardly has anything to do with threading or DLL. It's most probably either true corruption...
  5. Replies
    3
    Views
    190

    Re: Linker error when including OpenGL

    What is this? Library?
  6. Re: Visual Studios .NET 2003 Strange Build Dependencies

    Exactly, the compiler can not.


    Argument-dependent lookup
  7. Replies
    6
    Views
    274

    Re: Using Casablanca SDKs in C++

    For your information, the link just fails to open. I tried it twice, which is exactly two attempts more than I typically use for unknown web resources.



    So this is where I fail to understand...
  8. Re: CString::Format() Cannot Align Well Vertically

    Any Monospaced font should do for this.
  9. Re: Visual Studios .NET 2003 Strange Build Dependencies

    C3861 (identifier not found) is related to incomplete header files.

    What I can imagine as a reason to have this issue in multi-project solution is dynamic header generation, like importing COM...
  10. Replies
    6
    Views
    274

    Re: Using Casablanca SDKs in C++

    Okay, you said:


    Do you mind to explain every part of your message? I mean the following:

    relation between ASP.NET C# page and server, what hosts what
    use
    this
    send request
  11. Replies
    6
    Views
    274

    Re: Using Casablanca SDKs in C++

    This actually makes no sense to me. Any web page implies the generated HTML code be loaded to browser. Therefore, ASP.NET code execution has a short life cycle strictly limited by HTML code...
  12. Re: Calling VC++ routines from Fortran 77

    You should refer to fortran documentation to see if it's possible. As far as I know, it is possible, but only with C-style linkage and data types. I.e. no C++ type parameters can be exposed to...
  13. Re: How do you CWnd::SendMessage(...) a pointer to a string?

    Well, passing C++ objects across thread's boundaries is potentially unsafe, as the same object becomes accessible from multiple threads simultaneously.

    I would think about possibilities of...
  14. Re: Debug a Native DLL written in VC++.NET 2010 Express called from a VB.NET .exe fil

    How thoughtful of them. :)

    Anyway, today I installed VS 2010 Express to one of my VMs. The sample project attached. First you build ConsoleApplication1 project (VB.NET exe), then you build...
  15. Re: Debug a Native DLL written in VC++.NET 2010 Express called from a VB.NET .exe fil

    Then next your try should be with DebugBreak. :)

    Ultimately you always can debug with OutputDebugString or even with logging to a plain text file.
  16. Re: Debug a Native DLL written in VC++.NET 2010 Express called from a VB.NET .exe fil

    I never use Express versions, so I would not help you with this. However, debugging DLL project did not change since at least VC++4 when I built my first DLL. You start Debug on DLL project, and IDE...
  17. Re: Debug a Native DLL written in VC++.NET 2010 Express called from a VB.NET .exe fil

    You need to make sure you deal with correct dll.

    Set your dll as default project in the solution. Specify the path to your VB.NET exe for running dll project. Set a breakpoint in dll code. Run the...
  18. Replies
    9
    Views
    320

    Re: Worker Thread handle leak

    Okay, you must be right, my fault. Suspending required. :)
  19. Replies
    9
    Views
    320

    Re: Worker Thread handle leak

    The sample below does nothing but creates threads with 5 seconds interval. As you may guess, it shows no handle leaks. I would suggest you to look somewhere else, the structure for example, if it...
  20. Replies
    9
    Views
    320

    Re: Worker Thread handle leak

    I believe, it already is much more elegant: CWinThread::m_bAutoDelete and CWinThread::m_hThread. As you can see, no suspending required.
  21. Re: How to get rid of 'not responding' message

    Okay, new sample. Same DLL accepting callback, two clients: non-threading console and threading gui apps.

    The clients' code stripped to minimal required. No MFC controls accessed in worker thread....
  22. Re: How to get rid of 'not responding' message

    Yes, it does execute in a worker thread.

    And yes, you're right that accessing MFC UI controls from worker thread is not recommended in general.

    However I'm not that religious about following...
  23. Re: How to get rid of 'not responding' message

    Mike, the sample was made to be a simplistic representation of C-style callback use in GUI. Your additional DLL aspect adds almost nothing to it, but as long as you asked for it, the demo includes...
  24. Re: How to get rid of 'not responding' message

    GUI <- Callback <- DLL sample attached
    32843
  25. Replies
    32
    Views
    1,186

    Re: Moving from VC++ 6.0 to VC++.NET

    As for me, VS is the most attractive IDE for Windows. I really love it's debugger, though Whole Tomatoe's add-in is still a recommendation for improving its editor. Express edition, which is free,...
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center