Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Programming
You last visited: Today at 01:24

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

Advertisement



Problem with function (only work in windows, netcore)

Discussion on Problem with function (only work in windows, netcore) within the CO2 Programming forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Nov 2008
Posts: 63
Received Thanks: 11
Exclamation Problem with function (only work in windows, netcore)

I am working in a .Net Core version of WorldConquer Source but i have 1 problem for do this (the other problems are solved).

Need alternative of using this function CAST_set_key and others of same library (See image for details) because this function is using a libeay32 library but only work in windows. Any ideas?

I tried with a CO2_CORE_DLL for this but not working (maybe I don't know how to use it well)

darkhc is offline  
Old 04/29/2020, 01:30   #2
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,191
.NET Core is cross-platform. It's not going to allow you to import a DLL that's been compiled for a specific native architecture and operation system. CAST-5 in CO2_CORE_DLL worked for me, but I had to take it out of the framework and rewrite it. That style of unsafe and kernel level allocation isn't going to work for .NET Core, nor is it recommended for C# in general (I don't fault him, of course - I was doing that 7 years ago as well).
Spirited is offline  
Thanks
2 Users
Old 04/29/2020, 12:23   #3
 
elite*gold: 0
Join Date: Nov 2008
Posts: 63
Received Thanks: 11
Exclamation :(

Quote:
Originally Posted by Spirited View Post
.NET Core is cross-platform. It's not going to allow you to import a DLL that's been compiled for a specific native architecture and operation system. CAST-5 in CO2_CORE_DLL worked for me, but I had to take it out of the framework and rewrite it. That style of unsafe and kernel level allocation isn't going to work for .NET Core, nor is it recommended for C# in general (I don't fault him, of course - I was doing that 7 years ago as well).
So the best thing I can do is make the CO2_CORE_DLL library compatible with netcore? Thanks for your answers
darkhc is offline  
Reply


Similar Threads Similar Threads
Netcore Aion Private Server 4.9 rev 571
03/09/2017 - Aion Private Server - 0 Replies
Join us! New server, vote reward for credits and trade at webshop! No pay to win! Vote to win only!! Netcoreaion https://www.facebook.com/NetcoreAion/ Youtube http://netcoregaming.com/wp-content/uploads/2017/ 02/v1-banner-aion.gif
std::function of a function returning an std::function
11/11/2013 - C/C++ - 19 Replies
Nun muss ich nach langer Zeit auch mal wieder einen Thread erstellen, weil mir Google nicht mehr weiterhelfen kann. Ich verzweifle an Folgendem Vorhaben: #include <Windows.h> #include <string> #include <iostream> using namespace std;
Running Function 2 after Function 1 finished
09/15/2013 - AutoIt - 3 Replies
Hey, its me again. Im stuck on a problem since yesterday and as much as i hate to ask for help, i really dont know what else to try. I want Function 2 to run after Function 1 has finished. I tried GuiCtrlSetOnEvent and MsgLoop, but i dont really understand it. I tried to read tutorials but they didnt help at all. The line that are underline is what im talking about. I want gamestart() to run first and when its finished, i want iniviteteam() to run. #AutoIt3Wrapper_UseX64=n...
[VIP-function] ToxicSYS [VIP-function]
08/14/2010 - WarRock Hacks, Bots, Cheats & Exploits - 1 Replies
heeeey E-pvpers :pimp: this is a new hack by TSYS Status : UNDETECTED Functions (VIDEO) : YouTube - WarRock - Bikini event VIP hack
IT WORK IT WORK IT WORK !!!!!!
09/26/2007 - Conquer Online 2 - 4 Replies
ALL LOG ON NOW BEFORE IT CLOSE AGINE FAST FAST !!!!!!!!!!!!!!!!!!!!!!!!!!!!!



All times are GMT +1. The time now is 01:24.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.