Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > C/C++
You last visited: Today at 18:14

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[MinGW] vswprintf

Discussion on [MinGW] vswprintf within the C/C++ forum part of the Coders Den category.

Reply
 
Old   #1
 
Tyrar's Avatar
 
elite*gold: 0
Join Date: Oct 2008
Posts: 1,637
Received Thanks: 1,119
[MinGW] vswprintf

Guten Morgen,
ich arbeite momentan an einer kleinen Logger-Klasse die auch Unicode kompatibel sein soll.
Prinzipiell läuft alles, abgesehen von den Unicode Funktionen, genauer gesagt die 'vswprintf'!

Code:
'vswprintf' was not declared in this scope
Was der Fehler aussagt sollte wohl klar sein, allerdings kann ich mir nicht erklären, warum ich diesen Fehler bekomme. Alle nötigen Header sind inkludiert, kann ich also davon ausgehen, dass diese Funktion unter MinGW überhaupt nicht verfügbar ist und ich die selbst implementieren müsste?
Tyrar is offline  
Old 01/15/2014, 17:28   #2




 
Omdi's Avatar
 
elite*gold: 93616
Join Date: Apr 2010
Posts: 13,737
Received Thanks: 14,990
Schau mal !
Omdi is offline  
Thanks
1 User
Old 01/15/2014, 17:44   #3
 
Tyrar's Avatar
 
elite*gold: 0
Join Date: Oct 2008
Posts: 1,637
Received Thanks: 1,119
Okay das wars, dabei hab ich doch schon ne volle Stunde gegoogelt
Danke

Edit: um nochmal zu beschreiben wie genau ich das gelöst habe
Code:
mingw32-g++.exe -std=c++11 -U__STRICT_ANSI__ -DUNICODE -D_UNICODE  -DDEBUG -D_DEBUG -c trunk\Logger\Logger.cpp -o obj\Debug\Logger\Logger.o
Tyrar is offline  
Reply


Similar Threads Similar Threads
Visual Studio Compiler und MinGW(C++)
05/09/2012 - C/C++ - 4 Replies
Hallo Liebe Community, mir ist aufgefallen, dass die Kompilate von MS und MinGW im Bezug auf statische Adressen ein unterschiedliches Verhalten aufweisen. Während, wenn ich mit dem selben Code in MingGW eine Variable deklariere, sie mit Cheatengine finden und mit einer konstanten Adresse rechnen kann, geht das mit dem MS Kompilat nicht. Dynamische Adressen lassen sich natürlich z. B. trotzdem mit "new Int" erzeugen. Das MS Kompilat wechselt bei jedem Start die Adresse. Woran liegt das denn?...
[C++ MinGW][v5156] Simple melee bot. (w/ jumping & targets all mobs except players)
11/21/2009 - CO2 Programming - 162 Replies
Hi all, Just a simple melee bot. (with source code included) To use it you inject melee.dll with winject.exe into your running process of Conquer.exe. Then inside your chat box in your conquer client you use the following commands... /melee -- starts attacking monsters /melee off -- stops attacking monsters /loot <itemID1> <itemID2> ... -- loots items (refer to itemtype.txt for item IDs) /loot off -- stops looting...
minGW working?
08/30/2009 - Conquer Online 2 - 11 Replies
i was jsut wundering if it was possible to make minGW work...iunno with a muti client or sumtin im not sure but is it possible? if not is there a bot out there working atm?



All times are GMT +2. The time now is 18:14.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.