danilwhale
danilwhale
CC#
Created by danilwhale on 1/28/2023 in #help
❔ tile packet is not sending to server
title is saying my problem here is repository of my game (this is because it have many files and i dont know which is making problem): https://github.com/localwhale20/BuildingGame
3 replies
CC#
Created by danilwhale on 9/17/2022 in #help
System.InvalidOperationException The operation is not allowed on non-connected sockets
i have client and server, client creates and connects tcp client to server tcp listener, client tcp closes only on exit, when i click it sends data to server listener and server resends for every connected client, and closes streams not clients, but client disconnects from server. i cant found reason, so here code for client (game): https://pastebin.com/tSJ2tAMH, and for server: https://pastebin.com/BWiQRsqQ
1 replies
CC#
Created by danilwhale on 9/7/2022 in #help
insert other application window to my main window
hellooooo! to be short, i want to insert other application window (ex. notepad) to my window, maybe this is not possible, but then ill be know this in future! :)
9 replies
CC#
Created by danilwhale on 9/6/2022 in #help
how to get html element in .cshtml file
title says all my question
13 replies
CC#
Created by danilwhale on 8/30/2022 in #help
microsoft.visualbasic.devices.computerinfo alternative for .net 6
title describes question
6 replies
CC#
Created by danilwhale on 8/30/2022 in #help
wpf maximize makes app full screen
hello again! i dont need full screen, just regular maximize, and google doesn't gives results that i need. im have borderless window, with resizing with grip
2 replies
CC#
Created by danilwhale on 8/30/2022 in #help
how i can import system.management to .net project?
hello! in .net framework, you can import it via assembly references, but how i can made it on .net 6.0?
3 replies
CC#
Created by danilwhale on 8/25/2022 in #help
get minecraft versions list [Answered]
hello! i wanted to make local minecraft server bootstrap, and i need to get versions list, to make user access to decide version to bootstrap, but irony in that i dont know where get this list :) google doesn't show needed results. you can redirect anywhere me for information
21 replies
CC#
Created by danilwhale on 8/24/2022 in #help
System.EntryPointNotFound when trying to get C++ method
C# code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;

namespace CSharpEnd
{
class Program
{
[DllImport("CppEnd.dll")]
static extern int calculate(int x, int y);

static void Main(string[] args)
{
Console.WriteLine(calculate(10, 20));
}
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;

namespace CSharpEnd
{
class Program
{
[DllImport("CppEnd.dll")]
static extern int calculate(int x, int y);

static void Main(string[] args)
{
Console.WriteLine(calculate(10, 20));
}
}
}
C++ code:
#include <iostream>

extern "C" int calculate(int x, int y) {
return x * y + y;
}
#include <iostream>

extern "C" int calculate(int x, int y) {
return x * y + y;
}
idk what here is wrong
4 replies
CC#
Created by danilwhale on 8/24/2022 in #help
mgcb editor doesn't running [Answered]
nothing openning when i trying to open .mgcb file
5 replies
CC#
Created by danilwhale on 8/24/2022 in #help
monogame project templates doesn't have icon
1 replies