|
Isn't vcredist_x86.exe specific to C++ development?
This project is written in C#.
|
|
|
|
|
OK - Let me give you some additional information for debugging purposes.
I've tried removing the reference to the problem assembly and then readding the reference. This appears to be the only way to follow the exception instruction message to "reinstall the application."
Also, I have tried downloading a new version of the dll as well as using the dll from my work environment.
On my home computer, I just have VS2008 while on my work computer I have both VS2005 as well as VS2008.
Here is a url to the component:
http://tinyurl.com/6nj22s[^]
Once you have added a reference to the dll you should be able to write the following statement:
>AddressBook addressBook = new AddressBook();
This works for me in my work environment but throws an exception in my home environment.
Please let me know what you find.
modified on Monday, May 5, 2008 11:39 PM
|
|
|
|
|
The code runs fine on my machine.
Did you try running the release version on your home PC? I faced a similar problem - a debug mode C++/CLI DLL built on VS 2005 SP1 did not run on a machine with only VS 2005, but the release mode DLL ran fine.
|
|
|
|
|
The dll is a mixed code module. I'm not sure that is part of the problem.
When you say run the release version - I set the mode to "Release" in the toolbar (instead of the default of "Debug") and I still get the error message.
I even tried referencing the dll from an external directory to see if that made any difference but it did not.
What am I missing?
|
|
|
|
|
When I run the application on my home computer I still get the message "the application configuration is incorrect."
The following message is saved to the System Event log: "Dependent Assembly Microsoft.VC80.DebugCRT could not be found"
I searched the entire "C:\" directory on my work computer (where I do not get the error): There is a directory named "x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_f75eb16c" in
c:\WINDOWS\WinSxS that contains 3 dlls. I copied this folder and the related manifest to my home computer. I also noticed that there is a folder of the same name in the C:\WINDOWS\WinSxS\Policies directory. Should this be copied to my home computer? If so then where?
I tried copying this entire directory as a subdirectory of the directory in which the third-party dll resides on my home computer. I also copied and pasted the dlls from the subdirectory into the parent directory that contains the third-party dll.
There is a folder named "Microsoft.VC80.DebugCRT" in - C:\Program Files\Microsoft Visual Studio 8\VC\redist\Debug_NonRedist\x86. Should this be used instead?
Do I need to create a merge module or use some other approach to copy the directory into a matching location on the user's computer?
So I guess at this point I am not exactly clear on what I need to do and how I need to do it. Any suggestions?
|
|
|
|
|
Member 3919049 wrote: I searched the entire "C:\" directory on my work computer (where I do not get the error): There is a directory named "x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_f75eb16c" in
c:\WINDOWS\WinSxS that contains 3 dlls. I copied this folder and the related manifest to my home computer. I also noticed that there is a folder of the same name in the C:\WINDOWS\WinSxS\Policies directory. Should this be copied to my home computer? If so then where?
AFAIK, copying files into WinSxS doesn't work. The debug CRT is installed when you install Visual Studio, so it won't be available on a machine without VS. And AFAIK, you're not supposed to redistribute the Debug CRT.
The idea is that you do the development on a machine with VS, then generate a release mode version of the code that will run on a machine without VS.
So you're not building the mixed mode DLL then? If you are, then build the DLL in release mode and the problem will go away.
If you are not, check if the DLL has a release mode version - typically, the debug version will have a D appended to the filename. You'll need to reference the release version of the DLL from your project.
|
|
|
|
|
hi!
i have a question. that is we have ha a problem "which one is smaller n pow 2, 1000 pow n, n pow n, n pow 1000 , when n value is nearer to infinite" plz also give reason along with answer
Best Regards,
Huma Satti
|
|
|
|
|
Double Post and incorrect forum.
Giorgi Dalakishvili
#region signature
my articles
#endregion
modified on Monday, May 5, 2008 3:11 AM
|
|
|
|
|
I suggest you do your own homework. I guess you are posting this here because you've been asked to use C# to prove your answer ? How is that not trivial ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
"MANHOOS ADAMI": ITS NOT MA HOME WORK OK NA ........... IF U WANA GIV ANS OV IT THN GIV. DNT TRY TO OVER SMART...:-P
|
|
|
|
|
You need to read the forum guidelines. This is obviously a homework question. We only help people who are at least willing to solve the problem. We don't accept text speak nor we do not tolerate people who are rude to other members.
Mangoos adami? This is also an English speaking forum.
Congrats! You made my list of CP violators.
|
|
|
|
|
Hi, there exist a lot of functions f(x) for which the following holds:
x < y is equivalent to f(x) < f(y)
Some of them also require x>0.
Examples are square root and logarithm.
|
|
|
|
|
Luc Pattyn wrote: I dislike the black-and-white voting system on questions/answers.
On the contrary, I like it very much - I think it's simple and elegant I wish more people use the system, and very bad questions should perhaps be deleted.
Cheers,
Vikram.
The hands that help are holier than the lips that pray.
|
|
|
|
|
|
Well, you could just check with smaller numbers. Lets use 4 to help us out a little:
4^2 = 16
1000^4 = 1000000000000
So, from this it seems 1000^n is greater.
n^n has the potential to be greater than n^1000. If n<1000 then n^1000 will be bigger. Since you said the numbers will be massive n^n is definately bigger.
And once again assuming n > 1000 n^n is bigger than 1000^n so we end up with (from biggest to smallest)
n^n
1000^n
n^1000
n^2
So what we can see is that anything to the power of n has the potential to be much larger. So anything^n is at the top. After that you can just sort them by how large the static numbers are (in your case n should be considered larger than any static number)
To be honest, i don't really know why you asked this question, and why you asked it here. I see no relation to C#, and you could have just typed some numbers into a calculator to see which is bigger. Infact, its pretty obvious which is going to be the smallest, after you think about it for a bit.
My current favourite word is: Bacon!
-SK Genius
|
|
|
|
|
|
Hi
Is there any possibillity to send a mail using POP3?
if so, tell me how?
|
|
|
|
|
No, not possible. POP3 recieves mail, SMTP sends it. Sending mail with C# is trivial, try reading the article I link to in my sig if you need help.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
POP3 is intended to recieve/check emails and SMTP is for sending an email.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
Hello everyone,
In C++ template, the type parameter will be deduced when we use it, and compiler will generate the speicifc version of template function/class -- called instantiation.
In C#, it is also compiler will do the instantiation at compile time other than runtime? For example, if we use int and string for List<T>, then two versions of List class, List<int> and List<string> will be generated in IL -- which will make IL bigger?
thanks in advance,
George
|
|
|
|
|
George_George wrote: For example, if we use int and string for List<t>, then two versions of List class, List<int> and List<string> will be generated in IL -- which will make IL bigger?
The specific types are generated at compile time. However, I don't know exactly if they are generated by the C# compiler (and end up in the IL code) or by the JIT compiler (and only end up in the native code). I think that it's the later, though, as generic types is a feature of the CRL and not only in C#.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
It has to be in CLR because if you use a List of MyOwnForm or another selfmade class, the Compiler won't know this class exists when he makes the program/library for that generic class
|
|
|
|
|
hoffmale wrote: It has to be in CLR because if you use a List of MyOwnForm or another selfmade class, the Compiler won't know this class exists when he makes the program/library for that generic class
I don't follow you reasoning... You can't use a class in a generic list, that the compiler doesn't know exists.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Thanks Guffa,
What means "can't use a class in a generic list"?
regards,
George
|
|
|
|
|
George_George wrote: What means "can't use a class in a generic list"?
If you use a class in the generic List<T> class:
List<FooBar> aSpecialList = new List<FooBar>();
The compiler needs to know what FooBar is, otherwise the code won't compile.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|