Answer Questions
Young Joo-MSFT Error: LNK2019
Hi I am using MS VC++ .Net (2003) and MS DirectX 9.0 SDK (December 2004). I am getting the following error :- GDPass error LNK2019: unresolved external symbol "public: void __thiscall bullet::gunshot(void)" ( gunshot@bullet@@QAEXXZ ) referenced in function "long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)" ( WndProc@@YGJPAUHWND__@@IIJ@Z ) "gunshot()" is a function which is declared in a header file, as a public funct ...Show All
SachinSurana Visual C++ Toolkit for VS2005?
What is the Visual C++ Toolkit 2003 The Visual C++ Toolkit is a free edition of Microsoft’s professional Visual C++ optimizing compiler and standard libraries--the same optimizing compiler and standard libraries that ship in Visual Studio .NET 2003 Professional! Hi, I used to have Visual C++ Toolkit installed along with my VC++ 2003. This tuesday, after attending Microsoft VS2005 launch event, I came back with V ...Show All
Delphi Skyline specstrings.h / sal.h
XPSP2 PSDK specstrings.h appears to conflict with VC sal.h Numerous warnings of type; c:\program files\microsoft platform sdk for windows xp sp2\include\specstrings.h(334) : warning C4005: '__reserved' : macro redefinition c:\program files\microsoft visual studio 8\vc\include\sal.h(672) : see previous definition of '__reserved' c:\program files\microsoft platform sdk for windows xp sp2\include\specstrings.h(341) : warning C4005: '__checkRetur ...Show All
dp_favresa PDB/Debugging configurations...
I'm a little new to VC++... So please bare with me if this is a newbie type question that should be obvious and I've looked around and just seem to be missing the answer apparently... We have 3 projects in VC++ 2k5. 1 is a lib, 1 a dll, and the other an application. We'd like to be able to step-in-to (when necessary) the source of the lib and dll when/while debugging the application. So far the only way we've been able to get that to work 'relia ...Show All
Muhammad Rizwan Iam new to vc++.net 2005 but I know the normal c++ coding methods
Hi, I am an average c++ programmer but I've never used or tried to build an application using MS VC++.NET 2005. I've written a few programs in VB6 but now I want to learn building programs in vc++.net 2005. I have a tutorial book where they explain nothing but console application and those are very basic(understood very well). I've also seen some useless samples using MFC or win32 which i dont understand at all because the author don't explain o ...Show All
LuckLess error lnk2019 when calling a function with wchar_t param
hey guys, my problem is i have a static library (native). and i have a class that takes a wide character ("wchat_t") as a parameter. now when i did my win32 mfc application, i come to use that function inside my class and it results in a link error to that function: error LNK2019: unresolved external symbol "public: void __thiscall NBaseStaticMesh::LoadModel(wchar_t *)" what do u think is the problem ...Show All
Flavelle Ballem How to convert from array<Type,2>^ to array<Type>^?
Is there a way to convert from two/three dim array to one dim array in .net Or I have to manually create an one dim array then copy elements over. Thanks, hdp. These really are two different and distinct types so there is no automated way to do this. The easiest way to do this is as you descibe: create a 1-d array and copy the elements you require. ...Show All
Dmitriy Vasyura error LNK2001: unresolved external symbol "public: __thiscall
Hi folks, This is my first unmanaged C++ program in vs 2003.( I use to code in vs6). created a template class stack and in the main trying to use the same. in compilation getting template1 error LNK2001: unresolved external symbol "public: __thiscall stack<int>::stack<int>(void)" ( 0 $stack@H@@$$FQAE@XZ) for all the methods defined in the stack. The problem is that the stack<int> is not getting instantiated. After googling ...Show All
Rajesh Maskara Rretriving Countrry/Region settings of Machine
Hi all, I want to retrive the regional/country settings set by the user on the OS. For example, I have Set "India" as my country and lanaguage as English (United States). I want to retrive the setting India through my program. Can you please tell me what do I need to do for this Any Win32 API available for this Please do let me know at your earliest. You can use GetUserDefaultUILanguage or GetUserDefaultUILanguage. If those fu ...Show All
ZhangHua Unmanaged / Managed Code Integration
I know for alot of us developers it would be nice to have a forum for integration between legacy c++ code and new managed c#. Or vice-versa (calling managed code with legacy code)....... Good idea That is a total waste of time to use Managed C++. It is no way as powerful as C#. Nobody in the development community uses managed c++ unless they are wrapping to old legacy code they don't ...Show All
scott t Installing C++ programs built using VS2005
Hi, I just built a hello world application using VS2005 in C++ (not using .Net CLR). It runs fine on my machine (XP Pro all service packs). But I cannot simply copy the executable to another XP machine which does not have VS2005 and run it. It seems like that the other machine needs new C++ run time libraries like mscrt80, etc... How do I get a dependency list and how do I install these on the target machine Is there a C++ run time distributab ...Show All
Mattyv Could not add a new Class Diagram to the project
In Beta2, in class view, right click on a class name and select "View Class Diagram", but there is a error: "Unable to create file e:\some dir\ClassDiagram1.cd. Make sure you have file system permission to create the file, and have disk space available" I don't know how to fix it. Hi, The fact that there is still a menu item is a bug. Thanks for reporting this. Ronald Laeremans Visual C++ team OK, maybe I ...Show All
sperlis Urgent: "atof" function cannot outcome precise result
The following test code is compiled and debuged with VS.NET2003 IDE, the calculation is always wrong. The real calculation in my debugging process are d1: 21.329999999999998 d2: 191.96999999999997 n: 19196 The expected correct is supposed to be d1: 21.33 d2: 191.97 n: 19197 The test code is from my project algorithm code which outcome is seriously complained from QA team ...Show All
Ghalib Ghuneim simple question
i was reading mfc book by jeff. i had installed vs 2005 . i tried simple programme but it does not works just add this to onpaint CPaintDC dc(this); CRect rect; GetClientRect(&rect); dc.DrawText("hi ",-1,&rect,DT_CENTER); but there is no display in output it is the code frm the book by - jeff porsise void CMainWindow::OnPaint () { CPaintDC dc (this); CRect rect; GetClientRect (&rect); dc.DrawText (_T ( ...Show All
KillerAppz generic SortedList
Hi everyone. I'm using a generic SortedList class, and need to access my data by value to find the index. However, there appears to be no method IndexByValue with a generic SortedList (unlike the standard SortedList) There is however a ContainsValue method. This seems inconsistent to me. How can I implement a method that works like IndexByValue I assume you mean IndexOfValue and not IndexByValue which does no ...Show All
