Thread

[C++ 60] aw_init RC 518 (Sdk)

[C++ 60] aw_init RC 518 // Sdk

1  |  

dm mercury

Jun 3, 2006, 10:12pm
I can not initilize the sdk period with any microsoft compiler i have 6.0 or
..NET. The bot compiles everything is linked just fine. However the call to
aw_init(AW_BUILD); always retruns 518. I have compiled the bot for stand
alone and attempted to run in the ide. Both result in the same error code.
I reported this problem in beta and it is still unfixed. I think that I am
capable of placing liscense.awsdk in the same directory as a program or
project. Hell just to test it was in the project/program dir i spewed the
liscense file text out to the console, why can't the sdk detect it?

DM

dm mercury

Jun 3, 2006, 10:20pm
also note that the same application with 3.6 sdk build 41 works great.

[View Quote]

cotarr

Jun 3, 2006, 10:44pm
I start my .exe using a shortcut. I had the same problem until I put
the license into the same folder where the shortcut was located. For
some reason, it does not see the license located in the .exe folder.
It must use the current directory or some sort of working directory.
Mine starts fine now that I relocated the licesne.

Strange, it can find the dll but not the license.
-cotarr

On 3 Jun 2006 20:12:58 -0400, "dm mercury" <dmmercury at houston.rr.com>
[View Quote] >I can not initilize the sdk period with any microsoft compiler i have 6.0 or
>.NET. The bot compiles everything is linked just fine. However the call to
>aw_init(AW_BUILD); always retruns 518. I have compiled the bot for stand
>alone and attempted to run in the ide. Both result in the same error code.
>I reported this problem in beta and it is still unfixed. I think that I am
>capable of placing liscense.awsdk in the same directory as a program or
>project. Hell just to test it was in the project/program dir i spewed the
>liscense file text out to the console, why can't the sdk detect it?
>
>DM
>

equin0x

Jun 4, 2006, 12:05am
I had a lot of trouble doing this as well.

You're not running the debugger are you? That was my main problem.

[View Quote]

strike rapier

Jun 4, 2006, 4:20am
Thats because the implementation is CRAP and it uses the current working
directory to find the license (see my posts in community about it)

--
- Mark Randall
http://www.temporal-solutions.co.uk

"We're Systems and Networks..."
"It's our job to know..."

[View Quote]

grimble

Jun 4, 2006, 8:37pm
Wouldn't the Working Directory setting in the shortcut solve that problem in
this case?

[View Quote]

mauz

Jun 5, 2006, 2:02pm
[View Quote] Do you use Visual Basic or C?

--
Mauz
http://mauz.info

dm mercury

Jun 5, 2006, 8:16pm
I use both. This is a C++ project. I have compiled / test in both .NET and
6.0 microsoft compilers. Even bots such as preston, xelagot, etc... do not
work for me which are already compiled.

DM

[View Quote]

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