Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > C/C++
You last visited: Today at 10:44

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

Advertisement



C++ dlldir help

Discussion on C++ dlldir help within the C/C++ forum part of the Coders Den category.

Reply
 
Old   #1
 
~kau~'s Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 634
Received Thanks: 794
Question C++ dlldir help

hey Leute hab nen Problem.
Source :
GetModuleFileName(hMod, dlldir, 512);
Fehler : dlldir nicht kompatible zu LPWSTR

help

mfg Kauknochen
~kau~ is offline  
Old 10/18/2010, 13:02   #2
 
elite*gold: 42
Join Date: Jun 2008
Posts: 5,425
Received Thanks: 1,888
Steht doch da, was der Fehler ist ._.

MoepMeep is offline  
Old 10/18/2010, 13:05   #3
 
~kau~'s Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 634
Received Thanks: 794
ja und wie mach ichs kompatible?
~kau~ is offline  
Old 10/18/2010, 13:09   #4
 
elite*gold: 42
Join Date: Jun 2008
Posts: 5,425
Received Thanks: 1,888
Wenn die funktion einen LPWSTR will, dann gib ihr einen :>
MoepMeep is offline  
Old 10/18/2010, 13:16   #5
 
elite*gold: 0
Join Date: Aug 2006
Posts: 170
Received Thanks: 61
die variable "dlldir" muss vom Typ LPWSTR sein. Das heißt die variable dlldir musst du als Typ LPWSTR definieren
Pain1234 is offline  
Old 10/18/2010, 13:27   #6
 
elite*gold: 0
Join Date: Apr 2006
Posts: 6,597
Received Thanks: 1,830
Ansonsten GetModuleFileNameA
Medix is offline  
Thanks
1 User
Old 10/18/2010, 13:31   #7
 
~kau~'s Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 634
Received Thanks: 794
ty @ all GetModuleFileNameA funtzt
~kau~ is offline  
Old 10/18/2010, 21:30   #8
 
elite*gold: 20
Join Date: Sep 2006
Posts: 1,100
Received Thanks: 184
Benutzt doch einfach das TEXT Macro für Stringkonstanten.
Bot_interesierter is offline  
Reply




All times are GMT +1. The time now is 10:44.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.