First  |  Prev |  Next  |  Last
Pages: 22 23 24 25 26 27 28 29 30 31 32 33 34 35
EnumBands returns wrong value. Bug?
Hello, I want to enumerate my Band Objects with the use of IBandSite because i need a special band id for my application: _COM_SMARTPTR_TYPEDEF(IBandSite, __uuidof(IBandSite)); CoInitialize(NULL); // ... IBandSitePtr bs; bs.CreateInstance(CLSID_TrayBandSiteService); if (bs) { LONG count = bs->Enum... 6 Nov 2006 06:34
ShellExecute thows First-chance exception
Hello, i have a small app with some ShellExecutes. for example this one: ShellExecute(hWnd, "open", "http://www.domain.com", NULL, NULL, SW_SHOWNORMAL); Everytime i debug my app and this command is executed, the debuger will output the following: First-chance exception at 0x7c812a5b in explorer.exe: Mi... 24 Sep 2006 10:14
CoCreateInstance() crashes
I'm using some C++ sample code (ASIO SDK from Steinberg) to host IUnknown-based drivers for my soundcards. The sample code runs fine in VS 2005 for one soundcard. For another soundcard, the sample code crashes on CoCreateInstance(). If I break on that line and press F10, I get "The program '[1812] hostsample.exe... 13 Sep 2006 07:50
Compiler can't find rand_s function
Hi, I want to use the rand_s function in my application. I have included the following at the top of my module that uses the function: #define _CRT_RAND_S #include <cstdlib> I invoke the function as follows: unsigned number; errno_t err = rand_s(&number); The compiler generates the error "C3861: 'rand_... 12 Jul 2006 19:28
error LNK2001: unresolved external symbol __forceAtlDllManifest
Hello, I have several C++ (MFC, ATL, COM) projects in VS 2005. They have been compiling until last week without problems. But now some of them fail linking only in one computer with a lot of errors like this: File1.obj : error LNK2001: unresolved external symbol __forceAtlDllManifest File2.obj : error LNK2... 11 Jul 2006 01:50
R6034 ... attempt to load the C runtime library incorrectly
I am trying to run a command-line utility, "UTIL", on my laptop PC running WinXP-SP2. UTIL was written in Perl, so I installed ActivePerl 5.8.8.817 from ActiveState.com. UTIL also requires a couple of CPAN modules which I installed by using "nmake", which is "make" for Win32. This is a story of: try to run ... 5 Jul 2006 05:53
error PRJ0019: A tool returned an error code from "Registering ActiveX Control"
Hi Friends, I am facing the a problem while trying to build a project which tries to register an ActiveX control. The build fails showing the message error PRJ0019: A tool returned an error code from "Registering ActiveX Control". I went thru some of the mails posted on the similar topics but i couldn't get t... 4 Jul 2006 06:37
problems between versions
I recently rewrote some code to compile and link on VS2005 from VS6, call it version 1 of the program. It now compiles and links under both VS6 and VS2005. I then branched this code to version 2 and now get errors in version 2 under VS6: D:\Program Files\Microsoft Visual Studio\VC98\Include\new(34) : error C2732... 4 Jul 2006 06:37
GetUserNameEx() refuses to work for me.
Hi everyone! I am trying to obtain the current user's SID, by using a combination of GetUserNameEx() and LookupAccountName(), however, I keep receiving the error: error LNK2019: unresolved external symbol _GetUserNameExW(a)12 referenced in function "wchar_t const * __cdecl GetCurrentUsername(void)" (?GetCurrent... 28 Jun 2006 08:56
fopen_s
How is fopen_s safer than fopen? Thanks. ... 28 Jun 2006 21:28
First  |  Prev |  Next  |  Last
Pages: 22 23 24 25 26 27 28 29 30 31 32 33 34 35