Unix Technical Forum

SEO

vBulletin Search Engine Optimization


Go Back   Unix Technical Forum > Database Server Software > DB2

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 02:47 AM
Vavel
 
Posts: n/a
Default application program - question

Hi all!
I want to insert the record into the table by
using an application program that includes the following statements:

EXEC SQL BEGIN DECLARE SECTION;
long hvInt_Stor;
long hvExt_Stor;
EXEC SQL END DECLARE SECTION;
hvInt_Stor = MMDB_STORAGE_TYPE_INTERNAL;
hvExt_Stor = MMDB_STORAGE_TYPE_EXTERNAL;
EXEC SQL INSERT INTO EMPLOYEE VALUES(
'128557', /*id*/
'Anita Jones', /*name*/
DB2IMAGE( /*Image Extender UDF*/
CURRENT SERVER, /*database server name in*/
/CURRENT SERVER register*/
'/employee/images/ajones.bmp' /*image source file*/
'ASIS', /*keep the image format*/
:hvInt_Stor, /*store image in DB as BLOB*/
'Anita''s picture'), /*comment*/
DB2AUDIO( /*Audio Extender UDF*/
CURRENT SERVER, /*database server name in*/
/*CURRENT SERVER register*/
'/employee/sounds/ajones.wav', /*audio source file*/
'WAVE', /* audio format */
:hvExt_Stor, /*retain content in server file*/
'Anita''s voice') /*comment*/
);

Maybe that's silly question,but : what compiler should I use? and which
libraries should I include? I toil over this for 2 weeks... I'm using
Microsoft Visual C++ at this moment( Borland C 5.5 compiler before),but
I can't compile this programme without errors (commonly errors are
inside library: sqltypes.h)
1. How to force this compiler to use IBM libaries only when it is possible?
2. Maybe someone could tell me how to write programme,that include
statements that were shown above??

I'm close to break down :-(

Vavel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 02:47 AM
Rhino
 
Posts: n/a
Default Re: application program - question


"Vavel" <change@any.fm> wrote in message
news:ctnpun$jud$1@inews.gazeta.pl...
> Hi all!
> I want to insert the record into the table by
> using an application program that includes the following statements:
>
> EXEC SQL BEGIN DECLARE SECTION;
> long hvInt_Stor;
> long hvExt_Stor;
> EXEC SQL END DECLARE SECTION;
> hvInt_Stor = MMDB_STORAGE_TYPE_INTERNAL;
> hvExt_Stor = MMDB_STORAGE_TYPE_EXTERNAL;
> EXEC SQL INSERT INTO EMPLOYEE VALUES(
> '128557', /*id*/
> 'Anita Jones', /*name*/
> DB2IMAGE( /*Image Extender UDF*/
> CURRENT SERVER, /*database server name in*/
> /CURRENT SERVER register*/
> '/employee/images/ajones.bmp' /*image source file*/
> 'ASIS', /*keep the image format*/
> :hvInt_Stor, /*store image in DB as BLOB*/
> 'Anita''s picture'), /*comment*/
> DB2AUDIO( /*Audio Extender UDF*/
> CURRENT SERVER, /*database server name in*/
> /*CURRENT SERVER register*/
> '/employee/sounds/ajones.wav', /*audio source file*/
> 'WAVE', /* audio format */
> :hvExt_Stor, /*retain content in server file*/
> 'Anita''s voice') /*comment*/
> );
>
> Maybe that's silly question,but : what compiler should I use? and which
> libraries should I include? I toil over this for 2 weeks... I'm using
> Microsoft Visual C++ at this moment( Borland C 5.5 compiler before),but
> I can't compile this programme without errors (commonly errors are
> inside library: sqltypes.h)
> 1. How to force this compiler to use IBM libaries only when it is

possible?
> 2. Maybe someone could tell me how to write programme,that include
> statements that were shown above??
>
> I'm close to break down :-(
>

Have you given any thought to looking at the Application
Programming/Building manuals that come with your copy of DB2? These manuals
describe the process of compiling your programs and describe which compilers
have been tested with DB2. They also give many examples of programs in a
variety of languages that you can imitate.

