Author Topic: Getting Started with Visual Studio Express  (Read 48166 times)

0 Members and 1 Guest are viewing this topic.

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: Getting Started with Visual Studio Express
« Reply #40 on: August 25, 2007 »
I don't think there's any guarantee that will work if Microsoft built the C runtime library against different standard headers than the ones your app is built against - some of the structures might have changed, eg. FILE.

Jim
Challenge Trophies Won:

zaidi

  • Guest
Re: Getting Started with Visual Studio Express
« Reply #41 on: November 23, 2007 »
hi guy's....
i've followed all of the instructions on the "getting started with VC++ EE" and it realy helped me a lot!
thanks, i am at the point the IDE completes the linking stage with all the DX SDK libraries and the platform SDK.

but...

i am now getting an error in the code gen. part about the MT:

1>Embedding manifest...
1>mt.exe : general error c101008d: Failed to write the updated manifest to the resource of file "..\static runtime\guy.exe". The process cannot access the file because it is being used by another process.
1>Build log was saved at "file://c:\Users\zaidi\Documents\Visual Studio 2005\Projects\guy\guy\static runtime\BuildLog.htm"
1>guy - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped =======


Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: Getting Started with Visual Studio Express
« Reply #42 on: November 23, 2007 »
One way that can happen is that last time you ran guy.exe it didn't exit properly, so it is in fact still running.  Start task manager and see if it's still in the process list.  If it is, kill it, and work out why it's not stopping properly.
Another thing is that sometimes, rarely, visual studio gets confused.  Try closing it and reopening it.

Jim
Challenge Trophies Won:

zaidi

  • Guest
Re: Getting Started with Visual Studio Express
« Reply #43 on: November 23, 2007 »
well.... once every four try's it does work...
i monitored my processes but there was nothing running.... hmmmmmm weird.........
(well i only need it for the static run time so i could handle the repressing build...0

but theres just something which isnt right....


Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: Getting Started with Visual Studio Express
« Reply #44 on: November 23, 2007 »
Hmm, sounds bad, but you really should try to fix it :)
Jim
Challenge Trophies Won:

Offline kypho

  • C= 64
  • **
  • Posts: 26
  • Karma: 1
    • View Profile
Re: Getting Started with Visual Studio Express
« Reply #45 on: March 06, 2008 »
I installed visual studio express, and it said I must register it in 30 days  :-\ . Is this necessary, can I use it without registering? Thanks for your answer already...

- Kypho

Offline kypho

  • C= 64
  • **
  • Posts: 26
  • Karma: 1
    • View Profile
Re: Getting Started with Visual Studio Express
« Reply #46 on: March 06, 2008 »
sorry about my stupid post. I figured that the reg key could be achieved free from microsoft :)

- Kypho

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: Getting Started with Visual Studio Express
« Reply #47 on: March 06, 2008 »
Good news :)  Welcome to the forum Kypho!
Jim
Challenge Trophies Won:

Offline benny!

  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4384
  • Karma: 228
  • in this place forever!
    • View Profile
    • bennyschuetz.com - mycroBlog
Re: Getting Started with Visual Studio Express
« Reply #48 on: March 06, 2008 »
Yeah. Welcome to the forum !!!  :hi:
[ mycroBLOG - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]

Challenge Trophies Won:

Offline kypho

  • C= 64
  • **
  • Posts: 26
  • Karma: 1
    • View Profile
Re: Getting Started with Visual Studio Express
« Reply #49 on: March 07, 2008 »
Thanks guys :)

Offline mikeyesfan

  • ZX 81
  • *
  • Posts: 12
  • Karma: 0
    • View Profile
Re: Getting Started with Visual Studio Express
« Reply #50 on: March 21, 2008 »
Hi I have done everything right got Microsoft Visual C++ 2005 Express Edition to work on Windows and some DirectX projects.  But I tried to type in some code from the book Beginning DirectX 9 and it would work.  I made sure to open up the code from the book and it updated it to work in Microsoft Visual C++ Express 2005 Express Edition and it runs fine. 

Then I just copied her code from the book into my program thinking I might have typed it in wrong and it still would not work right.  I then went into Project Properties and set it up the way hers was I just opened up two programs at once to do this and it still will not work.   I want to know does anybody know what else I need to setup on this program to work on a project like this here on this site.  I say this because it does on the one from the book, so it should work correctly if setup right.

Offline mikeyesfan

  • ZX 81
  • *
  • Posts: 12
  • Karma: 0
    • View Profile
Re: Getting Started with Visual Studio Express
« Reply #51 on: March 21, 2008 »
I'm sorry I forgot the output information here it is below.

