   Tokamak and VC .NET
  I''ve bee using the Tokamak Physics Engine for the last few weeks and I recently upgraded from VC6 to VC .NET and now I''m getting the following error with the following code //global variable neSimulator *gSim=NULL; neAnimatedBody *gFloor=NULL; void MyInit() { /* other code here */ gFloor = gSim->CreateAnimatedBody(); /* more code here */ } This worked perfectly fine in VC6 but now in VC .NET I get the following error: error C2501: ''gFloor'' : missing storage-class or type specifiers I do not understand why I am getting this error. Is this associated with VC .NET? I keep reading in the forums of people having major problems with .NET and Tokamak. Any help? 
  Em, it seems like you are not able to load an include file?Check all include files specified:right click on:#include <mylib.h>and then right click and open file at cursor. If it doesn''t open, you have wrong paths specified for your project include files.;  I''m guessing you mean "mylib.h" would be "tokamak.h"?If that''s what you meant, then yes, they are pathed correctly.  I put the directory locations in the "Include" and "Lib" paths in VC.  And I can right click and open the files.  Anybody else know what might be going on? ;  if you try to include files that don''t exist then it will give you an error saying it can''t find the file... so its probably not that.have you tried to track down where "neAnimatedBody" is being defined and make sure that you have it in your list of includes? ;  I actually made a really stupid mistake.  I forgot a bracket for a while loop above the gFloor = ....   statement, that''s why it was giving me that error.   