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

Search:

Type: Posts; User: caperover2002

Page 1 of 15 1 2 3 4

Search: Search took 0.02 seconds.

  1. Re: Managed C++/CLI static linked with native library

    I did this under 32bit XP without any problem.

    I don't have a clear idea regarding how to handle 32bit under 64bit OS.
  2. Re: Managed C++/CLI static linked with native library

    Actually, I found it.

    For C#, Managed C++ and native C++, all target platform/machine are x86.

    The native C++ is used as a static library.
  3. Re: Managed C++/CLI static linked with native library

    Yes, that is one thing I tried to do. I am able to set target platform for both C# and managed C++/CLI, but I did not find Target Platform option for native C++ progects.
  4. Managed C++/CLI static linked with native library

    Hi, All,

    I am trying to expose functions in native c++ through managed c++/CLI to C#. when I set the Target platform to "Any CPU", I got the error

    Unable to load file or assembly,....
    ...
  5. Re: Calling functions in Pure virtual class

    Yes, it works. However, i still don't understand why the compiler stops searching the base class for a method called foo() when it sees one in the derived class. It is not intuitive to me, although...
  6. Re: Calling functions in Pure virtual class

    Hi, Lindley,

    Thanks for your quick reply.

    foo(a, b) is also a pure virtual function, which will be defined later in another class, say, E. If I explicilty tell D to call B::foo, will it invoke...
  7. Calling functions in Pure virtual class

    Hi, Folks,

    I have pure virtual class questions:

    class B
    {
    public:
    virtual double foo(int a) = 0;
    virtual double foo(int a, int b) =0;
    }
  8. Replies
    3
    Views
    567

    Any help on Re: Modeless window

    Thanks.
  9. Replies
    3
    Views
    567

    Re: Modeless window

    Here is the constructor I have:

    InitializeComponent();

    this.FormBorderStyle = FormBorderStyle.None;
    //this.Opacity = 1;
    this.CenterToScreen();...
  10. Replies
    3
    Views
    567

    Modeless window

    Hi, All,

    I am trying to create a splash window using a modeless window. The dialog template is built as usual and is displayed by calling Show() instead of ShowDialog() as for modal window. The...
  11. Re: is vector efficient with multiple thread?

    I am using stl library.

    I observed that four thread is slower than one single thread and I am trying to figure out why?
  12. Re: is vector efficient with multiple thread?

    Suppose one thread accesses the first part of a vector and another thread operates on the second part of the vector.

    If the vector can only be accessed by one thread at a time, one thread has to...
  13. is vector efficient with multiple thread?

    If a vector is synchronized, will multiple thread be more efficient than a single thread?

    What is other alterative to a vector in the context of multi-thread?

    Thanks,
    CR
  14. Replies
    12
    Views
    799

    Re: multiple thread is slower???

    Arjay,

    Four threads read the same std::vector through iterator, but they are not overlapping, say for example 0-1000, 1001-2000, 2001-3000 and 3001-4000.

    Vector is synchronized, does this mean...
  15. Replies
    12
    Views
    799

    multiple thread is slower???

    Hi, All,

    I tried to use multiple thread to speed up. Unfortunately, it becomes about 10% slower if I add one more thread, although exactly the same code is used in both cases.

    I am sure my...
  16. Manually load Microsoft.Office.Interop.Excel.dll

    Hi, All,

    My .Net assemlly, which depends on Microsoft.Office.Interop.Excel.dll, is not working. I want to test if Excel can load the right version of this supporting dll. Is there any way to load...
  17. Re: Passing vector from Native C++ to Managed C++

    yes, I call a Native C++ member function from Managed C++ to get a member variable, a vector of double.
  18. Passing vector from Native C++ to Managed C++

    Hi, All,

    I am trying to call a native C++ function from managed C++, which is supposed to return a vector of double. Unfortunately, it is always empty in release mode, although it works under...
  19. VB Error: Can't find project or library

    Hi, All,

    I made a automation add-in for MS Excel.

    If I calculate a cell calling a function from the COM by return, it generates a VB error:

    Can't find project or library.

    However, it...
  20. Replies
    0
    Views
    486

    Help: Error in loading DLL

    Hi, Gurus,

    I am trying to build a .net assembly using C#. Within this assembly, some other .net assemblies provided by Microsoft as well as some third party .net assemblies and COMs are used. It...
  21. Replies
    0
    Views
    1,006

    Manipulate Excel Status Bar in C#

    Hi, Gurus,

    I have a C# COM Addin used in Excel. I want to display some texts in the Excel status bar from C#. Any one has any idea of how to make it?

    Thanks in advance.

    CR
  22. Re: Interesting problem needs GURUS of managed/unmanaged C++ compliler

    Hi, Peter,

    Thanks for your help.

    I cannot agree with you. Since "A a" only declares a local variable in some function, the classs will not be instantiated until "A a;" is executed at running...
  23. Re: Interesting problem needs GURUS of managed/unmanaged C++ compliler

    Actually I could not reproduce the problem in another context.

    I am using Excel + COM + Managed C++ + Unmanaged C++. I cannot post a small piece of the code to reproduce the error.

    What I am...
  24. Re: Weird Problem: delegation or inheritance---MORE INFORMATION AVAILABLE

    Here is the context of the problem:


    I have a base class

    class B
    {
    public:
    virtual bool fun() =0;
    }
  25. Interesting problem needs GURUS of managed/unmanaged C++ compliler

    Hi, all

    I am running into a very interesting problem, which has been bothering me for a while.

    I have a base class

    class B
    {
    public:
    virtual bool fun() =0;
Results 1 to 25 of 363
Page 1 of 15 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