Click here to Skip to main content
14,332,125 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 6:34
memberhoney the codewitch19-Sep-19 6:34 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
Chris Maunder19-Sep-19 6:37
adminChris Maunder19-Sep-19 6:37 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch19-Sep-19 6:40
memberhoney the codewitch19-Sep-19 6:40 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
Member 916705718-Sep-19 20:50
memberMember 916705718-Sep-19 20:50 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch18-Sep-19 21:24
memberhoney the codewitch18-Sep-19 21:24 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
Member 916705718-Sep-19 21:27
memberMember 916705718-Sep-19 21:27 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch18-Sep-19 21:29
memberhoney the codewitch18-Sep-19 21:29 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
Member 916705718-Sep-19 21:34
memberMember 916705718-Sep-19 21:34 
As I was saying, I am darn sure that it's not realistic to get this rather special use case of yours in a platform-agnostic manner. You don't need to cross-compile though. Of course can you P/Invoke in Mono and Mono has it's own share of IFDEFs to tell platforms apart. So compile ONE executable to run on Mono (or .NET Core which also has ways to tell platforms apart) but with your NativeMethods class being full of IFDEFs.
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch18-Sep-19 21:36
memberhoney the codewitch18-Sep-19 21:36 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
Member 916705718-Sep-19 21:38
memberMember 916705718-Sep-19 21:38 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch18-Sep-19 21:39
memberhoney the codewitch18-Sep-19 21:39 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
Member 916705718-Sep-19 21:40
memberMember 916705718-Sep-19 21:40 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch18-Sep-19 21:45
memberhoney the codewitch18-Sep-19 21:45 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
Member 916705718-Sep-19 22:03
memberMember 916705718-Sep-19 22:03 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch19-Sep-19 3:06
memberhoney the codewitch19-Sep-19 3:06 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
Member 916705719-Sep-19 3:09
memberMember 916705719-Sep-19 3:09 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch19-Sep-19 3:10
memberhoney the codewitch19-Sep-19 3:10 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
Member 916705719-Sep-19 3:19
memberMember 916705719-Sep-19 3:19 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch19-Sep-19 3:20
memberhoney the codewitch19-Sep-19 3:20 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
Member 916705719-Sep-19 3:21
memberMember 916705719-Sep-19 3:21 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch19-Sep-19 3:35
memberhoney the codewitch19-Sep-19 3:35 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
Member 916705719-Sep-19 3:40
memberMember 916705719-Sep-19 3:40 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch19-Sep-19 3:42
memberhoney the codewitch19-Sep-19 3:42 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
TheGreatAndPowerfulOz20-Sep-19 4:41
memberTheGreatAndPowerfulOz20-Sep-19 4:41 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
Stuart Dootson19-Sep-19 3:36
professionalStuart Dootson19-Sep-19 3:36 

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.