New to C++, how to make it work with an interface? (Sdk)

New to C++, how to make it work with an interface? // Sdk

1  |  


Aug 9, 2002, 7:43pm
I'm sorta new to C++, and I know how to do that MFC AppWizard and all of
that, but I try putting #define AW_STATIC at the top of the dialog code and
#include "aw.h" below it with those files in the project's directory and
everything and it says everything is undeclared. Maybe someone can help? (no
I didn't spell them wrong this time lol i copied them directly from the
console version).


Aug 9, 2002, 9:32pm
Did you include aw.lib?


[View Quote]


Aug 10, 2002, 2:40am
You dont need the aw.lib if you have AW_STATIC defined since It compiles all
the communications inside itself instead of using aw.dll.

[View Quote]


Aug 10, 2002, 2:45am
If your project is called "xyz" it will create a file
"xyz.h". Edit that and find the line

#include "resource.h"

close to the top.

Behind this line insert your include for aw.h .

[View Quote]


Aug 10, 2002, 2:53am
I think Josh meant aw_static.lib, which you DO need.

[View Quote]


Aug 19, 2002, 8:42pm
I'm pretty sure you guys are telling him the wrong thing. I had the same
error, and this is how you fix it:

The ClassView window at the left side of the screen is what shows, but there
are two tabs below that window. Click on FileView, then right click on
Resource Files and then Add Files To Folder, then select AW_STATIC.lib and
AW_STATIC will work. THen to get Aw.h working Right click on External
Dependencies and go through the same process just to be sure. It should now

I hate it when that happens.

[View Quote]

1  | is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn