Other Everything else not covered in the main topics goes here. Please avoid brand and flame wars. Don't try and up your post count. It won't work in here.

Any Visual C# programmers here?

Thread Tools
 
Search this Thread
 
Old Jul 27, 2005 | 10:06 PM
  #16  
BigBlue's Avatar
Banned
 
Joined: Feb 2002
Posts: 0
Likes: 0
I know yall are speaking in english but I have no clue what your saying.
Reply
Old Jul 27, 2005 | 10:51 PM
  #17  
edwinsmith's Avatar
Thread Starter
Registered User
20 Year Member
Liked
Loved
Community Favorite
 
Joined: Dec 2004
Posts: 4,312
Likes: 1,063
From: Commerce, OK
It's a sub form of english called computerese. For a translation (and a just fun read) see the Jargon Files: http://www.catb.org/~esr/jargon/html/

Edwin
Reply
Old Jul 28, 2005 | 06:24 PM
  #18  
BigBlueDodge's Avatar
Registered User
 
Joined: Mar 2005
Posts: 331
Likes: 0
From: DFW, TX
Originally posted by joefarmer
XAML, Avalon, winFX, longhorn? Those are the only buzz words I know.

brandon.

Beyond that......I just can't say anything, but of course, I'm sure you understand
Reply
Old Jul 28, 2005 | 11:38 PM
  #19  
joefarmer's Avatar
Registered User
 
Joined: Sep 2003
Posts: 1,300
Likes: 0
From: stupid ohio
Originally posted by BigBlueDodge
Beyond that......I just can't say anything, but of course, I'm sure you understand
*engaging psychic mode*

I'm sensing a ... a.... an NDA in your past.

*end warp*

I totally understand. I hate walking around knowing what's coming up without being able to tell anyone!

Back to C#... My only beef is that I can't get low level enough for RS232 without breaking out into unmanaged code. I know some of that may be coming up in the 2.0 Framework... I'm curious to see how much of those pieces make it to the gold release.

brandon.
Reply
Old Jul 29, 2005 | 02:43 AM
  #20  
edwinsmith's Avatar
Thread Starter
Registered User
20 Year Member
Liked
Loved
Community Favorite
 
Joined: Dec 2004
Posts: 4,312
Likes: 1,063
From: Commerce, OK
Originally posted by joefarmer


Back to C#... My only beef is that I can't get low level enough for RS232 without breaking out into unmanaged code. I know some of that may be coming up in the 2.0 Framework... I'm curious to see how much of those pieces make it to the gold release.

brandon.
Is that because of the HAL? What sorts of things are not available? Bit levels on the control pins such as RTS CTS CD etc...?

I assume you can get and send strings. Are there any problems there? I have a device that uses 8 bit communications with ALL codes possible. Can I get every byte without filtering of control codes etc...?

Edwin
Reply
Old Jul 29, 2005 | 11:25 AM
  #21  
joefarmer's Avatar
Registered User
 
Joined: Sep 2003
Posts: 1,300
Likes: 0
From: stupid ohio
To the best of my knowledge, the 1.0 and 1.1 .NET Frameworks don't have any managed namespaces for Serial IO built into the framework. You'll always end up going out to unmanaged code to interact with windows (typically done with the kernal.dll or otherwise). I was also developing in the Compact .NET Framework and it's the same way, just harder. There are several open source projects that I've found helpful:

http://opennetcf.org/CategoryView.aspx?category=Home
http://www.codeworks.it/net/VBNetRs232.htm
http://www.codeproject.com/dotnet/DotNetComPorts.asp

There are some more out there, but each one reverts to unmanaged code inside the wrapper classes.

brandon.
Reply
Old Jul 29, 2005 | 11:31 AM
  #22  
hotdram's Avatar
Registered User
20 Year Member
 
Joined: Feb 2003
Posts: 1,747
Likes: 0
From: McKinney, TEXAS
Originally posted by joefarmer

I totally understand. I hate walking around knowing what's coming up without being able to tell anyone!

brandon.
I would be happy just walking around knowing whats going on now, let alone whats coming up

~Rob
Reply
Old Jul 29, 2005 | 02:49 PM
  #23  
BigBlueDodge's Avatar
Registered User
 
Joined: Mar 2005
Posts: 331
Likes: 0
From: DFW, TX
Joefarmer, serial io is not in the 1.0 and 1.1 releases of the framework so yes, you will have to PInvoke down to unmanaged code. Now, in the 2.0 version, there Serial IO is included as part of the framework. Until the operating systems are written in managed code, then PInvoking down to unmanaged code is a fact of life. This is true no matter if it is Java, PHP, .Net, COM, or whatever. At some point in those libraries they are making native calls to the OS.

So short story, starting cranking out some pinvoke calls, or download the latest beta of 2.0 and work completely in the managed world.

I'm sensing a ... a.... an NDA in your past.
Where I work, I live in a NDA, past present and future
Reply
Old Jul 29, 2005 | 05:39 PM
  #24  
edwinsmith's Avatar
Thread Starter
Registered User
20 Year Member
Liked
Loved
Community Favorite
 
Joined: Dec 2004
Posts: 4,312
Likes: 1,063
From: Commerce, OK
I did a little searching on MSDN and I found this nice article with an included base class to build on. Thanks for the hint.

http://msdn.microsoft.com/msdnmag/is...m/default.aspx

I'll take a look at the open source links you provided also.

I've never been under an NDA myself but there have been other TLA's.



Edwin
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
VaultRam
3rd Gen Engine and Drivetrain -> 2003-2007
10
Jan 18, 2011 07:35 PM
stidwell
3rd Generation Ram - Non Drivetrain - All Years
5
Mar 27, 2008 03:46 PM
onemoretruck
12 Valve Engine and Drivetrain
2
Nov 5, 2006 08:19 PM
mr T
12 Valve Engine and Drivetrain
5
Aug 27, 2005 08:28 AM
Dan C.
3rd Generation Ram - Non Drivetrain - All Years
8
Aug 12, 2003 07:45 AM




All times are GMT -5. The time now is 11:38 AM.