1>------ Rebuild All started: Project: TestTriangle, Configuration: Debug Win32 ------
1>Deleting intermediate and output files for project 'TestTriangle', configuration 'Debug|Win32'
1>Compiling...
1>cl : Command line warning D9007 : '/Gm' requires '/Zi or /ZI'; option ignored
1>winmain.cpp
1>dxManager.cpp
1>.\dxManager.cpp(63) : error C2511: 'void dxManager::drawVB(LPDIRECT3DVERTEXBUFFER9)' : overloaded member function not found in 'dxManager'
1>        c:\documents and settings\mike neiheisel\my documents\visual studio 2005\projects\testtriangle\testtriangle\.\dxmanager.h(8) : see declaration of 'dxManager'
1>Generating Code...
1>Build log was saved at "file://c:\Documents and Settings\Mike Neiheisel\My Documents\Visual Studio 2005\Projects\TestTriangle\TestTriangle\Debug\BuildLog.htm"
1>TestTriangle - 1 error(s), 1 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: Getting Started with Visual Studio Express
« Reply #52 on: March 21, 2008 »
Quote
dxManager.cpp(63) : error C2511: 'void dxManager::drawVB(LPDIRECT3DVERTEXBUFFER9)' : overloaded member function not found in 'dxManager'

OK, what this error message means is, that in the class "dxManager" there is no function (member) called "drawVB" that takes a parameter of type "LPDIRECT3DVERTEXBUFFER9".
So you are trying to call drawVB() from your own code with a parameter of the wrong type.

That's about all I can tell you without you posting more :)

Jim
Challenge Trophies Won:

Offline mikeyesfan

  • ZX 81
  • *
  • Posts: 12
  • Karma: 0
    • View Profile
Re: Getting Started with Visual Studio Express
« Reply #53 on: March 21, 2008 »
I could unerstand if I put it in wrong, but I copied the code from her book.  And by the way it works fine when I put tried her code it makes an .exe file.  I've typed this code in before and got it to work with Dev-C++ just cannot do it in Microsoft's Visual C++ 2005 Edition I have the Windows Server SDK installed put in correctly too.  I've run some other programs in Windows and DirectX just not this program and one in my Windows book is the same. 

I thought I had to fix the Project Properties I set them up just the way hers was still not working.  I do not know if there is something else I need to fix in order to run this program correctly maybe someone knows I sent an e-mail off to the author in case she knows too.


Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: Getting Started with Visual Studio Express
« Reply #54 on: March 21, 2008 »
Have you got the DirectX9 SDK?  Have you set the include and lib paths to it in
Tools->Options->Projects and Solutions->VC++ Directories.
Have you made sure the DirectX include paths are first in the list, before the Platform SDK ones?

I think you're probably be right to suspect you've not set up VS2005 properly.  Is there anywhere I can get a look at this dxManager.cpp code?

Jim
Challenge Trophies Won:

Offline mikeyesfan

  • ZX 81
  • *
  • Posts: 12
  • Karma: 0
    • View Profile
Re: Getting Started with Visual Studio Express
« Reply #55 on: March 22, 2008 »
Yes I do I set it up the way this guy tells you on his site works fine on DirectX and Windows for some things just not this one.  I tried to set the proerties up the way she had hers, but still will not work that is why I am stuck.

http://www.burninghands.net/2006/04/01/vcexpress-with-directx-sdk/


Offline mikeyesfan

  • ZX 81
  • *
  • Posts: 12
  • Karma: 0
    • View Profile
Re: Getting Started with Visual Studio Express
« Reply #56 on: March 28, 2008 »
I found my mistake I did not start a New Win32 Console then go to Windows and Empty project.  I just went to empty project from the New I was not thinking that I had to go to Win32 at first I thought it would be just in Dos Mode and not let you click on something to add a window to the project sorry for the question.  But you guys did try to help thank you.

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: Getting Started with Visual Studio Express
« Reply #57 on: March 28, 2008 »
:D Cool, you got it fixed.  Microsoft haven't supported DOS development since, ..., forever.
Jim
Challenge Trophies Won:

Offline Clyde

  • A Little Fuzzy Wuzzy
  • DBF Aficionado
  • ******
  • Posts: 7271
  • Karma: 71
    • View Profile
Re: Getting Started with Visual Studio Express
« Reply #58 on: March 03, 2009 »
I am thinking on this alot lately, probably will need a new PC before I do.

How much Disk Space is roughly needed?
Still Putting The IT Into Gravy
If Only I Knew Then What I Know Now.

Challenge Trophies Won:

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: Getting Started with Visual Studio Express
« Reply #59 on: March 03, 2009 »
You want to be on VS2008 now, but about 3Gb is needed in any event.

Jim
Challenge Trophies Won: