SIP outgoing video call from TSW-770
#tsw
#crestronhome
#simpl
#simplsharp
#simplsharppro
Greetings, I am trying to write a simple driver for Crestron Home, that would enable calls from the apartment to the reception desk that uses 2N phone (https://www.2n.com/en_US/products/2n-ip-phone-d7
Від
@adamglodek
· #253000
·
|
Help with static events
#simplsharp
Awesome, you’re welcome!
Від
@DizzyEgg
· #249881
·
|
Help with static events
#simplsharp
Wow, that works! Thank you, I sincerely appreciate it!!!
Від
noamx4me
· #249880
·
|
Help with static events
#simplsharp
Oh yes, sorry, in your event args you need the default constructor as well as the overloaded one that takes arguments, should have been: public class MyEventArgs : EventArgs { int mValue; public MyEve
Від
@DizzyEgg
· #249879
·
|
Help with static events
#simplsharp
@DizzyEgg, Thank you, this must be close, but I am getting this error and am unsure why... [C:\Projects\_tests\Test Static Class.usp] Error 1009 (Line 26) - Class or Structure does not contain member:
Від
noamx4me
· #249878
·
|
Help with static events
#simplsharp
You can use custom event args with static events, as shown in my example.
Від
@DizzyEgg
· #249877
·
|
Help with static events
#simplsharp
Im pretty sure only static EventHandler will work in s#/s+ and not custom event args. So for example this should work but uses the standard EventArgs: public static class Class1 { public static event
Від
matklucznyk
· #249876
·
|
Help with static events
#simplsharp
Here is some untested code. The main thing is to register in Simpl+ with the static class name, NOT an instance of the class... //C# namespace MyLibrary { public delegate void MyEvent(MyEventArgs e);
Від
@DizzyEgg
· #249874
·
|
Help with static events
#simplsharp
From my experience Static events are not possible with S+. I get an error message saying "Class EventHandler expected". Static events don't even show up when you open the API within S+. You can always
Від
Shawn Fennell
· #249873
·
|
Help with static events
#simplsharp
After playing with Delegates and Events, I still cannot seem to get the syntax correct to pass C# variables back to S+ by means of a static event. I have the TBD course and it doesn't quite show this.
Від
noamx4me
· #249869
·
|
#simplsharp #simpl+
#simplsharp
Hi Troy, I have been going through your course and I am stuck right at the point of the static events. You don't show how to use the static event as you do with the non-static event. I have been tryin
Від
noamx4me
· #249864
·
|
Visual Studio 2008
#simplsharp
Yes, my understanding is 2022 will work just fine, now that the debugger has been updated. Still a giant PITA but 2022 seems ok.
Від
Devin Cook
· #248886
·
|
Visual Studio 2008
#simplsharp
I though I would chime in here rather than add a new VS topic. Can you use Visual Studio 2022 rather than 2019 for 4 Series S#?
Від
Adam
· #248885
·
|
Visual Studio 2008
#simplsharp
Thanks all, it's a lot clearer now.
Від
Olivier Royer
· #248330
·
|
Visual Studio 2008
#simplsharp
I have heard rumors that some people have gotten old 3.5 stuff to compile with new versions of VS, but I believe they needed the VS2008 installed as well. Unfortunately debugging with the latest VS is
Від
Devin Cook
· #248313
·
|
Visual Studio 2008
#simplsharp
Due to the .NET framework version that the Windows CE install for 3-series processors uses you must use VS2008 with the Crestron Plugin. You can’t use the plugin on newer (or older) VS versions or com
Від
Lincoln King-Cliby
· #248311
·
|
Visual Studio 2008
#simplsharp
You have to have VS 2008 to do SIMPL # for 3 series processors. You can use new versions of Visual Studio to do # for 4 series. The requirement of 2008 for 3 series is unfortunate, but it is what it i
Від
Robert Ray
· #248307
·
|
Visual Studio 2008
#simplsharp
Sorry for ressurecting an old thread, but I don't seem to find an answer. I want to dive into Simpl#, and on the Crestron Website, they say the libraries work with Visual Studio 2008 SP1. It seems to
Від
Olivier Royer
· #248306
·
Змінено
|
XML in vs2008
#simplsharp
Thanks guys! I have it working now. I really appreciate the help.
Від
Alex Teague
· #248103
·
|
XML in vs2008
#simplsharp
Here is part of the code I wrote for reading xml data from a file for a module I have that tracks the angle and elevation of the sun, compares that with data for each window, and automates the operati
Від
jbasen
· #248102
·
|
1 - 20 з 147