Click here to Skip to main content
15,892,005 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: Thread injection Pin
csrss30-Oct-09 17:45
csrss30-Oct-09 17:45 
QuestionRefresh Database Pin
rdop29-Oct-09 22:02
rdop29-Oct-09 22:02 
AnswerRe: Refresh Database Pin
N a v a n e e t h30-Oct-09 16:38
N a v a n e e t h30-Oct-09 16:38 
Question>(resources->GetObject(L"Ythree.Image"))); Pin
ikurtz29-Oct-09 5:16
ikurtz29-Oct-09 5:16 
AnswerRe: >(resources->GetObject(L"Ythree.Image"))); Pin
ikurtz29-Oct-09 5:27
ikurtz29-Oct-09 5:27 
GeneralRe: >(resources->GetObject(L"Ythree.Image"))); Pin
ikurtz29-Oct-09 8:55
ikurtz29-Oct-09 8:55 
GeneralRe: >(resources->GetObject(L"Ythree.Image"))); Pin
ikurtz30-Oct-09 4:26
ikurtz30-Oct-09 4:26 
QuestionUnresolved externals Pin
Lutosław28-Oct-09 23:04
Lutosław28-Oct-09 23:04 
Yup, I did Google but nothing helped. I get strange linker errors.
Error	1	error LNK2001: unresolved external symbol "extern "C" int __cdecl wsprintfW(wchar_t *,wchar_t const *,...)" (?wsprintfW@@$$J0YAHPA_WPB_WZZ)	ComPort.obj	Lab1
Error	2	error LNK2001: unresolved external symbol "extern "C" long __stdcall RegQueryValueExW(struct HKEY__ *,wchar_t const *,unsigned long *,unsigned long *,unsigned char *,unsigned long *)" (?RegQueryValueExW@@$$J224YGJPAUHKEY__@@PB_WPAK2PAE2@Z)	Lab1.obj	Lab1
Error	3	error LNK2001: unresolved external symbol "extern "C" long __stdcall RegQueryInfoKeyW(struct HKEY__ *,wchar_t *,unsigned long *,unsigned long *,unsigned long *,unsigned long *,unsigned long *,unsigned long *,unsigned long *,unsigned long *,unsigned long *,struct _FILETIME *)" (?RegQueryInfoKeyW@@$$J248YGJPAUHKEY__@@PA_WPAK22222222PAU_FILETIME@@@Z)	Lab1.obj	Lab1
Error	4	error LNK2001: unresolved external symbol "extern "C" long __stdcall RegEnumValueW(struct HKEY__ *,unsigned long,wchar_t *,unsigned long *,unsigned long *,unsigned long *,unsigned char *,unsigned long *)" (?RegEnumValueW@@$$J232YGJPAUHKEY__@@KPA_WPAK22PAE2@Z)	Lab1.obj	Lab1
Error	5	error LNK2001: unresolved external symbol "extern "C" long __stdcall RegOpenKeyExW(struct HKEY__ *,wchar_t const *,unsigned long,unsigned long,struct HKEY__ * *)" (?RegOpenKeyExW@@$$J220YGJPAUHKEY__@@PB_WKKPAPAU1@@Z)	Lab1.obj	Lab1
Error	6	fatal error LNK1120: 5 unresolved externals	Lab1

The linker throws errors only in a Release configuration. In a Debug conf the project compiles successfully.
If I comment out lines where I use the functions above, the code compiles. But certainly is not what I want.
What's interesting, I use other functions from WinAPI and they work. Also wscanf_s compiles with no errors.
Also, wiping .obj files out (and all other which are generated during compilation) does not help Sigh | :sigh:

Thanks in advance --

Greetings - Jacek

AnswerSolved externals Pin
Lutosław28-Oct-09 23:20
Lutosław28-Oct-09 23:20 
QuestionMemory access exception instantiating c++ native code from /clr c++ code Pin
redivider28-Oct-09 7:37
redivider28-Oct-09 7:37 
AnswerRe: Memory access exception instantiating c++ native code from /clr c++ code Pin
N a v a n e e t h28-Oct-09 15:54
N a v a n e e t h28-Oct-09 15:54 
GeneralRe: Memory access exception instantiating c++ native code from /clr c++ code Pin
redivider29-Oct-09 5:55
redivider29-Oct-09 5:55 
GeneralRe: Memory access exception instantiating c++ native code from /clr c++ code Pin
N a v a n e e t h29-Oct-09 6:48
N a v a n e e t h29-Oct-09 6:48 
QuestiontableLayoutPanel grid orientation Pin
ikurtz27-Oct-09 10:04
ikurtz27-Oct-09 10:04 
QuestionHow to use Crystal Report in Visual C++ .Net 2005 [modified] Pin
Kingshuk Sarkar27-Oct-09 2:19
Kingshuk Sarkar27-Oct-09 2:19 
QuestionHow to make text width Uniform in richtextbox? Pin
santoshkaif24-Oct-09 4:00
santoshkaif24-Oct-09 4:00 
AnswerRe: How to make text width Uniform in richtextbox? Pin
Nuri Ismail24-Oct-09 6:05
Nuri Ismail24-Oct-09 6:05 
GeneralRe: How to make text width Uniform in richtextbox? Pin
santoshkaif24-Oct-09 22:42
santoshkaif24-Oct-09 22:42 
Questionreading in char Pin
jonig1923-Oct-09 14:31
jonig1923-Oct-09 14:31 
AnswerRe: reading in char Pin
Mark Salsbery24-Oct-09 6:20
Mark Salsbery24-Oct-09 6:20 
Questionpainting with correct timing on vertical sync Pin
Andreoli Carlo22-Oct-09 3:56
professionalAndreoli Carlo22-Oct-09 3:56 
QuestionError while Database name is numeric in MySQL Pin
MsmVc21-Oct-09 22:26
MsmVc21-Oct-09 22:26 
QuestionMarshal native string to managed string for wrapper DLL Pin
alleyes20-Oct-09 9:53
professionalalleyes20-Oct-09 9:53 
AnswerRe: Marshal native string to managed string for wrapper DLL Pin
Luc Pattyn20-Oct-09 14:38
sitebuilderLuc Pattyn20-Oct-09 14:38 
GeneralRe: Marshal native string to managed string for wrapper DLL [modified] Pin
alleyes20-Oct-09 15:07
professionalalleyes20-Oct-09 15:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.