|
Hi fellas!
Did anyone try to use Managed DirectX? Any performance tests? Is it worth? Will a Managed 3D engine be fast enough?
Regards,
Serge
|
|
|
|
|
Hi,
Anyone tried to install the .Net Compact Framework Emulator (PocketPC 2002 Emulator) on a computer running WinXP Home?
It seems it does not want to install. All I get is:
"Installing Emulator Driver" then a popup:
---------------------------
Microsoft Development Environment
---------------------------
Emulator driver installation failed. Most common cause: user does not have administrator permissions.
---------------------------
OK
---------------------------
But I am an Administrator .. so I dont' get the problem.
Any ideas?
Thanks,
Tutu.
|
|
|
|
|
Tutu wrote:
Anyone tried to install the .Net Compact Framework Emulator (PocketPC 2002 Emulator) on a computer running WinXP Home?
I have Visual Studio .NET 2003 / Windows XP Home. I got the emulator as part of the full installation I did for Visual Studio. I tested it a couple of times and it seems to be working fine.
I also use Administrator account.
Regards,
Victor.
phpWebNotes is a page annotation system modelled after php.net.
http://webnotes.sourceforge.net/demo.php[^]
|
|
|
|
|
Hi,
I want to develop a setup project which installs .NET framework , MSDE , Flash based on its availability. It can be done with merge modules. MSDE installation has around 13 .msi files. I tried including all the files in the merge module & added to setup project.It did'nt help. Can anyone give me a walkthrough to deal with this issue?
Thanks in advaance
Priya
|
|
|
|
|
The latest merge module for MSDE includes 25 modules(language neutral - 17 and 6 -language specific modules). I guess you must be missing you some of the merge modules.
If you are a die hard coder and would love to code for the installable then this link will help you. http://msdn.microsoft.com/vstudio/downloads/addins/MSDE/instdwnld.aspx
Windows installer tools and tips for MSDE are included here http://www.installsite.org/pages/en/msi/tips.htm#CustomizeMSDE2000.
|
|
|
|
|
I cannot find any scripting engine for .NET to add my application a scripting language, except Lua.NET (witch seems to be actually supported my Microsoft Ressearch) but it seems dead ... http://www.tecgraf.puc-rio.br/~rcerq/luadotnet/
The scripting language must support classes (both ways - script classes accessable form main application and app scripts available to script). Python would be a perfect one here but it also doesn't have a .NET project yet it seems ...
Can anyone help me out ?
|
|
|
|
|
desmond5 wrote:
I cannot find any scripting engine for .NET to add my application a scripting language
Can't you use VB.NET / C# as your scripting language. You can make use of the on-the-fly compiling and execution features of .NET. You will also probably need to limit what user defined scripts can do using Code Access Security.
Regards,
Victor
phpWebNotes is a page annotation system modelled after php.net.
http://webnotes.sourceforge.net/demo.php[^]
|
|
|
|
|
No, you got me wrong. I don't want to use C# AS a scripting language. All I need is a scripting engine that I can use in C# on .NET platform. And I found one - Python.NET.
|
|
|
|
|
Hi,
I have an Installer Setup project which builds fine. However, if I select
Install from within the solution, the installation fails with a message "The
installer was interruped before XXXXX could be installed. You need to
restart the installer to try again."
However, if I move the MSI file to any directory other than where it was
compiled to, the MSI installs fine.
Note that if the application was already installed, then selecting Install
from within the IDE will correctly uninstall the old app before trying (and
then failing) to install the new version.
Any thoughts?
Thanks in advance
Jeremy
|
|
|
|
|
|
Hi everybody:
I'm doing my first application in .NET.
I know how use in my application the Visual Xp Styles.
//before running in main form.
Application.EnableVisualStyles()
But, is not exactly that I want. I only want get, at runtime, the name ( or any other ID ) of the current actived Theme from OS Windows, and (if is XP) current actived Visual Style.
Can anybody help me?
Advanced Thanks.
Best Regards.
|
|
|
|
|
I saw somewhere Microsoft advertising .NET to be platform independent, just like Java Virtual Machine is. But as far as I know, .NET is officially available only for Windows. I think Project Mono (.NET for Linux) isn't a ".NET solution for Linux" right now, because it uses Wine (Win32 API "solution" for Linux). I was somewhere told that mostly only Windows.* base classes depend on Win32 API, so if these could be rewritten to be platform independent, the whole .NET would basically be p.i., right ?
I.e. if you are familiar with Borland Delphi and Kylix family, imagine the current base classes as VCL (Delphi-Win32 only), but the platform independent as CLX (Kylix-Delphi crossplatform compatibility).
P.S. I hope you are understanding what I'm saying. I know I'm now.
|
|
|
|
|
vs .net 2003 setup projects do not allow adding internet shortcuts to the start menu. you get an error about internet addresses not being allowed. how would i accomplish this?
|
|
|
|
|
I saw a great article a while back (don't recall if it was on Code Project or not) explaining exactly what happens when you launch a .NET application (starting the app, loading mscorlib.dll, etc.). Any ideas where I can find such a beast?
Thanks in advance.
Kyosa Jamie Nordmeyer - Cho Dan
Portland, Oregon, USA
|
|
|
|
|
Search for CoInitializeCor or CorBindToRuntimeEx. Any article about Hosting the CLR will need to call these functions or explain what they are.
Trying to make bits uncopyable is like trying to make water not wet.
-- Bruce Schneier
By the way, dog_spawn isn't a nickname - it is my name with an underscore instead of a space. -- dog_spawn
|
|
|
|
|
Thanks for any assistance ahead of time. My question is in general more of a .NET question, but since I'm a C#/C++ person and C# is the ideal .NET language, I'm gonna take a chance posting here. I work for a government contractor and a lot of the things we handle are real-time applications. Data collection, analysis, derived data, etc. and all of it is coming down the pipe in real-time. I am a HUGE .NET fan and advocate, I went to training for C# and use it whenever I can, but when I run into something real-time I always end up going back to VC++ (probably developed in the .NET IDE, but not managed code).
Example: I had to rewrite a program that took real-time data from a program, calculated derived data from the input, then passed the original along with the derived back into the main program. The program was much more simple to write in C# with the use of the Code-DOM, but it hit us with 60-100% CPU usage when we hit it with real data. After the rewrite (In VC++ 6 & MFC), we have virtually no limit on the speed we can process samples and our CPU usage has gone back to 3% - 6%.
I have heard the same stories and worries from people at NASA, GM and other groups. In other words, what happens to all of the real-time applications when Longhorn, Indigo, Yukon and the rest make managed code the game and real-time is not possible? I know that Microsoft has said they are moving to a total managed code scheme eventually. This puts a lot of organizations, including a huge part of the U.S. government out looking for new solutions.
|
|
|
|
|
Hang on, what were you using CodeDOM for?? It's for generating code at run-time.
I have to defer to Rico Mariani: Know what things cost[^]. It sounds a little like you may have used some 'cool' techniques that were too slow for what you needed.
.NET isn't really suitable for truly real-time systems because you can never predict when a garbage collection is going to occur, nor how long it will take.
You'll still be able to write and use unmanaged C++ programs on Longhorn, IIRC. The new Avalon GUI system is .NET-only, but your data collection and manipulation code is in a separate process already, right? You can keep this architecture, using some form of communication channel or shared memory to communicate with the presentation process if necessary. You can also have hybrid managed/unmanaged processes, with some threads managed and others unmanaged if you wish.
|
|
|
|
|
Sorry, I should have been a little more clear. The derived calculations on that particular program are loaded in by an engineer, who writes his derived calcs. in C#. However, that is only done once at the beginning of the program, then loaded in memory as a seperate assembly (all using the Code-DOM). The new version does the same thing using .dll's, etc. The real-time part of the program though is basically a message, data, timing pump that just pulls the data, fires processing if necessary and pumps it back on schedule. No 'cool' techniques really inside of either version.
You said:
You'll still be able to write and use unmanaged C++ programs on Longhorn, IIRC. The new Avalon GUI system is .NET-only, but your data collection and manipulation code is in a separate process already, right?
Is that so? I really haven't heard that. I read that there would be an entirely new Windows API, (not Win32) and I thought that the new API was built on .NET. If that's not true and it will just be an updated API that we can interface with natively, that will be better than .NET managed under the hood.
Granted, it's impossible to get true real-time out of Windows anyway since it has a 12 millisec. window it may or may not hit for your instructions, but with .NET under the hood, even our soft real-time stuff would probably have to be ported. Do you know of any references to this subject (Real-time references, new Longhorn API, etc.?) that might be helpful to me?
Brian
|
|
|
|
|
Hi,
I've got 2 programs that share a common class StatusWrapper.
This class contains a private class of statusobjects.
In program 1 I am creating a socket, and allowing you to connect on a specific port, then request a StatusWrapper information block.
In program 2 I connect to the port that program 1 has created, and make the request for the object.
Program 1 then serializes this object, and transmits it on the socket to program 2.
I cannot get program 2 do deserialize the object as it is reporting an exception that the assembly for program 1 cannot be located.
How can I send data like this across to programs?
Please help
|
|
|
|
|
Did you copy the class StatusWrapper, or is it in an assembly referenced by both application?
|
|
|
|
|
Hi Guys,
In Dot Net we can apply a class with a Guid attribute, for example:
[GuidAttribute(“F964DC24-8969-452d-A2CA-A9F07fBDD6BE”)]
Public class ClassName
{}
And then the class will have a fixed Guid which is returned whenever you call ClassNameInstance.GetType().Guid
Classes that don’t have a Guid attribute assigned to them during implementation , will have a new Guid regenerated every time you compile, and this new Guid will be the result when using the GetType().Guid on the class instance.
My Q is: Is there any way I can know from the class instance if the Guid that I got back from GetType().Guid is a fixed one that was assigned at implementation, or is it a newly generated one that the compiler regenerates every time I compile…
Cheers,
Zac.
|
|
|
|
|
Hi all,
I am attempting to execute an assembly from a UNC path (e.g. \\sydxyz\share) but I always get the CLR error message "Application has generated an exception that could not be handled".
The permissions on the share are correct and I have tried generating the assembly with a strong name, altered security profile etc.. as in the .NET Code Access Security documentation, but to no avail.
However, if I map that network share to a drive letter (net use z: \\sydxyz\share) and run the program it works with no problems.
I've looked at the Intranet_Zone security etc... etc... and now am suspecting that an Active Directory (global) group policy is somehow getting in the way?
Has anyone seen this before or have any ideas where to start?
TIA
...Steve
|
|
|
|
|
|
Colin,
Thanks, however I managed to trace the problem to be a combination of Framework 1.0 and network shares with spaces in their names (e.g. "\\sydxyz\is share").
There is an undocumented bug in the Framework 1.0 code which has been fixed in 1.1 (ASURT#127619 - obtained from Microsoft support). This is not yet in TechNet or MSDN.
...Steve
|
|
|
|
|
I know how to create an MDI Container Form, but is there a way to create and MDI Container control? For instance, I want to create a panel that can contain Form objects. Everything I've tried so far has resulted in various explosions in my code
Josh
Find a penny, pick it up, and all day long you'll have a back-ache...
|
|
|
|