Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 10:04

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



C# DLL/C++ DLL/Intern -> Best?

Discussion on C# DLL/C++ DLL/Intern -> Best? within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1


 
CptSky's Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 1,434
Received Thanks: 1,147
C# DLL/C++ DLL/Intern -> Best?

What is the best choice?
-A DLL in C# with the methods.
-A DLL in C++ that is imported with the DLLImport function.
-An intern code.

I want to know what is the best for the time, the memory using, the CPU and the stability...

I think the C++ DLL can be good, but you have to import the DLL...
CptSky is offline  
Old 11/07/2009, 05:23   #2
 
InfamousNoone's Avatar
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,012
Received Thanks: 2,882
What's it being used for?
I would only use a C++ DLL for either protection of code, need to use inline assembler and other things .NET is incapable of; otherwise I would just use a .NET (or as you said a C#) DLL.
InfamousNoone is offline  
Old 11/07/2009, 05:26   #3


 
CptSky's Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 1,434
Received Thanks: 1,147
Encryption system and possibly other private things...
CptSky is offline  
Old 11/07/2009, 05:31   #4
 
elite*gold: 0
Join Date: Jun 2009
Posts: 787
Received Thanks: 314
Use VC++ if you can't decide.

(loljoke)
_tao4229_ is offline  
Old 11/07/2009, 05:43   #5


 
CptSky's Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 1,434
Received Thanks: 1,147
I will use the C++ for the private things.
Thanks Hybrid.
CptSky is offline  
Old 11/07/2009, 08:23   #6
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
Encryption/Decryption would be faster in a c++ dll the difference will be very little but you also could use assembler xD
~Yuki~ is offline  
Old 11/07/2009, 12:24   #7
 
unknownone's Avatar
 
elite*gold: 20
Join Date: Jun 2005
Posts: 1,013
Received Thanks: 381
Quote:
Originally Posted by CptSky View Post
I will use the C++ for the private things.
Thanks Hybrid.
You can only "protect" things if you know what you're doing. You're not protecting anything, but deterring less capable crackers from grabbing your code. The more capable the hacker, the less likely you are to protect anything from him.

So I wouldn't waste your time. Whether someone gets your (obfusticated) code via reflection, or basic asm debugging isn't a great difference.
unknownone is offline  
Old 11/07/2009, 16:45   #8
 
InfamousNoone's Avatar
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,012
Received Thanks: 2,882
Quote:
Originally Posted by unknownone View Post
You can only "protect" things if you know what you're doing. You're not protecting anything, but deterring less capable crackers from grabbing your code. The more capable the hacker, the less likely you are to protect anything from him.

So I wouldn't waste your time. Whether someone gets your (obfusticated) code via reflection, or basic asm debugging isn't a great difference.
In my opinion, there's honestly next to nobody left in the conquer section (actively) who's active who can disassemble and reverse things other than yourself, Saint (tao4229), Ultimation, and myself. There might obviously be a few individuals who you have contact with (or don't) who just don't post on e*pvp but who're active.

Because of this factor though, I'd use C++.
InfamousNoone is offline  
Old 11/07/2009, 17:48   #9


 
CptSky's Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 1,434
Received Thanks: 1,147
Quote:
Originally Posted by InfamousNoone View Post
In my opinion, there's honestly next to nobody left in the conquer section (actively) who's active who can disassemble and reverse things other than yourself, Saint (tao4229), Ultimation, and myself. There might obviously be a few individuals who you have contact with (or don't) who just don't post on e*pvp but who're active.

Because of this factor though, I'd use C++.
Same opinion... I am active in the french community, and there is not a lot of people who can understand the ASM and reverse some things... There is more people who can get the C# code of a program...

After, C++ is I think better for the performance that the managed language...
CptSky is offline  
Reply


Similar Threads Similar Threads
Absolut unverständlich - JavaApplet geht intern, nicht extern!?
01/16/2008 - Technical Support - 2 Replies
Morgen allerseits, also ich habe hier folgendes Problem: Wir haben hier eine Webcam (steuerbar) mit eigenem Server. Man kann den Videostream wahlweise über ActiveX oder über ein JavaApplet ansehen und auch die Kamera steuern. Die Kamera ist auch vom Internet aus (über Port 80) ansteuerbar. So... jetzt folgendes: (Da ich FF verwende, benutze ich nur das JavaApplet) An PC 1 kann ich die Kamera nur intern (192.168.178.21) ansprechen. Diese Anfrage wird von der Eumex an unseren Netgear...



All times are GMT +2. The time now is 10:04.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.