First  |  Prev |  Next  |  Last
Pages: 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425
IErrorInfo question
Hi, I am using the _com_utils::ConvertBSTRToString function to convert a CComBSTR to char *. The documentation for this function says that it throws a _com_error exception in case of error. I am using this function in my ATL exe server. If I wish to propagate the error from ConvertBSTRToString to my client, h... 22 Aug 2006 07:40
Using PeekNamedPipe?
Hello, VS 2003.NET WinXP SP2 I've got a C console application that sends and receives data through my PC's COM port 1. When I use just ReadFile and WriteFile everything works fine. However, I need to be able to check if there is really any data available before I read it, so it seemed that PeekNamedPipe ... 14 Aug 2006 13:29
Calling VB6 Dlls
Is there a good article that tells you how to include a VB6 dll in a VC++6 dll? I need to call VB6 functions from VC. Thank you. -- Rick ... 10 Aug 2006 08:52
Inconsistent behaviour for certain conditional expressions
Look at the following two expressions: 1. if(int i=1) ... 2. if(int i(1)) ... msvc6 has no issues with them but vc2005 chokes on #2. I always thought the two forms of variable initialization are identical. Am I missing something? thanks. ... 9 Aug 2006 17:29
Help required to resolve LNK4086 error!
hi all, I am trying to export some functions to a VB Application through a dll. My dll is compiling properly.When i am building my dll , linker says: Linking... Creating library Debug/Projdll.lib and object Debug/Projdll.exp Debug/Projdll.exe : warning LNK4086: entrypoint "_mainCRTStartup" is not __st... 7 Aug 2006 00:18
dllexport vs. template + inheritance
Hi I have some problems with dll-exporting classes that are derived from template instances. It seems that if a class derived from a template class instance is exported, then the compiler wants to explicitly instantiate the whole template (including all member functions), while if the derived class is not export... 7 Aug 2006 05:32
DLL's Dpendencies and vcredist_x86
Hello, I'm going to write a setup which installs and registeres MyLib.dll (c/c++) on a client pc (regsvr32). On some client systems the setup failed: "could not register MyLib.dll". I advised them to install the Microsoft Visual C++ 2005 Redistributable Package (vcredist_x86). After that the registration work... 4 Aug 2006 13:37
Detect Display Timeouts
Is there a Windows API call that I use to register for Display timeouts? I would my app to get notified when the display blanks and when it comes back on. I would like to know this for XP and Vista. Thanks, Priya ... 8 Aug 2006 22:48
Template specialization, default args, typedef and an internal compiler error
Cyrille wrote: Hello, I have a piece of code who don't compile in Visual C++ 2005 and I suspect a bug of the compiler since it seems to be valid code (and is compiled without complain by at least two other compilers): class A {}; class B {}; // template function template<class T> ... 3 Aug 2006 14:40
UnManaged VC++ to call C# DLL
Hi, I want to create a "dynamic" unmanaged VC++ wrapper that can call any C# DLL. I'm thinking that I call the the wrapper from another program like this: dllcall(name_of_wrapper_function , name_of_C#function_parms_to_be_handled) First off I want to know if my idea is possible, but a simple example would be n... 2 Aug 2006 08:13
First  |  Prev |  Next  |  Last
Pages: 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425