I have installed CR 4.6 on my machine, and in the MS VC++ 6.0 IDE there appeared a component (ActiveX) Crystal Reporter. Importing that component into my VC++ (MFC) project a class was generated CCReporter; this class has a method: SetStoredProcParam(short index, LPCTSTR value);
I call this...
I have a test in front of me. It is about parsing an unsigned char* string, BIT by BIT and I must tell at each call of a certain method, wich is the next "changing element" in that bit string; a "changing element" is in fact a bit with its value different from the value of...
I have a class with a data member of 128 KB (a character string)
class cmyclass
{
protected:
char buff[131072];
public:
//constructor
cmyclass(const char* pChar)
{
memset(buff,0,131072*sizeof(char));
strcpy(buff,pChar);
}
//destructor
}
the program crashes at runtime (I do not use malloc or...
Does anyone know how could I manipulate dates and times and time spans in an ATL COM AppWizard generated project (SERVICE (.exe)) ??
I tried COleDateTime but it is NOT recognized!!!
Please, help me!
Does anyone know how could I manipulate times and time spans in an ATL COM AppWizard generated SERVICE (.EXE) project??
I use COleDateTime but it seems it is NOT recognized!!!
Does anybody know wich kind of control has the Yahoo Messenger? I mean that one with those cool IMVironments, all that alpha drawing.... layered output, etc.
Is it a rich edit?
Does they use DirectX for drawing those sprites?
I have a MFC app, with a CFormView derived view class; I have to print a Recordset (ADO); the problem is that what I see on the screen isn't exactly what I get at the printer, I mean I loose 3 lines when displaying the records on the screen but they print entirely (all of them) at the printer...
Can you tell why doesn't this code work???
It compiles with 0 errors and 0 warnings but when it runs it crashes !!! (I have Win98 on my machine)
(I want my app not to be shown in the Ctrl+Alt+Del dialog)
.............
typedef DWORD (*P_REGISTER_SERVICE_PROCESS) (DWORD ,DWORD );
...
Does anybody know how could I find ALL the API functions that DOESN'T work in Windows 2000 (or in Win NT) ?
('cause I have a little program that works fine in Win98 but doesn't work well under Win2000 - it's a puzzle game that displays a lot of CStatics derived controls, each control containing...
Hi, there!
I have a database with a table that contains some .jpg files paths; the problem is that I want those paths to be RELATIVE to my site's directory (c:/inetpub/wwwroot/mysite/). The site is on a server; when the client clicked a "Delete picture" link I want an ASP that knows...
Is there anyone that could tell me why a code like this:
---------------------------------------------
CFileDialog dlg(TRUE);
FILE* fp;
char buff[512000];
if(IDOK==dlg.DoModal())
{
fp=fopen((LPCTSTR)dlg.GetPathName(),"rb");
int ch;
int i=0;
while((!feof(fp)) && (i<511999))
{...
I would like to know wich is the mechanism wich uploads a picture from a client up to the server?
Is there a piece of code or some?
Thank you, anyway!
Robertus
Hi there!
Please, someone help me with this:
I created a SDI app and added a handler for WM_MOUSEMOVE in CMainFrame.
The code looks like this:
void CMainFrame::OnMouseMove(UINT nFlags, CPoint point)
{
MessageBox("Called !!!");
CString s;
s.Format("X: %d, Y...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.