RE: declspec?

"Daniel Vogel" <[email protected]> Sat, 8 Jan 2005 17:15:40 -0500
Newsgroups gmane.games.devel.windows
Message-ID <[email protected]>
There are a couple of cases where VS.NET doesn't pick up correctly on
changes and you need to manually perform a full rebuild/ relink. And
there are a few cases where updating project files via source control
while VS.NET is running doesn't work reliably and you need to re-open
the solution. Having incremental linking enabled is another source for
potential issues that go away with full rebuilds.

I usually just re-open the solution and do a full rebuild whenever I get
really bizarre problems that *shouldn't* happen :)

-- Daniel, Epic Games Inc.  

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On 
> Behalf Of Brett Bibby
> Sent: Saturday, January 08, 2005 1:01 AM
> To: [email protected]
> Subject: Re: [GD-Windows] declspec?
> 
> So I booted MSVC to build and get the error to post here, and 
> the error went
> away. Another programmer verified the error magically 
> disappeared on his
> machine too.  Classic.  We had created a new project to test out some
> multiplatform code and without quitting put all the code in 
> and got the
> errors.  Somehow quitting and reloading the project fixed it. sigh.
> 
> ----- Original Message ----- 
> From: "Alen Ladavac" <[email protected]>
> To: <[email protected]>
> Sent: Friday, January 07, 2005 5:37 PM
> Subject: Re: [GD-Windows] declspec?
> 
> 
> > Those are only for dlls, not for static libraries. Static 
> libraries don't
> > need any special declarations. What exactly does the linker say?
> >
> > Alen
> >
> > ----- Original Message -----
> > From: "Brett Bibby" <[email protected]>
> > To: <[email protected]>
> > Sent: Friday, January 07, 2005 2:24 AM
> > Subject: [GD-Windows] declspec?
> >
> >
> > > Can someone explain to me when and how to use the 
> __declspec(dllimport)
> > and
> > > __declspec(dllexport) specifiers?
> > >
> > > We have a few libraries that are statically linked to the 
> game.  In
> > > CodeWarrior this has always worked.  We tried to build a 
> MSVC project
> and
> > > the linker complains.  Only when we put 
> __declspec(dllexport) in the
> class
> > > declarations will it compile.  I checked the MSDN doc and 
> it's not very
> > > clear what's needed for static libraries.  This must be a 
> basic thing I
> > > guess, but I have always used CodeWariror and never seen 
> this kind of
> > > problem.
> > >
> > > Cheers,
> > > -bb
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > The SF.Net email is sponsored by: Beat the post-holiday blues
> > > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
> > > It's fun and FREE -- well, 
> almost....http://www.thinkgeek.com/sfshirt
> > > _______________________________________________
> > > Gamedevlists-windows mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows
> > > Archives:
> > > http://sourceforge.net/mailarchive/forum.php?forum_id=555
> > >
> >
> >
> >
> > -------------------------------------------------------
> > The SF.Net email is sponsored by: Beat the post-holiday blues
> > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
> > It's fun and FREE -- well, 
> almost....http://www.thinkgeek.com/sfshirt
> > _______________________________________________
> > Gamedevlists-windows mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows
> > Archives:
> > http://sourceforge.net/mailarchive/forum.php?forum_id=555
> 
> 
> 
> -------------------------------------------------------
> The SF.Net email is sponsored by: Beat the post-holiday blues
> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
> _______________________________________________
> Gamedevlists-windows mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows
> Archives:
> http://sourceforge.net/mailarchive/forum.php?forum_id=555
> 


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Gamedevlists-windows mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows
Archives:
http://sourceforge.net/mailarchive/forum.php?forum_idU5