Re: using a dll in c#?

2020-12-08 Thread AudioGames . net Forum — Developers room : pauliyobo via Audiogames-reflector


  


Re: using a dll in c#?

also, you can modify .csproj files by hand if you so wish and then run msbuild to actually build the solution..csproj files are just basically XML nodes, and you can just use those to add packages or whatever you have to in your project.

URL: https://forum.audiogames.net/post/596570/#p596570




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: using a dll in c#?

2020-12-08 Thread AudioGames . net Forum — Developers room : mohamed via Audiogames-reflector


  


Re: using a dll in c#?

thanks again, It works grately now, Using visual studio now.

URL: https://forum.audiogames.net/post/596507/#p596507




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: using a dll in c#?

2020-12-08 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector


  


Re: using a dll in c#?

@20yeah, basically that's what I figured.  Back to hoping Dart follows through on desktop accessibility by the time this matters.

URL: https://forum.audiogames.net/post/596499/#p596499




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: using a dll in c#?

2020-12-08 Thread AudioGames . net Forum — Developers room : Turret via Audiogames-reflector


  


Re: using a dll in c#?

@Camlorn, about Windows Forms support, see this.For those too lazy:"No. You can partially run WinForms apps on Linux using Mono, because they have their own partially compatible WinForms implementation. But using . NET Core, you cannot (yet)."

URL: https://forum.audiogames.net/post/596497/#p596497




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: using a dll in c#?

2020-12-08 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector


  


Re: using a dll in c#?

