Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

SSQL multiple definition errors: msg#00043

db.mysql.c++

Subject: SSQL multiple definition errors

thanks Mark
i'm in the process of trying your solution! - i am still wondering if there is a solution which does not involve tampering with the library as having "portable" SSQLs seems like a pretty fundamental requirement to me
terry


From: "Mark Merendino" <Mark.Merendino@xxxxxxxxxx>
To: "terry johnston" <tmjohnston@xxxxxxxxxxx>,<plusplus@xxxxxxxxxxxxxxx>
Subject: RE: SSQL multiple definition errors
Date: Wed, 14 Sep 2005 06:47:23 -0600


Not sure if this is the redef problem you are refering to but I tackled
a redef problem a ways back. Check it out here...

http://lists.mysql.com/plusplus/4295

-----Original Message-----
From: terry johnston [mailto:tmjohnston@xxxxxxxxxxx]
Sent: Wednesday, September 14, 2005 5:46 AM
To: plusplus@xxxxxxxxxxxxxxx
Subject: SSQL multiple definition errors

thanks Chris
i want to create some objects in my library that contain SSQL structures
- so i might have a widget class that contains an SSQL stock & an SSQL
price - the widget object would be used in the higher level appication,
requiring knowledge of the SSQL definitions, hence the redefinition
problem - can i do this?
terry


>From: Chris Frey <cdfrey@xxxxxxxxxxxx>
>To: plusplus@xxxxxxxxxxxxxxx
>Subject: Re: SSQL multiple definition errors
>Date: Wed, 14 Sep 2005 05:01:19 -0400
>
>On Wed, Sep 14, 2005 at 08:21:23AM +0000, terry johnston wrote:
> > Hello all
> > i am trying to use some SSQL structures in a library built around
>mysql++ &
> > cannot seem to avoid multiple definition errors - i have seen some
>comments
> > saying that changes may be made to the SSQL macros at some point but

> > can anyone please tell me if there are workarounds to achieve this
> > in the short-term - if not, how do people use SSQL in the context of

> > a larger project?
>
>I believe the main idea is to create an application-specific API that
>you use for all your database interaction. The API implementation is
>done in one .cpp file, and you only need to include SSQLS once.
>
>The other advantage to doing it this way is that you can reimplement
>your database routines to use different database backends, if you need
to.
>
>- Chris
>
>
>--
>MySQL++ Mailing List
>For list archives: http://lists.mysql.com/plusplus
>To unsubscribe:
>http://lists.mysql.com/plusplus?unsub=tmjohnston@xxxxxxxxxxx
>



--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe:
http://lists.mysql.com/plusplus?unsub=mark_merendino@xxxxxxx


SPECIAL NOTICE

All information transmitted hereby is intended only for the use of the
addressee(s) named above and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or distribution
of confidential and privileged information is prohibited. If the reader
of this message is not the intended recipient(s) or the employee or agent
responsible for delivering the message to the intended recipient, you are
hereby notified that you must not read this transmission and that disclosure,
copying, printing, distribution or use of any of the information contained
in or attached to this transmission is STRICTLY PROHIBITED.

Anyone who receives confidential and privileged information in error should
notify us immediately by telephone and mail the original message to us at
the above address and destroy all copies. To the extent any portion of this
communication contains public information, no such restrictions apply to that
information. (gate02)



--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe:
http://lists.mysql.com/plusplus?unsub=gcdmc-plusplus@xxxxxxxxxxx




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
solaris.opensol...    editors.vim/200...    web.turbogears....    jakarta.ant.dev...    mathematics.max...    text.unicode.ge...    lang.ruby.core/...    xfce.announce/2...    network.centeri...    php.cvs.pear/20...    user-groups.lin...    kde.devel.quant...    file-systems.ar...    redhat.fedora.t...    apple.fink.auto...    gnome.orbit.gen...    qplus.devel/200...    culture.transpo...    video.dri.user/...    operators.nanog...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation