|
First
|
Prev |
Next
|
Last
Pages: 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424
std::exception's constructors I have an exception class to which I added another constructor. These are the existing and the added ones: 1) Existing: Exception::Exception(const std::string& err_msg /* other parameters */); 2) Added: Exception(const std::exception& except /* same other parameters */); The following 'throw' caused am... 1 Sep 2006 13:21
c++ winform I have a question which may sound very daft to many but still I would be very grateful if you could help me. I'm doing a windows form with managed c++, and I would like to know how I can access variables declared in a private method. E.g below, I need to access a,b and c values of button1_Click in timer1_Tick. p... 6 Sep 2006 09:54
Memory-mapped file example sought Hello all, I've seen a ton of documentation and examples on memory-mapped files, and frankly I'm overwhelmed. I'm having a hard time distilling out of all this information how to do the following most-basic task: I want to map a file into my process address space and get two unsigned char *, one to the very fi... 1 Sep 2006 00:34
STL linker error (map) When I try to instantiate a STL map namespace NS{ ... SomeReturnType *SomeClass::SomeMethod(...) { std::map<Constant*, Any*> map; ... } .... } the linker goes: error LNK2019: unresolved external symbol __imp___invalid_parameter_noinfo referenced in function "public: bool __thiscall std::_Tre... 31 Aug 2006 20:22
Multi-threaded dll link problem Hi All I'm, using VC7. I have started a console project, and added the source code of an existing class that does overlapped i/o on a COMx serial port. 1) After adding the source module, the linker needed "CreateThread" a.o. Apparently from the multi-threaded libraries. Does the need for multi threading ... 31 Aug 2006 10:42
C2124 is most disrespectful of IEEE floating point arithmetic Since VC++ purports to follow IEC 559, and IEC 559 defines the division of a non-zero by a zero to be a signed infinity, isn't it rather silly that: float inf(1.0f / 0.0f); should result in a compile-time error, C2124? An error may be appropriate for integer arithmetic (as it'll generate a runtime SEH except... 13 Sep 2006 13:13
Modifying Resources Non-MFC Application I've got a win32 application (non mfc) in which I need to add a toolbar. Since I'm really a bad c++ programmer, can someone here direct me how to do it easily, for intstance with some custom class/add-in/sample? Thanks George ... 24 Aug 2006 03:57
MSVCRTD.lib and LIBCD.lib conflict on link I'm getting this set of errors when I link my application: Linking... MSVCRTD.lib(MSVCR71D.dll) : error LNK2005: _wcslen already defined in LIBCD.lib(wcslen.obj) MSVCRTD.lib(ti_inst.obj) : error LNK2005: "private: __thiscall type_info::type_info(class type_info const &)" (??0type_info@@AAE(a)ABV0@@Z) already defi... 24 Aug 2006 06:34
Using enums from other libraries as defaultvalues Hello newsgroup, I want to use the enum values of a third-party type library as defaultvalues for my own interface. Unfortunately, this seems not to work. The code for the test looks like this: [ uuid(6A7B3B27-AE89-4255-8BEF-8B937FDD788B), version(1.0) ] library TestBaseLibrary { importlib("stdole3... 21 Aug 2006 06:30 |