It looks like .net core 3.0 does actually support Winforms and WPF, which means that if you go through the trouble of figuring it out, you may be able to get a fully functional CLI experience.  There also appears to be good VSCode support.  I'll have to look into this further myself; it may address the reasons I've avoided the platform, but it's also probable that you can't target Mac and Linux with winforms, so that might still stop me (unless Xamarin is also like we're CLI friendly yaaay, but I doubt it).

URL: https://forum.audiogames.net/post/596491/#p596491




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: using a dll in c#?

2020-12-08 Thread AudioGames . net Forum — Developers room : Turret via Audiogames-reflector


  


Re: using a dll in c#?

I don't think VS actually ever makes you add something to the SLN by hand, and it would honestly surprise the fuck out of me, as VS is all about "GUI and GUI and GUI and GUI and features and GUI and GUI and GUI and GUI and did I mention GUI?"

URL: https://forum.audiogames.net/post/596489/#p596489




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: using a dll in c#?

2020-12-08 Thread AudioGames . net Forum — Developers room : lemm via Audiogames-reflector


  


Re: using a dll in c#?

Hi,@Mohamed, as post 2 and 12 mentioned, for adding something like Tolk: In visual studio whilst in your project go to the projects menu, select add reference,  choose the option browse  and find and select the TolkDotNet.dll and add this to your project. You’ll also need to place either the X86 or X64 Tolk DLL file into your project folder, you can place it in the bin//debug  folder, you’ll also need to place any other required screen reader DLL’s in here to. Then if you follow the example Tolk Code  which is on the Tolk GIT page you should then have Tolk up and running. Hope that helps.Paul Lemm

URL: https://forum.audiogames.net/post/596473/#p596473




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: using a dll in c#?

2020-12-08 Thread AudioGames . net Forum — Developers room : mohamed via Audiogames-reflector


  


Re: using a dll in c#?

ok, Getting hang of it although for some reason it hate the Tolk.dll and doesn't stop outputing errors, But well, Guess that i need to find another thing to use other than Tolk.dll at that case

URL: https://forum.audiogames.net/post/596470/#p596470




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: using a dll in c#?

2020-12-08 Thread AudioGames . net Forum — Developers room : mohamed via Audiogames-reflector


  


Re: using a dll in c#?

ok, Getting hang of it although for some reason it hate the Tolk.dll and doesn't stop outputing errors, But meh, Guess that i need to find another thing to use other than Tolk.dll at that case

URL: https://forum.audiogames.net/post/596470/#p596470




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: using a dll in c#?

2020-12-08 Thread AudioGames . net Forum — Developers room : mohamed via Audiogames-reflector


  


Re: using a dll in c#?

@12 ok, I expected that i needed to do something like that, Thanks, Going to try it@15 not only windows forms, But other stuff as well i am having problems with, And as i said before, I expected something like i must include something to the sln file but was unsure how.

URL: https://forum.audiogames.net/post/596467/#p596467




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: using a dll in c#?

2020-12-08 Thread AudioGames . net Forum — Developers room : lemm via Audiogames-reflector


  


Re: using a dll in c#?

Hi,@Mohammed, regarding using Windows forms, when using Visual Studio  and you have to set up your new project, select Desktop as the Project type and then Windows forms  as the project template, you should be able to use Windows forms fine from there. You may have already done this, but since you mentioned not being overly familiar with Visual studio I thought I’d mention it just in case that was what was causing your issue. Hope the previous advise from others above has  gotten your Tolk issue sorted and its now up and running in your project.Paul Lemm

URL: https://forum.audiogames.net/post/596441/#p596441




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: using a dll in c#?

2020-12-08 Thread AudioGames . net Forum — Developers room : defender via Audiogames-reflector


  


Re: using a dll in c#?

So, I'm not a coder, but could we maybe dial down the cuntishness a bit here?  Other devs and potential devs are watching this thread too... And it's starting to become a bit toxic.I have an idea of why that's the case with this particular user of course, but that doesn't make it a good excuse to further tarnish the dev room's rep IMO.

URL: https://forum.audiogames.net/post/596429/#p596429




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: using a dll in c#?

2020-12-07 Thread AudioGames . net Forum — Developers room : pauliyobo via Audiogames-reflector


  


Re: using a dll in c#?

As far as I remember, I believe .NETCore 3.0 was going to introduce support for windowforms, but even then, I am not sure how well it works, because I didn't try it yet.

URL: https://forum.audiogames.net/post/596425/#p596425




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: using a dll in c#?

2020-12-07 Thread AudioGames . net Forum — Developers room : SkyLord via Audiogames-reflector


  


Re: using a dll in c#?

@mohamed,To use windows forms you need to not only write using System.Windows.Forms, but also add the reference to the windows forms assembly by using reference manager, without it it won't work.If, however, you are using latest .net5.0, you need to edit your project file with UsingWindowsForms property to true, i won't give precise instructions as i've seen it only one time and i just know about it. Microsoft docs is your almost best friend.If you've decided to code without vs, i just can't imagine how much problems you would encounter. No debugger, no intely sense, nothing.

URL: https://forum.audiogames.net/post/596407/#p596407




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: using a dll in c#?

2020-12-07 Thread AudioGames . net Forum — Developers room : mohamed via Audiogames-reflector


  


Re: using a dll in c#?

ok, Just managed to let it work, Thanks all.@9, i may search again about my problem, Who knows, It's maybe me not including something inside of the vs or something because i am not that used to vs, So i don't really know how including/excluding librarys work that way, thanks for your tips anyway, I will try again and will see.

URL: https://forum.audiogames.net/post/596397/#p596397




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: using a dll in c#?

2020-12-07 Thread AudioGames . net Forum — Developers room : GrannyCheeseWheel via Audiogames-reflector


  


Re: using a dll in c#?

@7 That's just a bad minset to be in when you're going to be programming. Well, I'm perfect and the compiler is broken so fuck it.

URL: https://forum.audiogames.net/post/596391/#p596391




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: using a dll in c#?

2020-12-07 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector


  


Re: using a dll in c#?

@7VS is very old, and by a company that used to be enterprise as fuck.  Their entire business model until at least 2010 was "we get people to use our stuff, then make sure they can't ever leave".  Don't believe me, google embrace, extend, extinguish.  There is a reason a lot of older programmers don't trust them: we were around for when they were evil.  There are literally parts of windows that are specifically designed to be hard for other OSes to implement.  They actually got into a lot of legal trouble for this kind of thing, though in the end it turned into a slap on the wrist, but nonetheless they were the first really big tech company to be hit with a successful antitrust lawsuit, which honestly hasn't been done successfully since because the bar is really just that high.Unfortunately for everyone involved, in that time, they integrated a *ton* into VS.  They've got a thing called msbuild, and my friend who works at Microsoft on the VS team flat out says that even internally almost no one knows how it works.  It's some gigantic XML files.  Want to build xaml or uwp?  Try using some msbuild dlls that only msbuild understands.  Want to add a bunch of default references?  Well, vs is more than happy to edit your msbuild file, so much so that most vs devs don't even know what msbuild is.You've got to remember, until 2012 or so VS cost some ridiculous amount of money for even individuals, they decided to make it free because it was that or start losing devs to other platforms.  But C# is *not* a language that was originally designed with a mindset of being open and all that, it was designed with a mindset of how do we make sure devs never, ever, ever leave.But this is the tech stack you're opting into.  If you want out of VS, either pick a different language or deal with it for at least the next 5 years.  They are admittedly working on transitioning to more friendly/open source stuff, but .net core is only able to do console/server apps at the moment with no support for the Windows-specific desktop stuff in sight so you can't do anything that isn't running in the terminal with it, and as long as you keep trying to use csc you're going to just keep having more and more questions like this one, and god help you if you decide to try UWP or XAML, because we certainly won't be able to.

URL: https://forum.audiogames.net/post/596390/#p596390




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: using a dll in c#?

2020-12-07 Thread AudioGames . net Forum — Developers room : Turret via Audiogames-reflector


  


Re: using a dll in c#?

A) you need to actually, ya know, put the TolkDotNet.dll file in the directory of your project? What, do you think it's going to just search your hole system?B) Camlorn is right on this one. I tried using CSC, and it worked. Except it really didn't.And C) I have never, ever seen that. That sounds like a very you problem, using System.Media; works here, and I have the bare minimum C# stuff installed (actually, I have the bare bones VS installed, as I hate the thing, and the fact that Microsoft can just go, "Accessibility? What the hell is accessibility?"). But it works here, so I really do not know. I would recommend searching that error on Google.

