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

Managed C++/CLI

 
GeneralRe: Getting Error message in debuging Pin
deadlyabbas18-May-09 23:02
deadlyabbas18-May-09 23:02 
GeneralRe: Getting Error message in debuging Pin
Mark Salsbery19-May-09 6:04
Mark Salsbery19-May-09 6:04 
GeneralRe: Getting Error message in debuging Pin
led mike19-May-09 6:37
led mike19-May-09 6:37 
QuestionDraw Rectangle onto Picture in PictureBox Pin
cherrymotion17-May-09 4:25
cherrymotion17-May-09 4:25 
AnswerRe: Draw Rectangle onto Picture in PictureBox Pin
N a v a n e e t h17-May-09 4:47
N a v a n e e t h17-May-09 4:47 
GeneralRe: Draw Rectangle onto Picture in PictureBox Pin
cherrymotion17-May-09 6:10
cherrymotion17-May-09 6:10 
GeneralRe: Draw Rectangle onto Picture in PictureBox Pin
N a v a n e e t h17-May-09 6:48
N a v a n e e t h17-May-09 6:48 
QuestionReference User32.lib Pin
thenutz7215-May-09 14:16
thenutz7215-May-09 14:16 
I'm trying to learn c++ and I just spent some time trying to use GetWindowText(). I was getting a linker error for unresolved token LNK2028, LNK2019. I finally added "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Lib\User32.lib" path to Project->Properties->Linker->Input and it worked. But I have two questions for anyone who may know so that I may understand a little better. And maybe someone else can use this later, too.

.NET 2008 C++, WinXP Home

1) Why did I have to that? I kept telling myself the dll was already referenced and I had the "windows.h" #include going on. Everything looked correct (as far as my understanding goes (not far)).

The code is in a normal CLR project, .NET Form button_click (so it must be using User32.dll already, right?). If you check the Linker->Input Additional Dependencies it shows User32.lib in "Inherited Values" along with all of the other Windows libraries. So I assumed I didn't have to add it.

2) It may have worked but did I do it 'right'? I ran a search on my drive for user32.lib (I expected it in C:\WINDOWS somewhere but it was in the path listed above. Should I move it? There are others in "C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib" and the like.

Thanks.
AnswerRe: Reference User32.lib Pin
Mark Salsbery15-May-09 20:20
Mark Salsbery15-May-09 20:20 
GeneralRe: Reference User32.lib Pin
thenutz7216-May-09 9:12
thenutz7216-May-09 9:12 
QuestionHow to get machine certificate and user license. Pin
deadlyabbas12-May-09 21:00
deadlyabbas12-May-09 21:00 
AnswerRe: How to get machine certificate and user license. Pin
Randor 14-May-09 15:06
professional Randor 14-May-09 15:06 
QuestionAbout Multiple Windows Forms Pin
savitri11-May-09 20:47
savitri11-May-09 20:47 
AnswerRe: About Multiple Windows Forms Pin
N a v a n e e t h12-May-09 22:24
N a v a n e e t h12-May-09 22:24 
GeneralRe: About Multiple Windows Forms Pin
savitri13-May-09 1:22
savitri13-May-09 1:22 
GeneralRe: About Multiple Windows Forms Pin
N a v a n e e t h13-May-09 2:20
N a v a n e e t h13-May-09 2:20 
QuestionRe: About Multiple Windows Forms Pin
savitri13-May-09 19:41
savitri13-May-09 19:41 
QuestionRe: About Multiple Windows Forms Pin
Mark Salsbery14-May-09 6:58
Mark Salsbery14-May-09 6:58 
AnswerRe: About Multiple Windows Forms Pin
N a v a n e e t h14-May-09 16:02
N a v a n e e t h14-May-09 16:02 
GeneralRe: About Multiple Windows Forms Pin
savitri14-May-09 19:20
savitri14-May-09 19:20 
GeneralRe: About Multiple Windows Forms Pin
N a v a n e e t h14-May-09 23:52
N a v a n e e t h14-May-09 23:52 
QuestionRe: About Multiple Windows Forms Pin
savitri15-May-09 21:20
savitri15-May-09 21:20 
QuestionCreating Windows Service VC++ 6.0 Pin
iamJayPatil11-May-09 18:52
iamJayPatil11-May-09 18:52 
QuestionDetermining if an inputted file name exists? Pin
TabascoSauce9-May-09 12:50
TabascoSauce9-May-09 12:50 
AnswerRe: Determining if an inputted file name exists? Pin
dybs9-May-09 13:04
dybs9-May-09 13:04 

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.