|
Yes. Just make sure you select one of the unmanaged project types, from the ATL, MFC or Win32 categories. Obviously you can't use any .NET features.
Stability. What an interesting concept. -- Chris Maunder
|
|
|
|
|
is there a default mail server reference string using .net. I have a little app that I send email on, but I want to ensure that it always obtains the correct mail server.
If there is not a default mail server, how would a person determine the mail server that is being used?
Thanks for the help
|
|
|
|
|
Any one know how to add and handle MouseEvents on Items in ListBox?
Pls tell me.
Thanks
|
|
|
|
|
Hi,
Since assembly compiles in IL, the binary reusability paradigm introduced by COM is no longer alive.
Is an assembly a healthier substitute of classic COM infrastructure ??? There also lies a performance trade-off in using assemblies as they are JUST in TIME compiled while COM components are pre-compiled.
What are the major benefits of using assemblies over COM ?? I've never encountered DLL HELL issues then why should i use assemblies ??
Thanks,
Regards,
Hatim Ali.
|
|
|
|
|
hatim_ali wrote:
I've never encountered DLL HELL issues then why should i use assemblies ??
Aren't you lucky.
hatim_ali wrote:
There also lies a performance trade-off in using assemblies as they are JUST in TIME compiled while COM components are pre-compiled.
If it concerns you that much why not just run the assemblies through ngen first and compile them in to a native format in advance.
hatim_ali wrote:
Is an assembly a healthier substitute of classic COM infrastructure ???
According to Don Box .NET was originally called COM3
"You can have everything in life you want if you will just help enough other people get what they want." --Zig Ziglar
The Second EuroCPian Event will be in Brussels on the 4th of September
Can't manage to P/Invoke that Win32 API in .NET? Why not do interop the wiki way!
My Blog
|
|
|
|
|
Hi,
I want to find out whether some application is trying to access the network resource like internet (HTTP,SMTP POP,FTP etc etc. –any sort of network resource usage) or any other network resource like mapped drives,VPN etc.
I want to capture this .
Secondly I want to determine which application is trying to access that resource.
Specifically in .NET , is there such support for firewall packet sniffing in .NET
Regards
Tarun
Blue Pill or Red Pill........??
|
|
|
|
|
Hi,
.NET is not a jack of all trades You will need to implement it yourself using WinSock layered providers, which is not an easy thing to implement
Regards,
Serge (Logic Software, Easy Projects .NET site)
|
|
|
|
|
i'm looking for an article showing how a key pair is being generated, so how the public key token is, and eventually about "binary attack" to signed .net assembly (e.g. editing the public key token using hex editor) - for educational purposes only .
10x in advance
|
|
|
|
|
|
thanks, but what about how to manually generate a token for the public key?
|
|
|
|
|
Sn.exe computes the token using a hash function from the public key. I don't know what the specific hash function is, but it should be easy to find out through experimentation. Probably either MD5 or SHA1.
my blog
|
|
|
|
|
I've answered your questions because this is for educational purposes, and also because knowing these things does not in fact allow the "attack" of the signed assembly.
To verify the assembly's digital signature, the CLR uses the assembly's public key to decrypt the assembly's digital signature, resulting in the original, calculated hash. In addition, the CLR uses the information in the assembly's manifest to dynamically generate a hash. This hash value is then compared with the original hash value. These values must match, or we must assume that someone has tampered with the assembly. - from .NET Framework Essentials, By Hoang Lam, Thuan L. Thai.
my blog
|
|
|
|
|
I'm wondering if there is a way to make customised code snippets with the VS.NET code editor?
I'm looking for something similar to Textpad's clip library.
|
|
|
|
|
Are there any free tools with which I can build a setup for my dotnet application?
Thanks in advance,
Matthias
If eell I ,nust draw to your atenttion to het fakt that I can splel perfrectly well - i;ts my typeying that sukcs.
(Lounge/David Wulff)
www.emvoid.de
|
|
|
|
|
hi
Take a look at this
http://www.microsoft.com/downloads/details.aspx?familyid=66350891-D15B-446B-BD69-F7F849224A00&displaylang=en
The Best Relligion is Science.
Once you understand it, you will know God.
|
|
|
|
|
Hi,
sorry for replying so late. I've had a look at the bootstrapper sample but there are a couple of questions remaining. I guess you've been searching for a solution yourself one time, so this is why I ask.
The ini-file has an option to set the MSI file. Which MSI file? How do I pack my application into an MSI file? And if I would be able to pack my application into an MSI file, what would I need the Bootstrapper for? Only for installing the dotnet framework and langpack?
Lots of thanks for your time!
Matthias
If eell I ,nust draw to your atenttion to het fakt that I can splel perfrectly well - i;ts my typeying that sukcs.
(Lounge/David Wulff)
www.emvoid.de
|
|
|
|
|
Hi
The msi file is created using the visual studio. Select the project type as Setup and Deployment project and follow the wizard to create the msi file.
Yes bootstrapper is for redistributing the Dotnet framework with your application.
In case if you assume that the client has dotnet framework you dont need that. You only need the setup created using Setup and deployment project.
Regards
Shiraz
The Best Relligion is Science.
Once you understand it, you will know God.
|
|
|
|
|
Problem is, I don't have a Visual Studio at my disposition. This is why I initially asked for any free tools, which could accomplish this. Sorry for not having mentioned it earlier.
Matthias
If eell I ,nust draw to your atenttion to het fakt that I can splel perfrectly well - i;ts my typeying that sukcs.
(Lounge/David Wulff)
www.emvoid.de
|
|
|
|
|
Hi there
I have win2003 which includes the .NET Framework v1.1.4322
but when I install VS2002, it intalls the framework v1.0.3705 and I cannot use the newer framework.
If I uninstall v1.0.3705, VS says that the compiler is missing.
How can I tell VS2002 to use the other framework?
thanks
----------------------
Instead of printing "No errors have been found", a compiler should rather print "None of your errors have been found", which would be, in most cases, true.
|
|
|
|
|
You cannot tell VS2002 to use the newer framework, unfortunately. Hard to believe, but its true
You an still compile a v1.1 version, but you have to use an external build tool, like Nant.
my blog
|
|
|
|
|
Hi guys,
After working so long to finish my app, guess what? It is one week that I struggle with Obfuscators. No one, after scrambling my app, make it work like before. What the hell of solution are these?
Any one is experiencing this nightmare too?
I tryed dotfuscator and xenocode.
Any suggestions?
Thanks,
Alberto Bencivenni
www.devDept.com
|
|
|
|
|
Alberto Bencivenni wrote:
Any one is experiencing this nightmare too?
I used to suffer a similar nightmare and that was people who wrote obfuscated code straight off the bat.
"You can have everything in life you want if you will just help enough other people get what they want." --Zig Ziglar
The Second EuroCPian Event will be in Brussels on the 4th of September
Can't manage to P/Invoke that Win32 API in .NET? Why not do interop the wiki way!
My Blog
|
|
|
|
|
Hello!
I'm writting an app that downloads binary files via http from a server but I'm getting very slow download speeds. I'm getting around 10% - 50% of what I get with Internet Explorer's 'Save Target As' command.
Below is the code I'm using for the reading of the stream from HttpGetResponseStream(). The code is inside a download function which I call about 30 times in a row, the app is single threaded so everything is happening in the main thread. Sometimes the first download goes at the proper speed then all subsequent downloads get progressivily slower.
While my app is downloading a file if I use Internet Explorer's 'Save Target As' on the same file I get a much faster download speed, so I know the server isn't clogged. Somehow this code just doesn't download at max speed. I've tried WebClient.DownloadFile() and that is even slower than the code below.
Any help is *greatly* appreciated!
Thank you!
Arn
<br />
Stream http_stream = http_response.GetResponseStream();<br />
int data_size = (int)http_response.ContentLength;<br />
byte[] data_buffer = new byte[data_size];<br />
int position = 0;<br />
<br />
while( position < data_size )<br />
{<br />
int bytes_to_read = data_size - position;<br />
int bytes_read = http_stream.Read(data_buffer, position, bytes_to_read);<br />
<br />
if( bytes_read > 0 )<br />
{<br />
position += bytes_read;<br />
}<br />
}<br />
<br />
http_stream.Close();<br />
|
|
|
|
|
That explains how to deploy .net framework over a domain which also allows .net applications to execute from a shared drive on the domain?
|
|
|
|
|
YES!
Paul Watson wrote:
"At the end of the day it is what you produce that counts, not how many doctorates you have on the wall."
George Carlin wrote:
"Don't sweat the petty things, and don't pet the sweaty things."
Jörgen Sigvardsson wrote:
If the physicists find a universal theory describing the laws of universe, I'm sure the a**hole constant will be an integral part of that theory.
|
|
|
|