By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,279 Members | 2,248 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,279 IT Pros & Developers. It's quick & easy.

MSDN Examples

P: n/a
Hi

Whenever I download MSDN examples and then try to build them It says 'Build
skipped' and never builds them. Hence I can not run them.

What am I doing wrong???

Cheers.

Manj.
Jan 3 '08 #1
Share this Question
Share on Google+
10 Replies


P: n/a
Hi Manj,

Do you use VS2005 or VS2008? Can you show us link of the problematic MSDN
sample? Also, can you provide the steps for reproduce your problem?

Also, if you use the VS to create a new project and build, do you still get
this problem? Thanks.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Jan 4 '08 #2

P: n/a
Hi jeffery

I am using VS2005. Following is the link for a modeless dialog box example:

http://msdn2.microsoft.com/en-us/lib...cw(VS.80).aspx

But this is not the only one. I can not run any of the samples provided in
MSDN.

If I create a new project it works fine.

Cheers.

MAnjree

""Jeffrey Tan[MSFT]"" wrote:
Hi Manj,

Do you use VS2005 or VS2008? Can you show us link of the problematic MSDN
sample? Also, can you provide the steps for reproduce your problem?

Also, if you use the VS to create a new project and build, do you still get
this problem? Thanks.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Jan 4 '08 #3

P: n/a
Hi MAnjree,

Thanks for your feedback.

Can you tell me what error do you get during compiling or linking? I have
downloaded this sample and tested it on two machines; one with VS2005 and
the other with VS2008. Both build the project successfully without any
error.

I suspect this problem may be your VS IDE configuration or machine specific
problem, so I need the details error for analysis. Thanks.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Jan 7 '08 #4

P: n/a
Hi Jefferey

Thanks for your reply.

When I build the sample I get the following:

1>------ Skipped Build: Project: modeless ------
1>
========== Build: 0 succeeded or up-to-date, 0 failed, 1 skipped =========

and when I compile any .cpp file I get

"Operation could not be completed. Unspecified error."

Are there some settings that should be done in VS IDE configuration????

cheers.

Manj.

""Jeffrey Tan[MSFT]"" wrote:
Hi MAnjree,

Thanks for your feedback.

Can you tell me what error do you get during compiling or linking? I have
downloaded this sample and tested it on two machines; one with VS2005 and
the other with VS2008. Both build the project successfully without any
error.

I suspect this problem may be your VS IDE configuration or machine specific
problem, so I need the details error for analysis. Thanks.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Jan 7 '08 #5

P: n/a
Hi Bob,

Thanks for your feedback.

Do you just select "Build"->"Rebuild Solution" to build the entire
solution? Or do you use command line to build the solution? I find one
internal record reporting this error while build project using the command
line.

Also, if you create a new sample project, does this problem still exist? Or
the problem only occurs with this project?

Finally, I would recommend you to download and install VS2005 SP1 since a
lot of bugs have been fixed in the SP1:
http://www.microsoft.com/downloads/d...5AB-E2D4-4C96-
B39D-37BAF6B5B1DC&displaylang=en

Thanks.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Jan 8 '08 #6

P: n/a
Hi Jeffrey

The problem exists only with the MSDN examples. Nothing works in the
"Build" menu (Build/Rebuild/Clean) and I get the same error every time
("Build/Rebuild/Clean skipped").

If I create new project it works fine.

I've got VS2005 Professional edition and Vc++2005 Redistributable installed
on my system. The link you suggested is not working.

I checked the download center. There is Microsoft Visual C++ 2005 SP1
Redistributable Package (x86). Do I need to install it? It is to run
applications developed with Visual C++ on a computer that does not have
Visual C++ 2005 installed. (I've got VC++ 2005 installed on my computer).

By the way it's Manjree not BOb :)

Cheers.

Manjree

""Jeffrey Tan[MSFT]"" wrote:
Hi Bob,

Thanks for your feedback.

Do you just select "Build"->"Rebuild Solution" to build the entire
solution? Or do you use command line to build the solution? I find one
internal record reporting this error while build project using the command
line.

Also, if you create a new sample project, does this problem still exist? Or
the problem only occurs with this project?

Finally, I would recommend you to download and install VS2005 SP1 since a
lot of bugs have been fixed in the SP1:
http://www.microsoft.com/downloads/d...5AB-E2D4-4C96-
B39D-37BAF6B5B1DC&displaylang=en

Thanks.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Jan 8 '08 #7

P: n/a

"Manjree Garg" <ga**@newsgroup.nospamwrote in message
news:C2**********************************@microsof t.com...
Hi Jeffrey

The problem exists only with the MSDN examples. Nothing works in the
"Build" menu (Build/Rebuild/Clean) and I get the same error every time
("Build/Rebuild/Clean skipped").

If I create new project it works fine.

I've got VS2005 Professional edition and Vc++2005 Redistributable
installed
on my system. The link you suggested is not working.
The link works fine. Make sure you paste it into your browser on a single
line.
>
I checked the download center. There is Microsoft Visual C++ 2005 SP1
Redistributable Package (x86). Do I need to install it? It is to run
applications developed with Visual C++ on a computer that does not have
Visual C++ 2005 installed. (I've got VC++ 2005 installed on my computer).
The right download is "Microsoft® Visual Studio® 2005 Team Suite Service
Pack 1"
>
By the way it's Manjree not BOb :)

Cheers.

Manjree

""Jeffrey Tan[MSFT]"" wrote:
>Hi Bob,

Thanks for your feedback.

Do you just select "Build"->"Rebuild Solution" to build the entire
solution? Or do you use command line to build the solution? I find one
internal record reporting this error while build project using the
command
line.

Also, if you create a new sample project, does this problem still exist?
Or
the problem only occurs with this project?

Finally, I would recommend you to download and install VS2005 SP1 since a
lot of bugs have been fixed in the SP1:
http://www.microsoft.com/downloads/d...5AB-E2D4-4C96-
B39D-37BAF6B5B1DC&displaylang=en

Thanks.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
================================================= =
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent
issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each
follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
================================================= =
This posting is provided "AS IS" with no warranties, and confers no
rights.


Jan 8 '08 #8

P: n/a
Hi Peter!
I get the exact same error as the OP using Visual Studio 2005 with service
pack 1 installed. I am using the IDE to compile the code.

1>------ Skipped Build: Project: modeless ------

1>

========== Build: 0 succeeded or up-to-date, 0 failed, 1 skipped ==========
You need to go to "Build | Configuration Manager..." and check the
"Build" Checkbox for each Project...

Greetings
Jochen
Jan 11 '08 #9

P: n/a
You need to go to "Build | Configuration Manager..." and check the
"Build" Checkbox for each Project...
It was already checked.
Jan 11 '08 #10

P: n/a
You need to go to "Build | Configuration Manager..." and check the
"Build" Checkbox for each Project...
Ahh ignore the other reply. I just found that the Platform in that screen
was set to Itanium, changing it to win32 enabled it to compile.
Jan 11 '08 #11

This discussion thread is closed

Replies have been disabled for this discussion.