Jump to content

Leadwerks 3 and Windows Forms


Von04
 Share

Recommended Posts

It's extremely easy on Windows. Just call Context::CreateCustom(hWND) and off you go.

 

Excellent. Looks like I'll be purchasing today!!!!!!!

  • Upvote 1

3d world studio. 3ds Max 8. GTX 260. Visual Studio 2010. Dual Core 2.6 Mhz processor.

Link to comment
Share on other sites

It's extremely easy on Windows. Just call Context::CreateCustom(hWND) and off you go.

I'm a noob when it comes to C++. I created a Windows Forms app and included the leadwerks.h file, and also added the leadwerks.lib to the solution. Problem is, whenever I try to use a Leadwerks command I receive the following type error:

 

1>c:\users\kevin\desktop\testform\testform\Form1.h(29): error C2027: use of undefined type 'Leadwerks::Window'

1> c:\leadwerks\engine\source\Classes/Context.h(7) : see declaration of 'Leadwerks::Window'

1>c:\users\kevin\desktop\testform\testform\Form1.h(29): error C3861: 'Create': identifier not found

 

Any help would be appreciated.

3d world studio. 3ds Max 8. GTX 260. Visual Studio 2010. Dual Core 2.6 Mhz processor.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...