jij // User Search

jij // User Search

1  |  

Help with AW SDk and VB5

Oct 6, 1998, 1:43pm
I am trying to use the AW.DLL routines and not getting anywhere. :(

Here is the .h file

#ifdef WIN32
#if !defined (AW_SDK) && !defined (AW_BROWSER)
#define AWAPI __declspec (dllimport)
#else
#define AWAPI
#endif
#else
#define AWAPI
#endif

#define AW_MAX_ATTRIBUTE_LENGTH 255
#define AW_BUILD 5

#ifdef __cplusplus
extern "C" {
#endif

AWAPI int aw_init (int build);
AWAPI void aw_term (void);
.... and many more.

I have converted this to:

Public Declare Function aw_init Lib "aw.dll" (ByVal awbuild As Long) As
Long
Public Declare Sub aw_term Lib "aw.dll" ()

The first declare returns "Bad DLL calling convention".
The second returns with no error.

I have tried declaring with "Integer" instead of "Long" ( and in
desperation, "Byte" also).
Same error. What am I missing here?
Thanks in advance, Jim

aw_create returns error # 429 - what does it mean?

Oct 11, 1998, 6:18pm
I can't find any reference the docs to reason code 429; what does it
mean?

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