Search Result

Collapse
3 results in 0.0014 seconds.
Keywords
Members
Tags
c++/cli
  •  

  • Ian Simpson
    started a topic STA, MTA conflict warning
    in .NET

    STA, MTA conflict warning

    Hello everyone,

    I recently started writing a C++/CLI wrapper for a native c++ library. I'm now getting this compile warning

    Code:
    "warning LNK4249: directive '/CLRTHREADATTRIBUTE:STA' conflicts with command line; ignored"
    My c++/cli wrapper is set up for MTA in the linker's command line arguments, but I have no idea what file or project is trying to give the STA directive.

    I did enough...
    See more | Go to post

  • microface
    started a topic 3rd party dll interface to c++/cli .net 2.x
    in C

    3rd party dll interface to c++/cli .net 2.x

    Yes I have googled, and found lots of supposed answers to this problem of using P/Invoke but everything I found, and everything I tried either caused exceptions, or simply failed to fill in the struct.
    So here is my problem
    Code:
    typedef struct tagEdsDirectoryItemInfo
    {
        EdsUInt32   size;
        EdsBool     isFolder;
        EdsUInt32   groupID;
        EdsUInt32   option;
        EdsChar     szFileName[ EDS_MAX_NAME
    ...
    See more | Go to post

  • Wylbur
    started a topic Merging C++/CLI Console App with dll's
    in C

    Merging C++/CLI Console App with dll's

    Hi all;

    I would like to merge a C++/CLI console exe with some dll's to produce
    one small package for distribution.

    Does anyone know how to do this?

    Thanks!
    See more | Go to post
Working...