![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#11 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
You could have a kazillion problems, including improper calling conventions. Your first error message says you have two mains. You gotta fix that first.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#12 |
|
Hobbyist Programmer
Join Date: Oct 2004
Location: England, UK
Posts: 139
Rep Power: 0
![]() |
wicked, I'll do that and then get back.
__________________
Don't wound what you can't kill |
|
|
|
|
|
#13 |
|
Hobbyist Programmer
Join Date: Oct 2004
Location: England, UK
Posts: 139
Rep Power: 0
![]() |
I got rid of the multiple 'mains' and i'm not left with all the errors except the one that talks about main.
I need to use the fucntionality of both these librarys in one programme but I'm starting to think that's impossible.
__________________
Don't wound what you can't kill |
|
|
|
|
|
#14 | ||
|
Programming Guru
![]() Join Date: Jun 2005
Location: elemental plane
Posts: 1,429
Rep Power: 5
![]() |
Quote:
Quote:
__________________
"Employ your time in improving yourself by other men's writings, so that you shall gain easily what others have labored hard for." -- Socrates |
||
|
|
|
|
|
#15 |
|
Hobbyist Programmer
Join Date: Oct 2004
Location: England, UK
Posts: 139
Rep Power: 0
![]() |
Yeah cool I'm at uni at the moment, I'll post the errors when I get back.
What I have done to create these errors is basically added the GWin files including the GWin.lib file to the MySQL++ package. I expected this to work but my visual c++ knowledge is not exactly extensive. I don't suppose starting a new project from scratch and adding the GWin and MySQL++ files to it would make a difference? I'm not going to give up, it's just frustrating!!
__________________
Don't wound what you can't kill |
|
|
|
|
|
#16 | |
|
Programming Guru
![]() Join Date: Jun 2005
Location: elemental plane
Posts: 1,429
Rep Power: 5
![]() |
Quote:
__________________
"Employ your time in improving yourself by other men's writings, so that you shall gain easily what others have labored hard for." -- Socrates |
|
|
|
|
|
|
#17 |
|
Hobbyist Programmer
Join Date: Oct 2004
Location: England, UK
Posts: 139
Rep Power: 0
![]() |
Well, I had no joy from that. Is it even possible to have one project with two .lib files included in it?
__________________
Don't wound what you can't kill |
|
|
|
|
|
#18 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Sure. Why don't you zip up your code and attach it, it you can include the GWin lib.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#19 |
|
Hobbyist Programmer
Join Date: Oct 2004
Location: England, UK
Posts: 139
Rep Power: 0
![]() |
I cannot include the gwin library on here as the .zip file is over a MB in size.
The GWin library for visual studio 6 or 7 can be downloaded from the GWin site at http://nights.doc.ntu.ac.uk/Zope/Gwin/Downloads. The MySQL++ library can be downloaded from http://tangentsoft.net/mysql++/. It's hard to include with this some sample code as it requires you having a MySQL database running on your machine. Basically I need to be able to merge these two librarys (if librarys is even the right word) into one so that I can, in one project, draw on the graphical power of GWin and the database connection from MySQL++. My knowlegde of visual studio is limited so I'm not even sure what to try next but if anyone could maybe take a look at give me a point in the right direction I would be so gratefull. Thanks Ade
__________________
Don't wound what you can't kill |
|
|
|
|
|
#20 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Well, I have a MySQL database on my local machine, and one on my website. It would be nice to have some small snippet of code that exhibits the failure.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|