URL: https://forum.audiogames.net/post/596386/#p596386




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: using a dll in c#?

2020-12-07 Thread AudioGames . net Forum — Developers room : mohamed via Audiogames-reflector


  


Re: using a dll in c#?

yeah, But a thing that can't be smart enough to just pick up something is being used from the whole programing language it self is meh too, I mean how can it doesn't know what windows forms are? Or System.Media? Wtf? Sorry but that's totally stupid, Not sure if something is broken up there, But that's what i get while trying to use stuff in vs, using System; alone is fine, But sometimes with other stuff it gos like weirdo and searching on google doesn't help either.

URL: https://forum.audiogames.net/post/596377/#p596377




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: using a dll in c#?

2020-12-07 Thread AudioGames . net Forum — Developers room : mohamed via Audiogames-reflector


  


Re: using a dll in c#?

ok, here's what i get after doing what you said @3fatal error CS0009: Metadata file 'c:\Users\mohamed\Downloads\c\Tolk.dll' could not be opened -- 'An attempt was made to        load a program with an incor                                                                                    rect format. '

URL: https://forum.audiogames.net/post/596375/#p596375




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: using a dll in c#?

2020-12-07 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector


  


Re: using a dll in c#?

it doesn't matter what you like, in the end if you are going to use C#, you will end up using VS.

URL: https://forum.audiogames.net/post/596374/#p596374




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: using a dll in c#?

2020-12-07 Thread AudioGames . net Forum — Developers room : mohamed via Audiogames-reflector


  


Re: using a dll in c#?

thanks @3, will try out that@2, I don't know... But visual studio doesn't want the code i write, Like if i do using System.Media; that will output a error like it can find it, But with csc, It's fine, And i personally like the terminal much better.

URL: https://forum.audiogames.net/post/596372/#p596372




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: using a dll in c#?

2020-12-07 Thread AudioGames . net Forum — Developers room : thggamer via Audiogames-reflector


  


Re: using a dll in c#?

For the CSC compiler, you can add a reference using the /reference: command line switch, for example:csc /reference:TolkDotNet.dll program.csWill compile program.cs referencing the TolkDotNet.dll library.

URL: https://forum.audiogames.net/post/596370/#p596370




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: using a dll in c#?

2020-12-07 Thread AudioGames . net Forum — Developers room : GrannyCheeseWheel via Audiogames-reflector


  


Re: using a dll in c#?

If you're using C#, use friggin visual studio. You would add the tolk.net.dll as a reference in the solution explorer, then there's way to get it to copy the tolk.dll as well but I don't know how so I just copy it manually to the debug dir of my project.

URL: https://forum.audiogames.net/post/596352/#p596352




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


using a dll in c#?

2020-12-07 Thread AudioGames . net Forum — Developers room : mohamed via Audiogames-reflector


  


using a dll in c#?

helloi am trying to use the  tolk library in c#, But what i am confused about is how do you include a dll in your code? I searched on google, But no luck, Also i am trying to do it only at code state, With out visual studio blah blah blah, Because i just compile using csc from the terminal, So is there a way? Or i am forced to use visual studio?

URL: https://forum.audiogames.net/post/596328/#p596328




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector