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

Search:

Type: Posts; User: 2kaud

Page 1 of 80 1 2 3 4

Search: Search took 0.14 seconds.

  1. Re: c++ code/Library for mirroring Windows using Miracast protocol

    As far as I can tell, this is only available for a UWP app - c#, c++/winrt, VB.NET, JavaScript.
  2. Replies
    15
    Views
    368

    Re: How to learn c#

    That indicated that x-compile for Mac isn't possible. I understood Arjay posts referred to Linux?



    To publish:
    1) Click on Build\Publish...
    2) In the Pick a publish target dialog, in the left...
  3. Replies
    15
    Views
    368

    Re: How to learn c#

    See http://www.vbforums.com/showthread.php?879751-How-Can-I-Compile-to-Run-on-a-Mac
  4. Replies
    19
    Views
    10,305

    Re: Set Sided Polygon in C++

    Your code in post #16 is based upon the old code from post #1 - which is incorrect. As a minimum, it should be based upon the code from post #8. From your code,

    - edgelength isn't the edge length...
  5. Replies
    19
    Views
    10,305

    Re: Set Sided Polygon in C++

    What is the issue - you don't say??
  6. Replies
    35
    Views
    3,733

    Re: How to learn c++/cli?

    [Post re C# moved to C-Sharp forum http://forums.codeguru.com/showthrea...ow-to-learn-c]
  7. Thread: delay in dll

    by 2kaud
    Replies
    10
    Views
    268

    Re: delay in dll

    and whether it has completed successfully or not.
  8. Replies
    35
    Views
    3,733

    Re: How to learn c++/cli?

    That's because of .net which is available for other platforms - and Visual Basic .net uses .net. They haven't adapted VB as such. C++/cli was MS attempt for c++ xplatform as it used .net.
  9. Thread: delay in dll

    by 2kaud
    Replies
    10
    Views
    268

    Re: delay in dll

    It either is or is not. In programming you determine what is happening - you don't guess.

    So why might the o/p be only half written when control is passed back to the caller?
  10. Thread: delay in dll

    by 2kaud
    Replies
    10
    Views
    268

    Re: delay in dll

    Well if the called function writes to this memory, then presumably unless the function is threaded and returns whilst a background thread completes (asynchronous transfer), then when the function...
  11. Thread: delay in dll

    by 2kaud
    Replies
    10
    Views
    268

    Re: delay in dll

    The client code calls a function that is located within the .dll.

    What is o/P?
  12. Re: Better way of handling the global char array in c++.

    You are confusing static with const. const means it can't be changed. static has different meanings depending upon where it is used. If used with a global variable, that variable can only be used...
  13. Re: Better way of handling the global char array in c++.

    If it is used totally within one dll with no external exposure, why not just a simple global std::string?
  14. Replies
    35
    Views
    3,733

    Re: How to learn c++/cli?

    Technically, MS of course could. Marketing/Politically is a different issue!
  15. Re: Better way of handling the global char array in c++.

    Memory should be allocated/deleted in the same .exe/.dll. So if a certain .dll allocates the memory, the same .dll should delete it. The allocated pointer can be passed and used in the .exe and other...
  16. Replies
    35
    Views
    3,733

    Re: How to learn c++/cli?

    Note that AFAIK converting a pure c++ program to c++/cli that uses .net isn't straight forward. One of the issues is that .net uses managed memory and c++ doesn't. That's why in c++/cli code you see...
  17. Replies
    35
    Views
    3,733

    Re: How to learn c++/cli?

    Search www.codeproject.com for c++/cli. There are various examples of learning and using c++/cli.
  18. Replies
    35
    Views
    3,733

    Re: How to learn c++/cli?

    Think of c++/cli as Managed C++ v2. Managed C++ was MS first attempt at enabling C++ to use .net. After it was released and started to be used from the feedback received MS came out with C++/cli...
  19. Replies
    35
    Views
    3,733

    Re: How to learn c++/cli?

    For project templates, you should have CLR Empty project, CLR Console App, CLR Class Library. That's what I get with my VS2019 installation.
  20. Replies
    35
    Views
    3,733

    Re: How to learn c++/cli?

    Did you install c++/cli support when you installed VS (it's separate from c++)? If not, you'll need to install this from VS Installer.
  21. Replies
    34
    Views
    8,140

    Sticky: Re: Input wanted: 3rd Party Products

    Have a look at https://www.codeproject.com/articles/19354/quick-c-cli-learn-c-cli-in-less-than-10-minutes

    Also see this thread http://forums.codeguru.com/showthread.php?562993-How-to-learn-c-cli
  22. Replies
    3
    Views
    145

    Re: load xml from a path

    If you are doing much work with paths, look at the facilities provided with C++ filesystem. See https://en.cppreference.com/w/cpp/header/filesystem - and in particular the filesystem:: path class.
    ...
  23. Replies
    11
    Views
    252

    Re: Reversing an array

    If you know the number of elements that's going to be entered into the input vector (and if you're currently using an array then you must at least know the upper bound), then the storage can be...
  24. Replies
    34
    Views
    8,140

    Sticky: Re: Input wanted: 3rd Party Products

    Is C because of use in embedded - and C++ because of legacy programs???
  25. Replies
    11
    Views
    252

    Re: Reversing an array

    However, if you organise the input data in blocks of 4, rather than straight linear, then it is even simpler as std::reverse_copy() can be used. Consider:



    #include <iostream>
    #include...
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)