|
|
I strongly recommend you don't even try. COM Marshalling is really slow. You're best off creating a Managed C++ class library that contains native DirectX code. Still, there are some features such as Direct3D FVFs that are impossible to implement as managed code.
|
|
|
|
|
for right now, you'll have to use Interop to talk to DX8.
however, DX9 will come with a full managed api as well as the old com interface.
so if you can afford the time... i'd suggest you wait on the dx9 release.
|
|
|
|
|
When oh when oh when will it come out?
I also am waiting on DX9 to begin my game development.
-Domenic Denicola- [CPUA 0x1337]
MadHamster Creations
"I was born human. But this was an accident of fate - a condition merely of time and place. I believe it's something we have the power to change..."
|
|
|
|
|
Did a brain transplant on my Laptop with XP pro.
Then to install Visual Studio .NET. Well it tell me I can't until I install the missing windows components. "would I like to?" it asks. Of course I would. So it does.
Now at last I can install Visual Studio !!! At least that's what I thought. Now it tells me that I can't until I remove the Visual Studio component that is already there.
Hang on!!! Wasn't I just advised to install it? Ok so I remove it.
Restart the install program and guess what?? I can't install until I add the component I just removed.
To paraphrase a TV ad that is running in Australia "NOT HAPPY!! BILL"
Happy programming!!
|
|
|
|
|
I am just starting out with .NET
I find it's great the ease it lets you create n-Tier applications.
I just put up an SQL Server Db, I made an XML Web Service, and for the client side I already have a Web Application in C# or a Windows Forms in C#.
You just learn to use the Add Web Reference:
Smooth as silk!
I was wondering now how the philosophy of Microsoft comes to play now.
I mean, what if I want to create a client on JAVA2ME? or for the Symbian OS? Or for the Palm OS? or on the Pocket PC? or on the Smartphone? or on Linux?
Technically it should be easy:
you add a Web Reference, call the method "GetDataFromDb();" on the Web Service, retrive the XML file, process it, update!
But what practically?
Are there tools now?
Is XML supported?
Are web references supported?
Oh I hope sombody thought about it!
"Nelle cose del mondo non e' il sapere ma il volere che puo'."
|
|
|
|
|
Check this article out: http://www.fawcette.com/vsm/2002_08/magazine/departments/guestop/
It talks about possibly porting VBA to .NET. If they can do that, it seems feasible that the same could be done for VB6. Not having to learn a new language before switching to the .NET platform could probably greatly ease the transition for many people. While VB.NET isn't THAT different, it was somewhat annoying for me to get used to the language and the .NET platform at the same time. Companies that program in VB6 would probably switch to .NET a lot quicker if they didn't have to retrain a bunch of employees.
Anyone else have any thoughts?
|
|
|
|
|
If they can port VBA to .NET then they wouldn't have needed to change VB6 to VB .NET.
Kevin
|
|
|
|
|
I have a pretty good grasp of C++ but very little success in GUI applications with MFC from MS Visual C++. I am interested in windows based applications (to be used mainly by myself) in engineering problem solving.
Where should I begin?
Should I concentrate on learning MFC from VC++ 6.0 or switch to .NET framework now?
What books or training would you recommend?
When you come to a fork in the road, take it! Y. Berra
|
|
|
|
|
Go to .NET, you won't regret it. It's a great technology. However, you're going to need to get your hands on some version of Visual Studio .NET, which is rather expensive
In general I find the Wrox Press Beginning ___ (in this case Beginning C#) very good introductions, but since your a programmer already I've heard good things about Inside C# 2.
-Domenic Denicola- [CPUA 0x1337]
MadHamster Creations
"I was born human. But this was an accident of fate - a condition merely of time and place. I believe it's something we have the power to change..."
|
|
|
|
|
Actually, Amazon has the Professional UPGRADE for $165 after $300 rebate.
So do recommend C#.NET over C++.NET? Why is that?
When you come to a fork in the road, take it! Y. Berra
|
|
|
|
|
Donald Blachly wrote:
So do recommend C#.NET over C++.NET? Why is that?
I do; because I think its much easier to learn how to use the class library without the language syntax getting in the way. To me, the C# syntax is intuitive to the use of the .NET classes.
My opinion anyway
James
"Java is free - and worth every penny." - Christian Graus
|
|
|
|
|
This is purely my opinion but if you're going to use C++.NET then you should either use C# or C++. C++ wasn't designed to be run in .NET and as such there are some places where working with C++.NET is funny to say the least(boxing for instance).
C# was designed to run in .NET. Essentially, anything you can do in C++.NET can be done in C#. C# has a much more intuitive syntax and once again IMHO is easier to work with sometimes.
However this is purely an opinion thing
Jared
jparsons@jparsons.org
www.prism.gatech.edu/~gte477n
|
|
|
|
|
I recommended C# (BTW, they're technically called C# and Managed C++, not C#.NET and C++.NET).
Basically C++ is not designed for .NET. The syntax is ugly and evil, and many things are inconvenient. It is good for mixing of unmanaged and managed stuff (read: non-.NET and .NET stuff), because with it you can write both. But otherwise, C# is designed for .NET and is a lot cooler as such.
-Domenic Denicola- [CPUA 0x1337]
MadHamster Creations
"I was born human. But this was an accident of fate - a condition merely of time and place. I believe it's something we have the power to change..."
|
|
|
|
|
Quite frankly, it doesn't matter what language you choose (VB.NET C# or MC++) because they all work the same framework and 99% of what they can do is the same.
MC++ is the most powerful and most flexible, but can be the biggest pain, as you don't have a GUI interface for designing forms/windows. C# and VB.NET are practically identical, except that C# can work with pointers (which I've never had a use for).
If you're really performance oriented, create the front-end in C#/VB.NET and the back-end in MC++, as the C#/VB compilers suck.
|
|
|
|
|
|
Yeah, the CLR runs the same, but the C# and VB.NET compilers are really bad at optimizing code. I found that out with ildasm, and I think there is an article on MSDN about performance tuning .NET which admits the same thing.
|
|
|
|
|
Donald Blachly wrote:
Should I concentrate on learning MFC from VC++ 6.0 or switch to .NET framework now?
My advice would be: VC++ 7.0 and WTL.
I vote pro drink
|
|
|
|
|
I just got my J# CD in the mail today . I realized however that on the CD it says, "Microsoft Visual J#.Net Standard." What does standard mean? Is there an enterprise version? If so, that is what I should get considdering that I have the enterprise developer edition of VS.NET. Is this yet another plot by Microsoft to screw with my head?
|
|
|
|
|
It's probably just mirroring J++ 6. If I recall, there was only ever a J++ Standard Edition with VS6. At least that's what I received in the post after purchasing an early version of VS6 Pro. If that's so it is, of course, very confusing, as VC++ Pro, etc., aren't the same as the Standard editions.
Kevin
|
|
|
|
|
Is there a linked list class anywhere in the Framework? So far, the closest classes I've seen are the ArrayList and the DataTable. Also, is the DataTable like the ArrayList in its need to shift its elements over when inserting a row at a certain position?
What? Were you expecting something witty or funny here?
|
|
|
|
|
AFAIK there isn't a straight up implementation of a linked list. There are a few classes that use it internally but I think you are much better off creating your own implementation.
If you don't know the code for it, there are lots of C++ implementations out there that you can use as a guide.
James
"Java is free - and worth every penny." - Christian Graus
|
|
|
|
|
|
yeah; the server was being flown cross country early this morning. It was only supposed to have been down for 5-6 hours but its been down since about midnight last night.
It arrived at its destination about 9 hours ago; and I think we're just waiting for the new IPs to propagate out to DNS servers.
Maybe it'll be up in the next hour or so
*James crosses his fingers*
James
"Java is free - and worth every penny." - Christian Graus
|
|
|
|
|
Update: The administrator for the host is suggesting that everyone on that server open a trouble ticket and request to be moved to the new server.
Apparently when the company started up they used someone's colo, now they run their own so getting put on a new server would mean that the person I bitch at is the person that gets the work done
Actually I wouldn't say I'd ever bitch at them, for $3.95 a month they give damn good service
James
"Java is free - and worth every penny." - Christian Graus
|
|
|
|