I have to assume you didn't look at any of these examples because you appear
to have a large number of comments interspersed throughout your Insert
statement. If you remove those comments, I expect you'll have much better
luck with your compile.

Rhino


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-27-2008, 02:47 AM
Vavel
 
Posts: n/a
Default Re: application program - question

Rhino wrote:

> Have you given any thought to looking at the Application
> Programming/Building manuals that come with your copy of DB2? These manuals
> describe the process of compiling your programs and describe which compilers
> have been tested with DB2. They also give many examples of programs in a
> variety of languages that you can imitate.
>

1.Application Development Guide:Building and Running Applications
2.Quick Beginnings for DB2 Clients
3. DB2 UDB Exploitation of the Windows Environment

I know that if someone asked about something first answer in many times
is RTFM. But I've looked at manuals that I've listed above, but I
didn't find answer. I don't say that there is no answer in this manuals
but I can't find it.That's why I asked for help.

> I have to assume you didn't look at any of these examples because you appear
> to have a large number of comments interspersed throughout your Insert
> statement. If you remove those comments, I expect you'll have much better
> luck with your compile.

But my compiler didn't look at my statement at all because there was an
errors in libaries,while statements were compiled. Maybe someone have
seen example that would help me. It's easy to say: "everything is in
manual"...

greetings
Vavel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-27-2008, 02:48 AM
Jonathan Leffler
 
Posts: n/a
Default Re: application program - question

Vavel wrote:
> Rhino wrote:
>
>> Have you given any thought to looking at the Application
>> Programming/Building manuals that come with your copy of DB2? These
>> manuals
>> describe the process of compiling your programs and describe which
>> compilers
>> have been tested with DB2. They also give many examples of programs in a
>> variety of languages that you can imitate.
>>

> 1.Application Development Guide:Building and Running Applications
> 2.Quick Beginnings for DB2 Clients
> 3. DB2 UDB Exploitation of the Windows Environment
>
> I know that if someone asked about something first answer in many times
> is RTFM. But I've looked at manuals that I've listed above, but I
> didn't find answer. I don't say that there is no answer in this manuals
> but I can't find it.That's why I asked for help.
>
>> I have to assume you didn't look at any of these examples because you
>> appear
>> to have a large number of comments interspersed throughout your Insert
>> statement. If you remove those comments, I expect you'll have much better
>> luck with your compile.

>
> But my compiler didn't look at my statement at all because there was an
> errors in libaries,while statements were compiled. Maybe someone have
> seen example that would help me. It's easy to say: "everything is in
> manual"...


The code looks like Embedded SQL in C - in Informix terms, ESQL/C.

You need to find the correct preprocessor that will convert that into
a C source file, and then compile that C source with the correct
headers (and libraries) into an object or executable.


--
Jonathan Leffler #include <disclaimer.h>
Email: jleffler@earthlink.net, jleffler@us.ibm.com
Guardian of DBD::Informix v2003.04 -- http://dbi.perl.org/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-27-2008, 02:48 AM
Knut Stolze
 
Posts: n/a
Default Re: application program - question

Vavel wrote:

> Hi all!
> I want to insert the record into the table by
> using an application program that includes the following statements:
>
> EXEC SQL BEGIN DECLARE SECTION;
> long hvInt_Stor;
> long hvExt_Stor;
> EXEC SQL END DECLARE SECTION;
> hvInt_Stor = MMDB_STORAGE_TYPE_INTERNAL;
> hvExt_Stor = MMDB_STORAGE_TYPE_EXTERNAL;
> EXEC SQL INSERT INTO EMPLOYEE VALUES(
> '128557', /*id*/
> 'Anita Jones', /*name*/
> DB2IMAGE( /*Image Extender UDF*/
> CURRENT SERVER, /*database server name in*/
> /CURRENT SERVER register*/
> '/employee/images/ajones.bmp' /*image source file*/
> 'ASIS', /*keep the image format*/
> :hvInt_Stor, /*store image in DB as BLOB*/
> 'Anita''s picture'), /*comment*/
> DB2AUDIO( /*Audio Extender UDF*/
> CURRENT SERVER, /*database server name in*/
> /*CURRENT SERVER register*/
> '/employee/sounds/ajones.wav', /*audio source file*/
> 'WAVE', /* audio format */
> :hvExt_Stor, /*retain content in server file*/
> 'Anita''s voice') /*comment*/
> );
>
> Maybe that's silly question,but : what compiler should I use? and which
> libraries should I include? I toil over this for 2 weeks... I'm using
> Microsoft Visual C++ at this moment( Borland C 5.5 compiler before),but
> I can't compile this programme without errors (commonly errors are
> inside library: sqltypes.h)
> 1. How to force this compiler to use IBM libaries only when it is
> possible? 2. Maybe someone could tell me how to write programme,that
> include statements that were shown above??


