Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums
Members
Pages
Search
Help
Register
Login
Home
Home
»
U++ Library support
»
U++ SQL
»
SQL_MySql reference example only compiles in debug mode
Show:
Today's Messages
::
Show Polls
::
Message Navigator
E-mail to friend
SQL_MySql reference example only compiles in debug mode
[
message #37921
]
Fri, 23 November 2012 13:48
Alboni
Messages:
216
Registered:
January 2012
Location:
Kajaani, Finland
Experienced Member
System: Windows Xp (up to date)
MSC10
UPP 4677
MySQL 5.5
When I compile the reference/SQL_MySql example in debug mode, it works. When I compile "Optimal" I get the following compilation error:
C:\upp\uppsrc\MySql\MySql.cpp(275) : error C2018: unknown character '0x40'
See also attachment.
Attachment:
SQL_MySql.PNG
(Size: 75.21KB, Downloaded 372 times)
Report message to a moderator
Re: SQL_MySql reference example only compiles in debug mode
[
message #37922
is a reply to
message #37921
]
Fri, 23 November 2012 14:12
Alboni
Messages:
216
Registered:
January 2012
Location:
Kajaani, Finland
Experienced Member
When I counter that with:
#ifdef __DEBUG
DDUMP(rows);
#endif
It compiles but I get a link error:
LINK : fatal error LNK1181: cannot open input file 'opt\libmysql.lib'
The C:\Program Files\MySQL\MySQL Server 5.5\lib directory only has a debug subfolder, no opt.
after copying the debug folder to an opt folder it goes.
I copied libmysql.lib to the debug folder before. Not pretty, but does the trick.
Report message to a moderator
Re: SQL_MySql reference example only compiles in debug mode
[
message #37923
is a reply to
message #37921
]
Fri, 23 November 2012 14:23
Alboni
Messages:
216
Registered:
January 2012
Location:
Kajaani, Finland
Experienced Member
Upgraded Upp. Fixed.
Report message to a moderator
Previous Topic:
Store empty string to database
Next Topic:
Weird Date bevaviour in Sqlite
Goto Forum:
- Community
U++ community news and announcements
PR, media coverage, articles and documentation
U++ Webs: Functioning, Layout , Design, Features and Structure of these forums, homepage etc.
Coffee corner
Newbie corner
U++ based job offers
- Developing U++
U++ Developers corner
External resources
Releasing U++
UppHub
Bugs (& fixes)
Documentation
U++ TheIDE and Library: Releases and ChangeLogs
Mac OS
Android
- U++ Library support
U++ Library : Other (not classified elsewhere)
U++ Core
Look and Chameleon Technology
U++ Libraries and TheIDE: i18n, Unicode and Internationalization
U++ SQL
U++ MT-multithreading and servers
U++ Callbacks and Timers
U++ Widgets - General questions or Mixed problems
TopWindow&PopUp, TrayIcon
Menus&Toolbars
StatusBar&InfoCtrl
Splitter
TabCtrl
Slider&ProgressIndicator
ArrayCtrl, HeaderCtrl & GridCtrl
TreeCtrl
RichText,QTF,RTF...
LineEdit, EditFields, DocEdit
Draw, Display, Images, Bitmaps, Icons
FileSel&FileList, Path
CalendarCtrl
Skylark
ScatterDraw & ScatterCtrl
Archive
- U++ TheIDE
U++ TheIDE: Other Features Wishlist and/or Bugs
U++ TheIDE: Compiling, Linking, Debugging of your packages
U++ TheIDE: Installation, Compiling and Running of theide
U++ TheIDE: CodeEditor, Assist++, Topic++
U++ TheIDE: Packages
U++ TheIDE: Layout (Forms) Designer
U++ TheIDE: Icon designer
- Extra libraries, Code snippets, applications etc.
U++ users applications in progress and useful code snippets, including reference examples!
U++ Esc Interpreter, Esc Macros and templates
C++ language problems and code snippets
Applications created with U++
OS Problems etc., Win32, POSIX, MacOS, FreeBSD, X11 etc
-=]
Back to Top
[=-
[
Syndicate this forum (XML)
] [
] [
]
Current Time:
Fri May 09 09:55:02 CEST 2025
Total time taken to generate the page: 0.03438 seconds