Two things: First you may want to try .hpp instead of .h. Second, I think there is a compiler option that forces it one way other the other. I did a quick look and it appears /TP will do that.

Brian

Steve wrote:
Well I think I may have just figured out one reason for not doing it this way. Windows (Visual C++ .net 2005), is completely ignoring the namespace constraint.
So my CreateWindow function was being confused by the compiler with
Windows own CreateWindow function.  Hence a lot of errors about
missing variables.
My guess is the compiler is treating the .h file using c syntax rules
rather than c++ syntax rules.
Changing my .h to a .cpp fixes the issue.
Thats a less than optimal solution though :(

For what it's worth it's working like a charm on Mac and Linux.

On 3/21/07, Michael L Torrie <[EMAIL PROTECTED]> wrote:
On Wed, 2007-03-21 at 10:45 -0600, Steve wrote:
> Thus far it's looking to be dual licensed, GPL (free) and
> closed-commercial (fee of some sort)  Other than that I'm not sure and
> don't much care, as long as the check clears :D

This does make my last comments about OpenGL moot.  I still think they
are way out in left field though.

>



/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/


/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/


/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to