Linking files in Win32API

I'm new to the Win32API. I have created a collection of source code and header files which work perfectly well together in console applications. I also have the rudiments of a Win32API window which functions well on its own. I would like to link my functions and classes of my console applications to the windows procedure function of my Win32 program, but when I attempt this, I obtain a slew of compile error messages, such as "local function definitions are illegal, etc, etc." I am using Microsoft Visual Studio Express 2010. Can anyone offer any suggestions about what I might be doing wrong?
Last edited on
It seems like you tried pasting your console code into a function in your windowed code. Could you show both programs separately?
Topic archived. No new replies allowed.