You are probably aware of this, but everything following the "EXEC SQL"
keywords is not valid C or C++ code. So the compiler should actually raise
some syntax errors. You need to precompile the code to translate the "EXEC
SQL" things into real C function calls. Have a look at the db2 precompiler
(http://publib.boulder.ibm.com/infoce...e/r0001964.htm)
for that.

Once you compiled the code you can link it into a library or executable. In
this step, you need to link in the library libdb2.a (exact name and
extension depends on you platform). Additionally, you might need libdb2api
and/or libdb2apie. I don't recall if you need an additional library for
the AIV Extender, but I don't think so.

--
Knut Stolze
Information Integration
IBM Germany / University of Jena
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-27-2008, 02:48 AM
Vavel
 
Posts: n/a
Default Re: DMB: Unsupported Operating System DMB_WINDOWS

Knut Stolze wrote:

> You are probably aware of this, but everything following the "EXEC SQL"
> keywords is not valid C or C++ code. So the compiler should actually raise
> some syntax errors. You need to precompile the code to translate the "EXEC
> SQL" things into real C function calls. Have a look at the db2 precompiler
> (http://publib.boulder.ibm.com/infoce...e/r0001964.htm)
> for that.
>
> Once you compiled the code you can link it into a library or executable. In
> this step, you need to link in the library libdb2.a (exact name and
> extension depends on you platform). Additionally, you might need libdb2api
> and/or libdb2apie. I don't recall if you need an additional library for
> the AIV Extender, but I don't think so.
>


Hi
You gave me strongly useful informations. I've read about precompiler
already.Thank you!
I've already added to my database audio and image data (as yet only
manually, because I have got one error:

C:\PROGRA~1\IBM\DMB\include\dmbsystm.h:280: #error "DMB: Unsupported
Operating System"
(dmbaudio.h, dmbvideo.h and dmbimage.h call to dmbbase.h and this
library calls to dmbsystm.h)

dmbsystm.h:
/* dmbsystm.h */
/* This header file is included at the beginning of all DMB header
files to define the portibility linkage/export macros for the header
file prototypes. */
....
/************************************************** ****************************/
/* Macros based on a specific operating system. */
/************************************************** ****************************/
/*-----------------------------------------------------------------AIX--------*/
#if defined(DMB_UNIX)
#define DMB_PATH_SEP '/'
#define MaxPathName 1000
/*-----------------------------------------------------------------OS/2-------*/
#elif defined(DMB_OS2)
#define DMB_PATH_SEP '\\'
#define MaxPathName 260
/*---------------------------------------------------------------Windows
3.1--*/
#elif defined(DMB_WINDOWS)
#define DMB_PATH_SEP '\\'
#define MaxPathName 1000
/*-----------------------------------------------------------------MacOs------*/
#elif defined(DMB_MAC)

#define DMB_PATH_SEP ':'
#define MaxPathName 1000

/*-----------------------------------------------------------------Unknown----*/
#else
#ifndef __MWERKS__
/* !!!!!!!!!!!!! line 280: */
#error "DMB: Unsupported Operating System"
#endif
#endif
/* EOF */

My OS is Win XP Service Pack 2
IBM DB2 UDB v8.1.3 Personnal Edition for Win

May I manually set DMB_WINDOWS?

Vavel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-27-2008, 02:48 AM
Vavel
 
Posts: n/a
Default Re: DMB: Unsupported Operating System DMB_WINDOWS

when I precompile file gc1.sqc
( error: SQL0440N ...didn't find procedure called "DB2IMAGE"...
SQLSTATE=42884
SQL0092N No package was created because of previous errors
) but file gc1.c was created. So I compile this file using Dev-C++ and
there is one error:
In file included from C:\PROGRA~1\IBM\DMB\include\dmbbase.h:64,
from dmbaudio.h:19,
from gc1.sqc:4:
C:\PROGRA~1\IBM\DMB\include\dmbsystm.h:280: #error "DMB: Unsupported
Operating System"

fragment of dmbbase.h:
#if defined(DB2AIX)
#if !defined(DMB_AIX)
#define DMB_AIX
#define DMB_UNIX
#endif
#elif defined(DB2MVS)
#if !defined(DMB_MVS)
#define DMB_MVS
#endif
#elif defined(DB2OS2)
#if !defined(DMB_OS2)
#define DMB_OS2
#endif
#elif defined(DB2_MAC)
#if !defined(DMB_MAC)
#define DMB_MAC
#endif
#elif defined(DB2W95)
#if !defined(DMB_W95)
#define DMB_W95
#endif
#elif defined(DB2NT)
#if !defined(DMB_WNT) && !defined(DMB_W95)
#define DMB_WNT
#endif
#elif defined(DB2WIN)
#if !defined(DMB_WIN)
#define DMB_WIN
#endif
#elif defined(DB2HP)
#if !defined(DMB_HP)
#define DMB_HP
#define DMB_UNIX
#endif
#elif defined(DB2SUN)
#if !defined(DMB_SUN)
#define DMB_SUN
#define DMB_UNIX
#endif
#elif defined(DB2PTX)
#define DMB_SEQ
#define DMB_UNIX
#else
/* line 64: */
#error "DMB: Unsupported Operating System"
#endif

maybe should I set one variable?

Vavel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-27-2008, 02:49 AM
Knut Stolze
 
Posts: n/a
Default Re: DMB: Unsupported Operating System DMB_WINDOWS

Vavel wrote:

> Knut Stolze wrote:
>
>> You are probably aware of this, but everything following the "EXEC SQL"
>> keywords is not valid C or C++ code. So the compiler should actually
>> raise
>> some syntax errors. You need to precompile the code to translate the
>> "EXEC
>> SQL" things into real C function calls. Have a look at the db2
>> precompiler
>>

(http://publib.boulder.ibm.com/infoce...e/r0001964.htm)
>> for that.
>>
>> Once you compiled the code you can link it into a library or executable.
>> In this step, you need to link in the library libdb2.a (exact name and
>> extension depends on you platform). Additionally, you might need
>> libdb2api
>> and/or libdb2apie. I don't recall if you need an additional library for
>> the AIV Extender, but I don't think so.

>
> Hi
> You gave me strongly useful informations. I've read about precompiler
> already.Thank you!
> I've already added to my database audio and image data (as yet only
> manually, because I have got one error:
>
> C:\PROGRA~1\IBM\DMB\include\dmbsystm.h:280: #error "DMB: Unsupported
> Operating System"
> (dmbaudio.h, dmbvideo.h and dmbimage.h call to dmbbase.h and this
> library calls to dmbsystm.h)


A *.h file is a header file that just contains some declarations of
functions that are provided by some library - it is not the library itself.
Please don't mix those two different things.

> dmbsystm.h:
> /* dmbsystm.h */
> /* This header file is included at the beginning of all DMB header
> files to define the portibility linkage/export macros for the header
> file prototypes. */
> ...
> /************************************************** ****************************/
> /* Macros based on a specific operating system. */
> /************************************************** ****************************/
> /*-----------------------------------------------------------------AIX--------*/
> #if defined(DMB_UNIX)
> #define DMB_PATH_SEP '/'
> #define MaxPathName 1000
> /*-----------------------------------------------------------------OS/2-------*/
> #elif defined(DMB_OS2)
> #define DMB_PATH_SEP '\\'
> #define MaxPathName 260
> /*---------------------------------------------------------------Windows
> 3.1--*/
> #elif defined(DMB_WINDOWS)
> #define DMB_PATH_SEP '\\'
> #define MaxPathName 1000
> /*-----------------------------------------------------------------MacOs------*/
> #elif defined(DMB_MAC)
>
> #define DMB_PATH_SEP ':'
> #define MaxPathName 1000
>
> /*-----------------------------------------------------------------Unknown----*/
> #else
> #ifndef __MWERKS__
> /* !!!!!!!!!!!!! line 280: */
> #error "DMB: Unsupported Operating System"
> #endif
> #endif
> /* EOF */
>
> My OS is Win XP Service Pack 2
> IBM DB2 UDB v8.1.3 Personnal Edition for Win
>
> May I manually set DMB_WINDOWS?


That's one option. However, I think you did not include the DB2 header
files, specifically sqlsystm.h, before you included the dmb*.h header file
(dmbimage.h, I guess). So I'd recommend this:

#include "sql.h"
#include "dmbimage.h"

--
Knut Stolze
Information Integration
IBM Germany / University of Jena
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-27-2008, 02:49 AM
Knut Stolze
 
Posts: n/a
Default Re: DMB: Unsupported Operating System DMB_WINDOWS

Vavel wrote:

> when I precompile file gc1.sqc
> ( error: SQL0440N ...didn't find procedure called "DB2IMAGE"...
> SQLSTATE=42884
> SQL0092N No package was created because of previous errors
> )


Either you call a not existing function (problem with the parameters or
whatever), or you did not enable your database against which you compile
the code for the Image Extender. The exact error message would be
interesting, along with exact code and all the relevant information from
the db2diag.log. Additionally, the steps you have taken so far to prepare
your database would be helpful to know.

--
Knut Stolze
Information Integration
IBM Germany / University of Jena
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-27-2008, 02:49 AM
Vavel
 
Posts: n/a
Default Re: DMB: Unsupported Operating System DMB_WINDOWS

Knut Stolze wrote:
> Vavel wrote:
>
>
>>when I precompile file gc1.sqc
>>( error: SQL0440N ...didn't find procedure called "DB2IMAGE"...
>>SQLSTATE=42884
>>SQL0092N No package was created because of previous errors
>>)

>
>
> Either you call a not existing function (problem with the parameters or
> whatever), or you did not enable your database against which you compile
> the code for the Image Extender. The exact error message would be
> interesting, along with exact code and all the relevant information from
> the db2diag.log. Additionally, the steps you have taken so far to prepare
> your database would be helpful to know.
>


error:
SQL0440N No procedure by the name "DB2IMAGE" and type "FUNCTION" having
compatible arguments was found. SQLSTATE=42884 (I've translated this
message, because I've db2 in my native language)
SQL0092N No package was created because of previous errors
SQL0091W Precompilation or binding was ended with "2" errors and "0"
warnings

/*************************grzes2.sqc*************** ********************/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "dmbaudio.h" /* audio extender function prototypes (DBa) */
#include "dmbimage.h" /* image extender function prototypes (DBi) */
#include "dmbvideo.h" /* video extender function prototypes (DBv) */
#include "utility.h" /* utility functions */


int main(int argc, char *argv[])
{
EXEC SQL BEGIN DECLARE SECTION;
long hvInt_Stor;
long hvExt_Stor;
EXEC SQL END DECLARE SECTION;

hvInt_Stor = MMDB_STORAGE_TYPE_INTERNAL;
hvExt_Stor = MMDB_STORAGE_TYPE_EXTERNAL;
EXEC SQL INSERT INTO EMPLOYEE VALUES(
'128557',
'Anita Jones',
DB2IMAGE(
CURRENT SERVER,
'd:\personn\employee\images\ajones.bmp',
'BMP',
/*:hvInt_Stor,*/
1,
'Anita''s picture'),
DB2AUDIO(
CURRENT SERVER,

'd:\personn\employee\sounds\ajones.wav',
'WAVE',
/*:hvExt_Stor,*/
1,
'Anita''s voice')
);
return 0;
}
/****************end of grzes2.sqc********************************/

when I manually type in db2 command line processor:

INSERT INTO EMPLOYEE VALUES('128557','Anita Jones',
DB2IMAGE(CURRENT SERVER,'d:\personn\employee\images\ajones.bmp',
'BMP',1,'Anita''s picture'),
DB2AUDIO(CURRENT SERVER,'d:\personn\employee\sounds\ajones.wav',
'WAVE',1,'Anita''s voice'))

DB20000I The SQL command completed successfully.

Adding #include "sql.h" before dmb*.h header files doesn't resolve problem.
I think that header files are proper, because I've found on IBM an
example file that Import data into a table enabled for audio, image and
video extenders and it starts with the same header
files as me.


/***************db2diag.log:*********************** ******/
2005-02-02-20.39.18.593000 InstanceB2 Node:000
PID:3252(db2syscs.exe) TID:3268 Appid:none
base sys utilities startdbm Probe:911

ADM7513W Database manager has started.

2005-02-02-20.39.23.921000 InstanceB2 Node:000
PID:3088(db2bp.exe) TID:3084 Appid:none
base sys utilities sqleatin Probe:1

DIA8515C A system error has occurred.
ZRC=0x87340014

2005-02-02-20.44.20.093000 InstanceB2 Node:000
PID:552(db2syscs.exe) TID:608 Appid:none
base sys utilities startdbm Probe:911

ADM7513W Database manager has started.

2005-02-02-20.47.22.562000 InstanceB2 Node:000
PID:552(db2syscs.exe) TID:3512 Appid:*LOCAL.DB2.01B5C2194715
data management sqldEscalateLocks Probe:3 Database:PERSONN1

ADM5502W The escalation of "315" locks on table "SYSIBM
..SYSROUTINEPARMS" to
lock intent "X" was successful.

2005-02-02-20.47.22.562001 InstanceB2 Node:000
PID:552(db2syscs.exe) TID:3512 Appid:*LOCAL.DB2.01B5C2194715
data management sqldEscalateLocks Probe:3 Database:PERSONN1

ADM5502W The escalation of "80" locks on table "SYSIBM
..SYSROUTINEAUTH" to
lock intent "X" was successful.

2005-02-02-21.02.00.906000 InstanceB2 Node:000
PID:3484(db2fmp.exe) TID:3488 Appid:none
routine_infrastructure sqlerRoutineResolveAddress Probe:10

DIA1002C Error accessing function "" in library "".
ZRC=0x870F0038

2005-02-03-11.43.31.421000 InstanceB2 Node:000
PID:628(db2syscs.exe) TID:644 Appid:none
base sys utilities startdbm Probe:911

ADM7513W Database manager has started.
/*******************end of db2diag.log******************************/

> Additionally, the steps you have taken so far to prepare
> your database would be helpful to know.
>


1.The system administrator uses the db2ext command-line
processor:
CONNECT TO personnl
ENABLE DATABASE FOR DB2IMAGE

2.DBA adds the mmdbsys schema in
the current function path:
SET CURRENT FUNCTION PATH = mmdbsys, CURRENT FUNCTION PATH

3. DBA then uses the db2ext command-line processor:
ENABLE TABLE employee FOR DB2IMAGE
ENABLE COLUMN employee picture FOR DB2IMAGE

4.ENABLE DATABASE FOR DB2AUDIO

5.ENABLE TABLE employee FOR DB2AUDIO
ENABLE COLUMN employee voice FOR DB2AUDIO

And there is one more thing. When I compile populate.c (that Import data
into a table enabled for audio, image and video extenders) there is
the same error:
In file included from C:\PROGRA~1\IBM\DMB\include\dmbbase.h:64,
from C:\PROGRA~1\IBM\DMB\include\dmbaudio.h:19,
from c:\progra~1\ibm\dmb\samples\populate.c:41:
C:\PROGRA~1\IBM\DMB\include\dmbsystm.h:280: #error "DMB: Unsupported
Operating System"

So I think it's not error in my programme.

Vavel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:37 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
UnixAdminTalk.com

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406