I've done some looking into this issue (and talking with a former member of
the VS2005 team), and the direct cause is that VStudio treats linking in
libraries different than OBJs. There are three solutions to this.

1) Remove the compilation of a lib altogether and incorporate it into the
client and server DLLs.
2) Upgrade to VS2005 and use the link libraries in as obj's feature. This
directly imports and compiles in the lib files OBJs as opposed to the lib
file itself.
3) Go back to the old method of creating the individual controls (by strings
and returning a new instance).

Out of sheer curiosity, why did you migrate to the new method? As the old
adage says, "if it ain't broke, don't fix it."

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Yahn Bernier
Sent: Monday, September 04, 2006 11:26 AM
To: [email protected]
Subject: RE: [hlcoders] VGUI togglebuttons / checkboxes missing in new SDK?

This is almost certainly a bug caused by a change I made.  It most like
related to some linker funkiness with unused modules being removed at
link time by the compiler.  I'll investigate on our end and post a fix
for you guys when I'm back in the office later this week.  If you look
at the macros, they are supposed to declare a helper variable
(linker_hack or something like that) which should pull in the module no
matter what, but that might be failing to work for some reason and in
that case the new control menu will be missing items that the linker
removed at link time.

Yahn

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ben Everett
Sent: Sunday, September 03, 2006 11:41 AM
To: [email protected]
Subject: RE: [hlcoders] VGUI togglebuttons / checkboxes missing in new
SDK?

The underlying problem has to do with the CBuildFactoryHelper class and
how the creation of VGUI elements are handled. Right now the macros
DECLARE_BUILD_FACTORY, DECLARE_BUILD_FACTORY_DEFAULT_TEXT,
DECLARE_BUILD_FACTORY_CUSTOM, and DECLARE_BUILD_FACTORY_CUSTOM_ALIAS are
used to declare a static instance of a CBuildFactoryHelper.
CBuildFactoryHelper then has static references to a linked list of
"available" VGUI elements that can be created. The problem is, not all
constructors for CBuildFactoryHelper are being called (ImagePanel's
being one of them). I've been trying to hunt down the root cause of this
and fix it, but no luck as of yet.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Skillet
Sent: Sunday, September 03, 2006 12:57 PM
To: [email protected]
Subject: Re: [hlcoders] VGUI togglebuttons / checkboxes missing in new
SDK?

--
[ Picked text/plain from multipart/alternative ] I noticed that
ToggleButtons and (more painfully) ImagePanels don't work after applying
the SDK update.

You can still use IsDepressed(), ForceDepressed() and
RecalculateDepressedState() with buttons, which I was already doing with
my ToggleButtons because they got out of sync otherwise IIRC.

So, any way to continue using the controls that have been removed?  It
seems that they're just ignored in the .res files now.
:\

On 8/8/06, Steve Rabouin <[EMAIL PROTECTED]> wrote:
>
> --
> [ Picked text/plain from multipart/alternative ] Am I missing
> something, or those functionalities have been removed in the new SDK?
> When creating a vgui panel those options are not available anymore.
> am I the only one who used those? :o
>
> I haven't had time to verify the vgui code much, so excuse me if this
> is something simple, but it seems they are missing.
> --
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,

> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>
--

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to