Click here to Skip to main content
15,906,455 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
Questionhi Pin
sudha_sen19-Oct-06 19:17
sudha_sen19-Oct-06 19:17 
AnswerRe: hi Pin
Jonathan [Darka]19-Oct-06 23:37
professionalJonathan [Darka]19-Oct-06 23:37 
AnswerRe: hi Pin
Christian Graus20-Oct-06 0:38
protectorChristian Graus20-Oct-06 0:38 
QuestionCONSTRUCTOR - CLASSES Pin
sahoong19-Oct-06 5:53
sahoong19-Oct-06 5:53 
AnswerRe: CONSTRUCTOR - CLASSES Pin
Christian Graus19-Oct-06 6:00
protectorChristian Graus19-Oct-06 6:00 
QuestionAdding UserControl from exe to the Toolbox [VS8] Pin
Bartosz Bien18-Oct-06 7:17
Bartosz Bien18-Oct-06 7:17 
QuestionCan Managed C++ Class Library DLLs be pirated? Pin
earlgraham18-Oct-06 6:54
earlgraham18-Oct-06 6:54 
AnswerRe: Can Managed C++ Class Library DLLs be pirated? Pin
Christian Graus18-Oct-06 7:13
protectorChristian Graus18-Oct-06 7:13 
earlgraham wrote:
My question is, “Is he right?” Can my code be stolen and used since the .dll will need to be released with the main application?


Any dll can be used by your opposition. Just as you can p/invoke to call Win32 APIs in C#, or use LoadLibrary to use an API that you don't have the headers for, the only issue is discovery of the methods available from a dll, unless you have some sort of protection in place ( such as passing a token which acts as a password ).

.NET code can, by definition, be decompiled, which increases your exposure for sure. There are measures you can take, such as obsfucation, but you can't stop it. And, of course, decompilation means that any security measures you take can be circumvented.

Having said that, if they use your dll directly, you'd find out about it. If they stole your code, that would be harder, but if you write good, small methods, obsfucated code may be painful to use in that way.

The real question is, how far do you have to go to stop it being worth their while, how unique/difficult/valuable is the code in question ?


Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog

GeneralRe: Can Managed C++ Class Library DLLs be pirated? Pin
earlgraham18-Oct-06 7:58
earlgraham18-Oct-06 7:58 
GeneralRe: Can Managed C++ Class Library DLLs be pirated? Pin
Christian Graus18-Oct-06 8:03
protectorChristian Graus18-Oct-06 8:03 
QuestionInterop help! - No symbols loaded Pin
orion450018-Oct-06 4:57
orion450018-Oct-06 4:57 
AnswerRe: Interop help! - No symbols loaded Pin
User 58385218-Oct-06 12:57
User 58385218-Oct-06 12:57 
GeneralRe: Interop help! - No symbols loaded Pin
orion450019-Oct-06 9:08
orion450019-Oct-06 9:08 
QuestionHELP WITH MY 4TH ORDER RUNGE-KUTTA ALGORITHM Pin
sahoong18-Oct-06 3:51
sahoong18-Oct-06 3:51 
AnswerRe: HELP WITH MY 4TH ORDER RUNGE-KUTTA ALGORITHM Pin
Christian Graus18-Oct-06 4:01
protectorChristian Graus18-Oct-06 4:01 
QuestionImporting functions from Fortran [modified] Pin
Epi18-Oct-06 0:33
Epi18-Oct-06 0:33 
QuestionHardware drive serial encryptor/decryptor Pin
Cyclone0217-Oct-06 2:15
Cyclone0217-Oct-06 2:15 
AnswerRe: Hardware drive serial encryptor/decryptor Pin
Christian Graus17-Oct-06 7:18
protectorChristian Graus17-Oct-06 7:18 
QuestionRTC issue Pin
Cristi B17-Oct-06 0:01
Cristi B17-Oct-06 0:01 
AnswerRe: RTC issue Pin
Christian Graus17-Oct-06 7:18
protectorChristian Graus17-Oct-06 7:18 
AnswerRe: RTC issue Pin
Cristi B17-Oct-06 20:33
Cristi B17-Oct-06 20:33 
GeneralRe: RTC issue Pin
Christian Graus17-Oct-06 22:50
protectorChristian Graus17-Oct-06 22:50 
AnswerRe: RTC issue Pin
Cristi B17-Oct-06 23:52
Cristi B17-Oct-06 23:52 
Questionconsole app: methods autocompletion (get method name from string parameter of invoker)[modified] Pin
n-j16-Oct-06 23:45
n-j16-Oct-06 23:45 
QuestionA strange problem Pin
minihotto16-Oct-06 23:41
minihotto16-Oct-06 23:41 

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.