Hi,
I have a component in VC++ 6.0 that sometimes hang and in the COM+ Environment appears with a huge call time, while I solve the problem, I need to find a way to do an automatic shutdown...
How do you write an anagram program where the user enters two words, and the response tells if the second word is an anagram of the first word?
Hello all,
I'm having a problem with a memory leak in a COM object that I can not identify. From a VB app I create a new instance of the Request object and set a value to the SubjectCompa...
Hi all,
I have char MyArray[10][32]; now my program assigns a couple of strings in the array. But how can I check how many strings are in the array? I dont know the number of strings my pro...
I have a client-server program. The server run on a linux embedded and the client on windows 2000.
When I connect to the server, I create a thread to get the data from the server.
The th...
First off, I'm not interested in using MFC or any other framework of sorts.
Since there are no ways (that I know of) to make a dialog or window store data that is specific for each instance...
Hi,
Is there any data type called "variant" in C++ which is available in Visual Basic? If no, how can i get the same action of "variant" in C++?
Hello, I've been working on a program and I've been having two errors with it:
program3 error LNK2019: unresolved external symbol _wWinMain@16 referenced in function _wWinMainCRTStartup
pr...
I have a struct in my program that uses character arrays as strings for writing / reading a binary file.
E.g.
struct MyStruct
{
unsigned myNumber;
char id[2];
char data1[20];
...
I've been experimenting on TAPI programming. I'm trying to write an application that can answer incoming calls. When I run the code below, the application just waits. So when I call my telepho...
I've been trying to develop a console app that uses a joystick to control a car. I'm using the DirectX 7 SDK. So far, the app is able to create the DirectInput object, enumerate the joystick, ...
i want to write programs in java and VC that can encrypt/decrypt String. e.g both will encrypt "clear Text" same. actually i will encrypt using java and decrypt it in VC and viceversa. i want ...
sir
can any body implement 8 queens problem and show me?
many people asking me this question in interviewes?
Here's my code:
#include <conio.h>
void main (void)
{
int far *farptr;//Here's the far pointer
char c;
farptr = (int far *) 0xB8000000L;
*farptr = 0x0700 | 'T'; //...
Hullo everyone. I just read about reverse engineering on some websites today. does the term mean that i can get C++ code from an executable? I am really curious how this works, because until t...
I'm looking for some code that can help me put multiple movie clip (*.mpg) files together.
Is there an explanation why AfxDumpStack doesnt work properly in release build when MSDN says that it should work for both builds? The exception is in the same place for both runs. I've fidd...
Hi Experts
My main programming language at the moment is VB, but I have recently been on a C++ course and this has given me the basics of OO design and C++ syntax. I now want to start crea...
Hi, I wrote a client/server application. When you choose a remote software and want to terminate it using TerminateProcess() I can terminate it without any problem. However if that applciation...
Hello...
Does anyone know of any Utilities/add-ons for Visual C++ that allow braces/parentheses/square brackets to be matched (either automatically via highlighting or with a key press etc)...
How can i use the Variant data type in C++
i am selecting a range of values from the excel sheet
storing them in a variant data type
want to send this as a parameter to a C++ function
do ...
Is there any harm in using old-school C code inside of a C++ application?
If so, please explain the harm in using fread() in C++ as opposed to the fstream and printf() as opposed to cout.
...
I found this code in newsgroup. The author made comment in russian. Don't understand anything. But this code fails on:
pdisp->QueryInterface (IID_IHTMLElement, (LPVOID *) &pItem);
And i'm...
I have an object as follows:
class DatabaseReader
{
public:
DatabaseReader();
virtual ~DatabaseReader();
...
...
private:
bool m_bFinished;
ADODB::_ConnectionPtr m_pCo...
I want to connect to MS Access / and SQL server using turbo C++. Can I use SQL statnments in C++ as we do in VB . Please let me know as How should I do so . How should I convert that connec...