|
Does anyone know if the main programming language for windows Vista is C# and if the Windows Vista is based of .Net Framework 3.0 or it has its own Api and if not is there going to be any windows that will be based completely on .Net Framework?
I just want to know the future of C#, C++, and .Net Framework(winfx)!?
Sojaner!
|
|
|
|
|
WinFX is a set of windows libraries in managed APIs. This is a key feature in Vista development and has been renamed to .Net 3.0. There is no "main programming language". The closest thing to an all .Net framework-based OS is Singularity[^].
Logifusion[^]
|
|
|
|
|
So you mean, Microsoft is still working on the unmanaged c++ libraries to develop the next version of its OS and the WinFX is still a key feature?! But is visual c++ going to be there in next Visual Studio version or not, I'm a C# developer and I don't know the C++ language, I've tried to learn but because I learnt C# first and I'm really comfortable with it, I could not continue learning C++, so I'm trying to understand if C# is going to take the place of Visual C++ ro not, and if the microsoft going to plane its OS based on the managed code or not! Because somewhere, that I cann't find the url right now, I read that the next Visual C++ would not include the ATL and MFC templates, and without them C# is really a nicer language than the C++ I think!
And so because of all these I'm looking for the future!
Sojaner!
|
|
|
|
|
I think that C++ will be around for a while because of driver development. I am not sure that you can write a video driver in C# for Vista. You need low level access to things and since that means C/C++ that will probably not go away.
Steve Maier, MCSD MCAD
|
|
|
|
|
Acording to fat_boy, most driver work is still done in plain C because there's less chance for abstraction to do something undesired behind the scenes.
|
|
|
|
|
When I wrote printer drivers we did them in C++. And we even shared some of the code and data with Mac drivers that we wrote too.
Steve Maier, MCSD MCAD
|
|
|
|
|
Well, I can understand them wanting to remove ATL and MFC. But an unmanaged development language is still needed. Which means C++ will be around for a long time.
Logifusion[^]
|
|
|
|
|
Game development will insure that. All about performance and C++ is fast. Especially with embeded assembly language.
Try code model generation tools at BoneSoft.com.
|
|
|
|
|
I totally agree on the assembly language issue, but I thought that there was a managed DirectX in C#. Don't you think this will take over in game development in the next few years?
Besides, I thought that managed code should be faster than unmanaged C++ code due to the "just in time" compilation thing!! I aven't read much about it, any ideas??
Also, why don't we combine the power of C++ into C#? Inline assembly, low level API & hardware access?? We could even make a managed assembly integrated into C# compiler?? why not?
Personally, I'm willing to contribute -as much as I can- to any project that combines these 3 languages -C#, C++, & Assembly- together. With the ease of C#, & power of C++, & assembly, programming will be a game.;)
|
|
|
|
|
Oh yeah, DirectX 9.0 has managed classes. But I don't expect the gaming industry to pounce on it anytime soon. I think they are a little set in their ways, and JIT compiling is slower than unmanaged code. Java is a HUGE testament to that. And technically, though it may be small now, object oriented language tend to loose some performace in the trade off with better organization. More procedural programming is faster, because instructions are right there. It's a horible way to organize code, but it's faster.
I'd love to see the Gaming industry move to C#, then I might have a fighting chance in hell of getting into it. Until then, I'll have to restrict mine gaming fun to killin brown people in BattleField2. (No offence to brown people that may be reading )
Try code model generation tools at BoneSoft.com.
|
|
|
|
|
Nader Elshehabi wrote: I totally agree on the assembly language issue, but I thought that there was a managed DirectX in C#. Don't you think this will take over in game development in the next few years?
No. The need for an occasional full garbage collect on a gig of memory will kill gaming uses, because stopping for a second or three is completely unacceptable.
|
|
|
|
|
I am attempting to access functions from an unmanaged C DLL. One of these is generating an Unhandled Exception: "attempt to read or write protected memory".
I have examples similar to mine on the web, all of which come down to the need for manual intervention in Marshaling. However, the function causing the problem for me returns void, and I can find no examples which deal with this case. Is this because I am barking up the wrong tree?
DLL function prototype:
<br />
void GetRNGstate(void);<br />
C# Code:
<br />
class TestLink<br />
{<br />
[DllImport("X.dll")]<br />
[return: MarshalAs(UnmanagedType.IUknown)]<br />
public static extern void GetRNGstate();<br />
<br />
...<br />
<br />
static void Main()<br />
{<br />
<br />
GetRNGstate();
<br />
...<br />
}<br />
}<br />
Any assistance appreciated.
|
|
|
|
|
Hi!
At first I have to say that I'm not that expert, but some experiences:
I sometimes face the same problem, and when I search for the answer, I get the point: I just assigned or passed the wrong type of arguments or didn't pass the necessary arguments, as you said the function prototype is like this:
void GetRNGstate(void);
so I think you should do this:
[DllImport("X.dll")]
public static extern void GetRNGstate(delegate yourDelegate);
There is a really useful tool that I sometimes use and will help you undrestand how to use DllImport method and attribute (It uses windows API): ApiViewer 2004
Forgive me if I'm wrong! But just test it!
Sojaner!
|
|
|
|
|
farquem8 wrote: [return: MarshalAs(UnmanagedType.IUknown)]
Remove that!
|
|
|
|
|
Do you mean what I told is that wrong that should be removed?
Sojaner!
|
|
|
|
|
Dear All,
I have stored procedure of Dept(add/update/insert) and for Company(add/update/insert).
How to groups the procedure using then Procedure Groups in SQLServer
|
|
|
|
|
Number 3.
http://www.codeproject.com/script/comments/forums.asp?msg=1278604&forumid=1649#xx1278604xx
|
|
|
|
|
|
|
The only thing which you should consider to be 'urgent' is seeking immediate and comprehensive psychiatric treatment.
|
|
|
|
|
That's a bit harsh. Some people just don't know how to use the internet correctly.
modified 12-Sep-18 21:01pm.
|
|
|
|
|
That guy has been told dozens of times not to post every question as "Urgent", so I disagree that I am being harsh. The guy must have issues and really should get some help.
Josh
|
|
|
|
|
Josh Smith wrote: That guy has been told dozens of times not to post every question as "Urgent", so I disagree that I am being harsh. The guy must have issues and really should get some help.
Maybe some people don't understand that "urgent" is not the magic word and it is also not my middle name
I do not think you are being harse because these "urgent" posts really start pissing me off. Urgent! I need the winning lottery ticket for tonight
|
|
|
|
|
Paul Conrad wrote: Maybe some people don't understand that "urgent" is not the magic word
Then the multiple replies stating so to every request should help them get a clue.
Try code model generation tools at BoneSoft.com.
|
|
|
|
|
This is an example of a person, who doesn't want to do his/her own homework and just put the assignment into this forum and hope that someone replying and never giveup.
Sorry, but it's wrong.
- DON'T PUT URGENT INTO SUBJECT
- WRITE YOUR OWN CODE
- DON'T ASK FOR AN ANSWER AGAIN IN THIS FORUM, BECAUSE YOU WILL NEVER GET IT AGAIN
|
|
|
|