Click here to Skip to main content
15,891,473 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch19-Sep-19 7:09
mvahoney the codewitch19-Sep-19 7:09 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
zezba900019-Sep-19 7:17
zezba900019-Sep-19 7:17 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch19-Sep-19 7:17
mvahoney the codewitch19-Sep-19 7:17 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
zezba900019-Sep-19 7:20
zezba900019-Sep-19 7:20 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch19-Sep-19 7:21
mvahoney the codewitch19-Sep-19 7:21 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
zezba900019-Sep-19 7:26
zezba900019-Sep-19 7:26 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch19-Sep-19 7:28
mvahoney the codewitch19-Sep-19 7:28 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
zezba900019-Sep-19 7:35
zezba900019-Sep-19 7:35 
You don't need multiple native or managed binaries for this. You can just wrap each platform and detect what platform you're on in the .NET runtime via RuntimeInformation class.

So you would probably only need one for Win32 and one for POSIX (aka Linux, BSD and macOS).

Because a .NET lib doesn't exist for what you need thats portable, you will have to make one that is.
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch19-Sep-19 7:37
mvahoney the codewitch19-Sep-19 7:37 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
zezba900019-Sep-19 7:43
zezba900019-Sep-19 7:43 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch19-Sep-19 7:51
mvahoney the codewitch19-Sep-19 7:51 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
zezba900019-Sep-19 8:01
zezba900019-Sep-19 8:01 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch19-Sep-19 8:28
mvahoney the codewitch19-Sep-19 8:28 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
zezba900019-Sep-19 8:37
zezba900019-Sep-19 8:37 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch19-Sep-19 8:41
mvahoney the codewitch19-Sep-19 8:41 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
zezba900019-Sep-19 9:05
zezba900019-Sep-19 9:05 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch19-Sep-19 9:13
mvahoney the codewitch19-Sep-19 9:13 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch19-Sep-19 9:18
mvahoney the codewitch19-Sep-19 9:18 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
zezba900019-Sep-19 9:43
zezba900019-Sep-19 9:43 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch19-Sep-19 9:45
mvahoney the codewitch19-Sep-19 9:45 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
zezba900019-Sep-19 9:47
zezba900019-Sep-19 9:47 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
TheGreatAndPowerfulOz20-Sep-19 5:02
TheGreatAndPowerfulOz20-Sep-19 5:02 
GeneralThought of the Day Pin
OriginalGriff18-Sep-19 4:45
mveOriginalGriff18-Sep-19 4:45 
GeneralRe: Thought of the Day Pin
W Balboos, GHB18-Sep-19 4:58
W Balboos, GHB18-Sep-19 4:58 
GeneralRe: Thought of the Day Pin
PeejayAdams18-Sep-19 5:16
PeejayAdams18-Sep-19 5:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.