|  Next  |  Last
Pages: 1 2 3 4 5 6 7 8 9 10 11
including jar file in VC++ application
I want to include a java jar file in my VC++ application and use the methods in the classes in that jar file. Is it possible to do so? and if yes can anyone help me with it?? ... 13 May 2008 10:20
"delete" asserts in debug build, multiple inheritance (msvc 7.1)
Note: cross-posted [comp.lang.c++] and [microsoft.public.vc.language]. Feel free to set follow-ups as appropriate (I don't know at this point). <code> struct Foo { virtual ~Foo() {} // Seemingly works without this destructor. }; template< typename T > struct Wrapper: T, Foo { Wrapper(): ... 13 May 2008 08:18
Calling inherited protected method fails to compile
Anyone have any idea why the code below fails to compile? I get the following message when I try: error C2660: 'B::F' : function does not take 2 arguments.' Clearly, B should inherit int F(int, int) from A, the function declaration is not ambiguous in any way, so it seems to me that I should be able to c... 13 May 2008 08:18
How can I simulate the operation of mouse Click?
I develop a application in vc2008. I want to realize to simulate the operation of mouse click on the MFCRibbonButton in the other application. how can I realize it? Thank you! ... 13 May 2008 04:04
new WCHAR(LPDWORD) gives warning for 64-bit
HI, I am porting 32 bit application on 64-bit windows. I am using Visual studio 2005 for building the application. The existing code consists of a function call: LPDWORD b; LPWSTR a = new WCHAR[(unsigned int) b]; While building this code for 64-bit i get warning warning C4311: 'type cast' : pointer trunc... 12 May 2008 23:58
Waiting on a pipe
Is there any way to wait on data from a pipe? I see WaitNamedPipe waits for a pipe's availability - that's not what I want. I'd like to wait until data is available in a named pipe. Then, if data does not arrive within a given timeout (say 5 seconds), return a flag saying it timed out, and continue. I can th... 12 May 2008 15:21
Function not recognizing
hi I have two header files like "Headerfile1.h" "Headerfile2.h" , In "Headerfile2.h" i have declared "Headerfile1.h" So in my application i have declared "Headerfile2.h" and i am using some functions of "Headerfile1.h" in my application, and i could able to compile successfully but at runtime linker unable ... 12 May 2008 13:00
istringstream and setw
Is my usage of std::setw incorrect? The following code results in a single character ('t') placed into the string text. If I replace 'is >> std::setw (1) >> colon' with is.get (), the code works as expected. I'm testing this with VC++ 2005. #include <iostream> #include <sstream> #include <iomanip> int ... 12 May 2008 11:26
Can you specialize the Template operator==
I'm trying to specialize the operator== for my template, here is my code #define DOUBLE_EPSILON (1e-6) #define FLOAT_EPSILON (1e-4f) bool const operator==(const XYZPoint<T> &xyzTest) const { return ( (x == xyzTest.x) && (y == xyzTest.y) && (z == xyzTest.z) ); }; template<typename T> bool con... 12 May 2008 10:39
On-Screen keyboard: how is it done?
Hi Experts: I saw an PC without keyboard attached, it uses an on-screen keyboard software program. When user clicks on a "key" (a button) on the program, the program can find the currently active (focused) window application (for example, notepad.exe) and input "typed" key into that active program; but the k... 11 May 2008 12:13
side-by-side info problem
hi, i have just installed vista ultimate on my laptop. i tried to run the application on it, which i wrote on my XP desktop in native vc++. i got: 'side-by-side configuration error'. 1. what is the 'side-by-side configuration'? 2. how to fix this? ... 10 May 2008 18:01
(VC++ 6.0) Strange single step behavior
Hi, While I debug an application in VS 6.0, I noticed a strange behavior : Value of a local variable (an int) increases by one for every single step. Even when the line in which the variable initialized to zero is stepped out, the variable is still getting increased : void func () { int i, j; ... 9 May 2008 23:02
Visual Studio 2005 x64 mode.
Hi, I am trying to port my VC++ application to a x64 compatible platform. Since most of my code makes use of int's ...( I noticed that an int is 32bits long on x64 mode as well)....I want to be able to use 64bit ints in my new code.... I was wondering if there is some option or setting in VC++ tht allows me to t... 9 May 2008 21:28
template operator== not working
This is my XYZ_POINT.h file template<typename T> class XYZ_POINT { private: T x; T y; T z; public: XYZ_POINT(void) {}; XYZ_POINT(const T allVals) : x(allVals), y(allVals), z(allVals) {}; bool const operator==(const XYZ_POINT<T> &xyzTest); } In my cpp file I have this. template<... 9 May 2008 16:46
does vstudio 2005 run perfectly on vista?
does vstudio 2005 run perfectly under vista? and if you don't need .net (if you program in native)? regards, marco ... 9 May 2008 15:59
Improving MFC Window UI design
Hi, I am planning to make improvements to the UI design of my MFC application and I was wondering where to start? Can anyone point me to some resources etc? I tried googling but U couldnt find anyhing good... Thanks guys! Steven ... 9 May 2008 15:12
Serial Communication Problem
Hello All, This is more of a win32 question so I am sorry if I am off-topic but I wasn't sure where to post this. Here is my scenario: I have a USB to Serial converter that is using the "Prolific" driver in order to emulate a serial port (it exposes it as COMx) so I should be able to treat it as a regular p... 9 May 2008 13:37
 |  Next  |  Last
Pages: 1 2 3 4 5 6 7 8 9 10 11