Software Development Network Logo
  • SharePoint Products
  • Windows Vista
  • Windows Forms
  • IE Development
  • SQL Server
  • Visual C#
  • Visual Studio
  • Microsoft ISV
  • Smart Devicet
  • Visual C++
  • Visual FoxPro
  • Visual Basic
  • Audio and Video
  • Game Technologies
  • VS Team System

Software Development Network >> Visual C++

Visual C++

New Question

Asked for VC 7.1 libraries when compiling a project in VC 8
Doubly Linked Lists
About EnterCriticalSection
"unresolved external symbol _main"
C++/CLI /CLR Managed Support in Native Library
Question on including header files to project in VC++
Strange Compiler Error!!!!!!!!
std string assignments failing in debug in VS2005
How do I set nCmdShow parameter in WinMain()?
Get workgroup!

Top Answerers

Dave Houlbrooke
BobInIndy
oceanhai
BLueDeViL
Queenw
Beski
KFrostILEM
Zhou Yong
Curious George
Harshil_Patel_5326c0
sitemap
Only Title

Answer Questions

  • Participant Error messsage

    The version of SP is 20040803.231319. It has been suggested that I post my query in another forum. This I will do. Thanks for responses. Actually I stumbled over that original post and already asked there for your version of psapi.dll. According to the other thread you are running that on WinXP SP2, correct In the directory where BTHelpNotifier.exe is located, is there also a psapi.dll If yes, compare that version to c:\windows\system32\psapi.dll (look on the drive where you installed windows on, if that is not C:) According to the MSDN documentation the above mentioned entry point should be available with XP. -- SvenC I did as you suggested with about 4 files in BTHelp and it work ...Show All

  • Montse error LNK2001

    Hi, (I saw the post on same subject but it seems to be a little different. so I'll use some word from that post!) There is a project earlier written in VC++ 6.0.  I opened the same project in VS. NET 2005 and I am trying to compile.  The code compiles properly (with couple of warnings) but while linking I am getting unresolved external symbol errors like this: The linker seems to have problem with seeing .obj from files in program (which are in the debug directory). It doesn't seem that the /Zl switch or the /NODEFAULTLIB  are on. 1>Linking... 1>Utm.obj : error LNK2001: unresolved external symbol _RTC_Shutdown 1>Zone.obj : error LNK2001: unresolved external symbol _RTC_Shutdown 1>Zones.obj ...Show All

  • Bert666 can someone explain String^ ?

    The code below does not compile since String^ is not a String. String^ path1 = String(argv[1]); I've been looking for some background information on how to handle the ^ symbol in C++. But search engines don't process puncuation marks. I know this is called a reference, but that word appears on at least half of all the web pages related to programming. Can someone help me fix this Or point me to a page which gives a coherent explaination of the concept Thanks Try this article of mine. Look here, under "New Operators": http://msdn2.microsoft.com/en-us/library/xey702bw.aspx It "Indicates a handle to an object located on the garbage-collected heap" ...Show All

  • Phil Gould socket data

    I need your help converting a win32 c socket app into c++/cli. I must create the client. The server must receive constant length strings in order t process this data. I dont have the server source. the c client source (that is created by another person and works fine ) is : #define MAX_PATH 260 #define PR_NAME_LEN 256 #define VERSION_LEN 16 #define DEV_NAME_LEN 16 char msg[MAX_PATH]; char * prName= "name" ; memset(msg, 0, MAX_PATH); strcpy(msg, prName ); send(printSock, msg, PR_NAME_LEN, 0) ; . . . memset(msg, 0, MAX_PATH); strcpy(msg, verName ); send(printSock, msg, VERSION_LEN, 0) ; My c++/cli program is: #define MAX_PATH 260 #define PR ...Show All

  • DocMARs How to associate user data to a workbook by using excel automation?

    Hi, I need to store some user data into the excel workbook and those data should be invisible to the user. What is the best way or easy way to do this I am using vc++. Thanks. JJ Hello Re: How to associate user data to a workbook by using excel automation Such questions are outside the scope of this forum - for the scope of the VC General forum please look at: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=19445&SiteID=1 For such issues please use the newsgroups at http://msdn.microsoft.com/newsgroups . OTP Thanks Damien This forum is for questions about Visual C++ 2005 product itself. For questions about Excel pro ...Show All

  • Giber Visual C++ 5.0 Support

    Hi All, I do not think this is the correct forum for asking this question, but I have also not found a suitable forum to post this question. The question is 'Has Microsoft Withdrawn support for Visual C++ 5.0 or Visual C++ 6.0 " This is important as my department would go on and buy Visual Studio 2005 and invest the time required to convert all our projects created in Visual C++ 5.0 to Visual Studio 2005. thanks and regards Saby Thanks Ayman, That confirmed it. Saby. Moving to the VC++ forum Tim <MSFT> Yes the official support for VC 6.0 and previous versions already expired. Thanks, Ayman Shoukry ...Show All

  • MarcIrvin struct

    Hi all, What is the size of a struct type when i create a struct with float and unsigned char, the size of the struct is 8 bytes instead of 5 bytes. anyone went thorugh this problem... struct test { float a; unsigned char b; }; test a; memset(&a, 0, sizeof(a)); the size fot a is 8 instead of 5 byte. I face the same problem when i create at struct with float ant unsigned short types. Any help would be great.. Thanks, thiru This is because of the setting called "struct member alignment", which controls the boundaries on which struct members are stored. Each member is padded to fill at least the number of bytes indicated by the alignment. To have your struct be 5 ...Show All

  • gotstu How to copy a specific contents of a char array to a string variable

    Dear folk, using win32 C++, I am looking for a function that can copy a specific number of charactes (starting from a specific index), of an char array to a string variable. a code snippet as follows: { char charArray[255]; string stringVariable; //copy a substring from charArray[12] to charArray[25] into string. } I wonder if there is such a string function that can help me to achieve my requirment. Regards Bassam There are many ways: stringVariable = std::string(&charArray[12], &charArray[25]); or stingVariable.resize(13); memcpy(&stringVariable[0], &charArray[12], 13); etc. etc. Probably assign is appropriate too: ...Show All

  • LPlate C2664

    Hello, I have declared two structure in my code: ref class DirectInput { public : LPDIRECTINPUT8 g_pDI11; LPDIRECTINPUTDEVICE8 g_pJoystick11; .... } when i want to pass these structure to a function it generate c2664 : hr = g_pDI11->CreateDevice( pdidInstance->guidInstance, &g_pJoystick11, NULL); and the error: error C2664: 'IDirectInput8W::CreateDevice' : cannot convert parameter 2 from 'cli::interior_ptr<Type>' to 'LPDIRECTINPUTDEVICE8W *' 1> with 1> [ 1> Type=LPDIRECTINPUTDEVICE8 1> ] 1> Cannot convert a managed type to an unmanaged type Thanks, Hanif Thank you Alex for your helps. ...Show All

  • Imad.Ozone how to update a logon notification dll

    This is a non-language-specific windows question but I can't find a general purpose windows forum. I have a service (automatic start at boot up) that needs to know as users logon and logoff. I created a dll and made the registry entries to get WinLogon to see it and notify my entry points. It works perfectly, communicating ever so nicely with my service. My problem is with updating the dll. I can't overwrite it with a new version because WinLogon has loaded it and has not released it. Right now, if I want a new version, I have to remove the WinLogon registry entries, reboot, copy the new dll file into the system directory, restore the registry entries, and reboot again. All that just to update a dll!!! Needless to say, I find this tire ...Show All

  • Balsoft error integrating mssoap30.dll with msxml4 or msxml6

    Hi.   I was trying to port a Microsoft Visual Studio 6.0 Project(VC++) to Visual Studio 2005. The project has a header which includes mssoap30.dll and msxml4.dll in a header file as follows: #import "msxml4.dll" using namespace MSXML2; #import "mssoap30.dll" \ exclude( "IStream" , "IErrorInfo" , "ISequentialStream" , "_LARGE_INTEGER" , \ "_ULARGE_INTEGER" , "tagSTATSTG" , "_FILETIME" ) using namespace MSSOAPLib30; I got errors stating that the namespace is ambiguous and it cannot be resolved. Sample Errors: d:\tempfilesswdl\z-drive\proj\debug\intermediate\msxml4.tlh(333) : error C2011: 'MSXML2::IXMLDOMImplementation' : 'struct' type redefinition       &n ...Show All

  • Always Learning How to PostMessage between 2 separate applications?

    I'm trying to implement messaging between 2 different applications using PostMessage (HWND_BROADCAST, msg, 0, 0) in one, and setting a On_Message handler in the other. The idea to test this is that when PostMessage is sent from App1, App2 will receive the message with On_Message and call the appropriate handler function. Unfortunately, its seems that this setting doesnt work. I set the message ID to the same one for both applications (something like 9990) . I did a search thru MSDN and had a clue on RegisterWindowMessage but have no idea on how to implement this, especially when the messageID must be a constant for ON_MESSAGE to work. Is there any way around this problem Actually, I agree most with using ...Show All

  • UmairKhan (MSVCRT) _iob disappeared?

    What can I do to replace the functionality of _iob Seems to be missing in MSVCR7/8 (using VS2005). It is not necessary for the developer to access _iob directly for this problem to occur. We're running into the same problem when linking with libs which were compiled under VC 6. It could be that any lib calling printf() family functions wind up compiling a reference to _iob into the executable/library. I've seen the __iob problem as well... I'm trying to make a mixed managed/native C++ wrapper for a static third party library. Upon linking, I get errors saying various symobls are already defined. E.g. libcmt.lib(mlock.obj) : error LNK2005: __unlock already ...Show All

  • HBOne Convert Exe to dll

    Hello friends, I have an application for VC++ 6.0. This application creates an exe. I want to convert this application, so that the output is win32 dll. Whether i have change some project settings or i have to modify the code. Please help me in doing so. Thanks Look at the /LD compiler option. You will need to change your code as well. Take a look at creating Dll on MSDN. For further related issues on VC6.0, please use the newsgroups at http://msdn.microsoft.com/newsgroups Thanks, Ayman Shoukry VC++ Team ...Show All

  • aidimorini WEBService calling problem in VC++ application

    I have developed an application in VC++ 2005. This application calling a webservice developed in C#. This application can not execute in Windows 2000 machines. How to solve this issue I have checked this Application using depends watcher in windows 2000 machine. I have noticed one problem is there is version conflict in WS2_32.dll. Some functions not in this WS2_32 dll. How to correct this execution problem in windows 2000 machines pls help me..... Jefy What technology did you use to develop your C# client (which namespaces ) and could you please post a stack trace of when your client fails Or does the application not even load i have used visual studio 2005 VC++ for ...Show All

545556575859606162636465666768697071

©2008 Software Development Network

powered by phorum