• Welcome to PlanetSquires Forums.
 

#Define Unicode (CSQLite3.inc)

Started by Paul Squires, March 28, 2020, 08:16:48 AM

Previous topic - Next topic

Paul Squires

Hi Jose, hope you're doing okay especially given everything that Spain is going through right now with the virus.

It seems that CSQLite3.inc is the only Afx code file that explicitly defines the UNICODE equate. I noticed that it leads to a Duplicate Definition error in one of my older applications when I compile it with my new WinFBE visual designer code generation (which also outputs #define unicode). Is it necessary to have that define in the file? Maybe it can be removed?

I do this in WinFormsX in order to avoid duplicate definition errors when compiling:

#IfnDef UNICODE
   #Define UNICODE
#EndIf   
#IfnDef _WIN32_WINNT
   #Define _WIN32_WINNT &h0602 
#EndIf

Paul Squires
PlanetSquires Software
WinFBE Editor and Visual Designer

José Roca

#define unicode is not needed at all. I have removed it.

I'm fine, thanks very much for your interest.

What I'm having problems is reading the posts of this forum. It time outs often.

Paul Squires

Session times out is not an error that I've seen in a very long time. Maybe try logging out, delete cookies, and then login using this link:
https://www.planetsquires.com/protect/forum/index.php?action=login

Also, maybe update your browser shortcut to the forum to:
https://www.planetsquires.com/protect/forum/index.php

(Try to use the secure https:// links rather than http: because I configured the server to redirect to secure links and maybe that could be interfering with your session)
Paul Squires
PlanetSquires Software
WinFBE Editor and Visual Designer

José Roca

I'm using the correct link and all has worked fine until yesterday. It not only happens when trying lo log, but also when trying to read posts or posting, and it happens with Google Chrome, Microsoft Edge and Firexox. I don't have problems with any other web site.


Paul Squires

That's very strange because I have done nothing to the website, server, or forum in several months.
Paul Squires
PlanetSquires Software
WinFBE Editor and Visual Designer

Bruce Huber

Note: I was having the same site timeout problems yesterday, Paul.... but it's not just PlanetSquires... seeing it happen everywhere at different times. Covid-19 work-at-home is killing the internet at times.

José Roca

All of a sudden, it has started to work fine again. Let's hope it lasts.