S
Sourcerer
I wrote this very simple code in .NET VC++. I compiled it on my system, and
tried to run it on my friend's computer (he doesn't have the compiler). We both
have Windows XP Professional. I have .NET framework 2.0, and he had 1.0 and it
didn't work; then he installed 2.0 and it still didn't work; so he tried with
2.1 and it didn't work, then 3.0 and nothing still worked. I have Intel Centrino
Mobile (laptop computer), and he has Intel Pentium 4 (desktop computer). His
system reported an error that it cannot execute the program because of invalid
configuration. Why doesn't it work?
Here is the code I wrote, if it would mean anything:
#include <stdlib.h>
int main(void) {
int *a;
while (1) {
a = (int *) malloc(100000 * sizeof(int));
}
return 0;
}
--
"It is easy in the world to live after the world's opinion; it easy in solitude
to live after our own; but the great man is he who in the midst of the crowd
keeps with perfect sweetness the independence of solitude."
Ralph Waldo Emerson, Self-reliance 1841
http://pinpoint.wordpress.com/
tried to run it on my friend's computer (he doesn't have the compiler). We both
have Windows XP Professional. I have .NET framework 2.0, and he had 1.0 and it
didn't work; then he installed 2.0 and it still didn't work; so he tried with
2.1 and it didn't work, then 3.0 and nothing still worked. I have Intel Centrino
Mobile (laptop computer), and he has Intel Pentium 4 (desktop computer). His
system reported an error that it cannot execute the program because of invalid
configuration. Why doesn't it work?
Here is the code I wrote, if it would mean anything:
#include <stdlib.h>
int main(void) {
int *a;
while (1) {
a = (int *) malloc(100000 * sizeof(int));
}
return 0;
}
--
"It is easy in the world to live after the world's opinion; it easy in solitude
to live after our own; but the great man is he who in the midst of the crowd
keeps with perfect sweetness the independence of solitude."
Ralph Waldo Emerson, Self-reliance 1841
http://pinpoint.wordpress.com/