Answer Questions
confusedDeveloper loading the classes in a native dll
hey guys, i have a static linked native c++ dll i built. i want to try and load the c++ classes in it, from an exe (for example). i want to be able to load these classes, and make objects and start using them. im trying to implement a plugin system of some sort. is that feasible i have done it using C# and the System.Reflection, but what about native C++ Since its done in the .NET framework, then its done C++, cause what im imagining the .NET wa ...Show All
Newbie102 ListView grouping mode
Hi! How can I implement the 'grouping mode' in a derived CListView class Can you please provide me a sample I use 'Microsoft Visual Studio.NET 7.0 beta 2' with 'Microsoft Visual C++.NET 2002' Thanks a lot. VC++ 2002 That too, a Beta Egad!!! Anyway I guess you could access the internal list control and call EnableGroupView on it. FabioDeSantis wrote: Hi! How can I implement the 'grouping mode' in a derive ...Show All
Nathaniel Engelsen HELP: error C2664 in atlcom.h coming back
Moving from vs2003 to vs2005, I have the following compilation error: atlcom.h (5005) : errror C2664: 'ATL::_CopyInterface<T>::copy' : cannot convert parameter 2 from 'IMyObject * const *' to 'IMyObject **' with [ T = IMyObject ] Conversion loses qualifiers atlcom.h (4992) : while compiling class templates member function 'HRESULT ATL::IEnumOnSTLImpl<Base, piid, T, Copy, CollType>::Next(ULONG, T *, ...Show All
mjbp windows.h not found...
WOW, I can't believe this information isn't easier to find. I downloaded and installed Visual C++ 2005 Express, and then downloaded and installed the Platform SDK SP2. NOTHING WORKS! The Directories are not found and there is no apparent way to set them. Apparently users have found a hack to make it work, but this is crazy. It seems like the first Microsoft person to install this would notice that it doesn't work an ...Show All
Joseph G Project : error PRJ0003 : Error spawning 'cmd.exe'.
When i compile a project MFC (Visual studio 2005) with the default setting, Ihave this error message but my .exe is done and work. Build Log Build started: Project: SuperviseurGesma, Configuration: Debug|Win32 Command Lines Creating temporary file "d:\Gesma2005\SuperviseurGesma\SuperviseurGesma\Debug\RSP00001A24003812.rsp" with contents [ /out: ...Show All
ToddT msvcprtd.lib(MSVCP80D.dll) : error LNK2005
I am having problems to port our product from vc7.0 to vc2005: Linking... LINK : warning LNK4076: invalid incremental status file '..\..\..\bigworld\tools\worldeditor\BigBang-debug.ilk'; linking nonincrementally msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall std::allocator<unsigned short>::allocator<unsigned short>(void)" ( 0 $allocator@G@std@@QAE@XZ) already defined in edgizmo.lib(soli ...Show All
Fendy Take a look at the GDI+ help?
every master,I have a old draw programe in VC6.0,now i want to transform to VC2003,but I dont want to use managed C++,I still want to use MFC, so how to program using GDI+ I just take a example code from http://msdn.microsoft.com/library/default.asp url=/library/en-us/gdicpp/gdiplus/gdiplus.asp . Using GDI+->Draw a line, after I paste the code into a empty Win32 App created by VC.net 2003, when complied,there are lots of error, ...Show All
Piotr Jagie??o compilation error with unmanaged code in C++ project
I am trying to compile a project with some old unmanaged Winsock functions. I added a component .h file (BonnerComponent.h) to my project and tried to paste a function from a known source. This function is a part of a demo package that I tested thoroughly and it works. This particular function worked too. After I added the function (MainWndProc) which is not show here I got 13 errors. I compiled the project with clr:OldSyntax keyword because ...Show All
stevema truncation from double to float
greetings, I am getting a warning for my code that is bothereing me. Using C++ Express I get the following error. warning C4305: '=' : truncation from 'double' to 'float' Here are the pertinent snippets. In header file: float leftIn, rightIn, inches, totalIn, theta, thetaDeg, x_pos, y_pos, target_dist,target_heading, target_bearing, heading_error, target_heading_error/*duplicate */,lClkPerIn, rClkPerIn, wheelBase,T ...Show All
Manu Evans dll hell ???
Am unable to compile anything with Visual C++ Express. Installation carried out 'to the book', including using 'Install cleanup'. First error message is "This project is out of date". Building the project , gives error code 1073741511, which I believe is 'file not found'. Profiling with 'Dependency Walker'Yields the following: Started "c:\program files\microsoft visual studio 8\vc\bin\CL.EXE" (process 0xECC) at add ...Show All
Philippe Bonneau Problem of struct default constructor in vc++2005 beta1
wrote in message news:fedcfa42-4dde-47fc-ae43-27b15b6f3d7c@discussions.microsoft.com... 3512.1 I made a default constructor for a struct as below. But this caused a compliation error in vc++ 2005: --------------------------------------------------------------------- Error 1 error C3417: 'Point :: Point' : value types cannot contain user-defined special member functions --------------------------------------------------- ...Show All
SDeen Problem running in release mode
When I compile my program in Debug mode it works perfectly, however when compiled in Release mode tons of weird things go wrong. The data that is read from my files is incorrect, and sometimes it will just crash for no apperent reason. Is there some setting that I need to change to make Release version compile correctly There are millions of reasons for such a problem. We need more specific infos about your pr ...Show All
WondeRu Does Visual C++ 2005 Express Edition Beta 2 support DirectX 9.0c?
Does Visual C++ 2005 Express Edition support DirectX 9.0c Was it built to support it Will it support it in the future I am trying to use some sample code from DirectX3D with Does Visual C++ 2005 Express Edition Beta 2 run with DirectX 9.0c (the latest) with unmanaged code and it simply does not work. There are several missing include files (objbase.h, windows.h...etc). Any help would be appreciated. CP Try ...Show All
Amazing Andrei EETypeLoadException
Hi I’ll migrate a VC++ 6.0 MFC solution to VC++ 2005 (managed c++). My solution consists of one exe-file which call’s some MFC extension DLL’s and some MFC extension DLL’s. After I compile the code with "/clr" I get the "Loader Lock" Error on some DLL Main function’s. I have fixed the Loader Lock" Error by the manuals of MSDN library, but now I get these errors when I debug the code: … ' myprogramm.exe' (Managed): Loaded 'C:\WINDOWS\WinSxS\x8 ...Show All
Dj Anonymous Memory Leak and New
I'm a bit confused about the utility of crtdbg.h if I use the new function. If I use malloc I get a nice report saying that line x of file y leaked z amount of memory. Nice. If I use new, I get a pretty useless report that line 691 of crtdbg.h leaked z amount of memory. Well gee, thanks. I KNEW that new is being redirected to that inline function in crtdbg.h, I was kinda hoping maybe you could tell me where I came from, not where I went. Here is ...Show All
