Answer Questions
AndyFriburgo problem in explicit linking of DLL
I have made a sample Win32 DLL(not MFC) without using .DEF file(I do not have to include a header file thus).To test that i have made a sample application.It loads the DLL using explicit linking(using LoadLibrary() and GetProcAddress()).To make it work I copied the dll to the folder of the exe.Now, the dll is being loaded(the handle returnd by LoadLibrary() is not null).But the GetProcAddress() is returning a null pointer.I have run the dumpbin ...Show All
David Roberto Johnson how do I install missing file msvcr80.dll
Please, if someone knows how to install file msvcr80.dll, if you don't mind let me know. Check this: http://www.dll-files.com/dllindex/dll-files.shtml msvcr80 Look at this blog entry from Nikola: http://blogs.msdn.com/nikolad/archive/2005/09/02/460368.aspx Ronald Laeremans Visual C++ team forget about all other methods. Install both of these: non SP1 ...Show All
ChristerHe DeleteFiber identifier not found
On the visual studio beta 2, I cannot compile fiber code because functions are not in headers. Is it normal Why fibers disappeared error C3861: 'DeleteFiber': identifier not found error C4430: missing type specifier - int assumed. Note: C++ does not support default-int error C3861: 'ConvertThreadToFiber': identifier not found error C3861: 'CreateFiber': identifier not found error C3861: 'SwitchToFiber': identifier ...Show All
Thomas Mikolajczyk windows message
Hi i have a dll witch registers a windows message.. and send it to a window.. RegisterWindowsMessage retruns the message id .. but how will my application know for what id of message to look for You need to store the value returned, and pass it to the app which consumes the dll. actually my problem was that the c# application wont know the message id.. but you ispared me .. i return the message id when it call the dll Create ...Show All
Madhukar_KR unresolved external error
I am copying a program from a book " using visual c++" OLE and com programming. I created autoserver and tried to test it in a dialoge based application (this calls a function (squareroot )in autoserver through dispatching) when i run the application I getLinking... testcomDlg.obj : error LNK2001: unresolved external symbol "public: double __thiscall IAutoserver::squareroot(double)" ( squareroot@IAutoserver@@QAENN@Z ) Debug/testcom.exe : f ...Show All
rich-75 System.InvalidOperationException in System.Windows.Forms.dll
Hi!!! I posted some days ago with a problem: I had this: I had a large C++ unmanaged application which I compiled and ran perfectly using Visual Studio 2003. Now, I want to compile and run it using Visual Studio 2005. When I compiled it in release mode everything worked fine, but I got about a thousand comiler errors when trying to compile it in debug mode. All of these compiler errors appear in files that belong to Visual Studio 2005 such ...Show All
Steven .NET "Find in files" stops working for no apparent reason
Hi folks, The (heavily used) command "Find in files" from the Visual Studio 2005 IDE just stopped working for me for some reason. Attached below are the search parameters that should return most of my files: Find all "A", Subfolders, Find Results 1, "c:\", "*.*" No files were found to look in. Find was stopped in progress. Looking around a bit, I've noticed that this problem was also present in previous ...Show All
mcneil_eric How to learn DirectX
Hello, How are you every body I want to learn programming games with directx but I don't know how, I saw some codes in some site but I don't know where to write them I can programme with C++ but I prefered C# I can also design scenes using 3D studio Max so I wish you tell me how to start learning. or can I write the codes in the C++ editor, if so what is the libraries I need to have and how to get them Thank you very much You can send me an emai ...Show All
pauleley cp->CompilerOptions = "/optimize"; and other questions
cp->CompilerOptions = "/optimize"; statement lists only one parameter /optimize. What if I need to use more than one Do I have to list them all in one string or I can use a sequence of statements: cp->CompilerOptions = "/optimize"; cp->CompilerOptions = "/Z7"; cp->CompilerOptions = "/Gd"; or for this matter : cp->CompilerOptions = "/Od"; Also can I use this statement: cp->CompilerOptions = "/Ox"; versus "/optimize" It is ...Show All
daveCsharp Autoscroll
How do I make my about box autoscroll Like have a picture to the left and then a rich text box where all of my text is but then start to autoscroll down Could you please tell me exactly how to use the timer I'm not exactly sure what you're asking, but you might try creating a textbox with a scroll bar, and setting a timer to send a scroll event every so often. .Net: ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref12 ...Show All
WebMetro LINK : warning LNK4089: all references to "SHELL32.dll" discarded by /OPT:REF
Hi. when I run Batch Build .... Deleting intermediate files and output files for project 'Sampler - Win32 Release'. Deleting intermediate files and output files for project 'Sampler - Win32 Debug'. --------------------Configuration: Sampler - Win32 Release-------------------- Compiling resources... Compiling... StdAfx.cpp Compiling... Sampler.cpp SamplerDlg.cpp DisplayDlg.cpp Generating Code... Linking... LINK : warning LNK4089: all refere ...Show All
Snigdha Ensuring symbol order in object files?
Is there a way to get the C++ compiler to generate .obj files that maintain the order of the symbols as they appeared in the .cpp file If so, is there also a way to ensure that the linker also preserves the order A simple example of the behavior I'm seeing from the compiler/linker: .cpp file contains int foo1; int foo2; int foo3; int foo4; when I dump the symbols from the .obj file I get this 00B 0000000C SECT3 notype &n ...Show All
gbabu17 Optimizing Link Times
I'm trying to merge our multi-dll project into a single EXE to get more advantage out of LTCG. The problem I'm having is that making this change has taken link times from 20-30 seconds up to 2:20, without enabling LTCG (in a debug build). I have incremental linking and use library dependancy inputs enabled, and with the uber-verbose output, it appears to be functioning. My final exe size in debug is 38 MB, and my .ilk file is 127 MB. Are there a ...Show All
kritchai vanchainavin fatal error LNK1104: cannot open file 'LIBC.lib'
I'm trying to compile a C source code project with Visual Studio 2005. I'm linking in 2 libraries that were built using Visual Studio 2003. When I build my project, I get 1 error: fatal error LNK1104: cannot open file 'LIBC.lib' I know libc.lib is not included with Visual Studio 2005. How can I overcome this problem Thanks, Mike It is possible!! The functions, clib.lib exports are alrea ...Show All
Lama Karmi Advantages to Using C++.Net 2005?
Hi: Just looking for some opinions as to the advantages of using the new C++.NET 2005 over C++.NET 2003. I have some managed code in VS 2003 and I have just loaeded VS 2005. Are there any real advantages to transfering my code to the new syntax or can I combine the two without hassles It is not a lot of code. What are your opinions on using C#. It seems like a cleaner approach to managed code Thanks Thanks. Like I said to Nish I w ...Show All
