|
Hmm, I started a MFC MDI project but I don't know how to customise it more than MFC MDI wizard allows...
---
Earth is like an apple, where are worms in it - the worms are humans...
|
|
|
|
|
Hello all
I need information how verify (hash data and signature) this function.
I get data from hash by using CryptGetHashParam(...)and send to
SmartCard (infineon). This card prepare digital signature.
Next step call CryptVerifySign(...) for this signature and hash but receive error - bad signature.
What's wrong ?
Thanks
Adam Lyzwinski
Alyan
|
|
|
|
|
hi,
my application uses crystal report ocx and take setup for with application using .net setup wizard. while intalling the application on pc i got the following error
Module C:\wINNT\System32\crystl32.occx failed to register. HRESULT -2147024770 Contact your support personnel.
any one help to me.
thanks in advance.
|
|
|
|
|
That means a dependent module (DLL or OCX) wasn't installed. Run 'depends' on the OCX and see what might be missing.
Steve S
|
|
|
|
|
hi steve,
thanks for u help. problem is solved. i have one more problem if u have any idea share with with me. when i open the report from my problem on installed system(not development system) report is opened and immedeatly closed unable to view the report. my email is murali_utr@hotmail.com or murali@s-ecom.com. thanks in advance.
Murali.M
|
|
|
|
|
Hi
In deplhi TWerbBrowser is
document.documentElement
whot is equivqlent in BCB ?
THANKX veri much
|
|
|
|
|
How can I extract tags from CppWebBrowser->Document in BCB
marian_p@pobox.sk
THANKX
|
|
|
|
|
Hi!
I am going to start implementing a capture program in c++ that logg all traffic in some specific points in the network.
I need some tips and hints, because I do not know where to start. I am doing preparation.
Thankful for your thoughts,
Stefan
|
|
|
|
|
Hi
Are you look at specifiic point or ports?
Best Wishes and Happy Holiday's,
ez_way
|
|
|
|
|
Hi can anyone solve the following problems:
1.I have created a dll in vb and want to integrate that in vc++, so how can i go about 'referencing' that we do in vb in the vc++ project .(to add the class created).
2.From the main window iam loading a new dialog.in the child dialog iam selecting an image and subsequently drawing that in the main window by getting the pointer to the main window.the problem is the picture gets erased on subsequent window handling like resizing , being overlapped etc.So how can i pass the image id (its being loaded from the resource) and paint them in the WM_PAINT message handler.
Please help me in this regard.
Thanking you.
Satadru
|
|
|
|
|
Hi
Have you built a .h (header file) with all the function,defs,and call in it?
Best Wishes and Happy Holiday's,
ez_way
|
|
|
|
|
are u drawing the image in the OnDraw() or OnPaint() handler?
"there is no spoon" biz stuff about me
|
|
|
|
|
hi , yah iam drawing in OnPaint()
|
|
|
|
|
Hi all,
I have developed a pure MFC Application in VC++ having DLLs. Now I want to port that application on Unix/Linux. Is there any tool available which would make porting easier on linux.
Regards,
T Shah
|
|
|
|
|
goto http://www.mainsoft.com
Best Wishes and Happy Holiday's,
ez_way
|
|
|
|
|
Thanks a lot.
I also found out something called as wxWindows.(www.wxWindows.org)
|
|
|
|
|
iID = atoi(sID)
When I call delete(iID) to
BOOL CPop3Connection::Delete(int nMsg)
{
//Must be connected to perform a delete
ASSERT(m_bConnected);
//if we haven't executed the LIST command then do it now
if (!m_bListRetrieved)
List();
//Send the DELE command along with the message ID
char sBuf[20];
sprintf(sBuf, "DELE %d\r\n", nMsg);
int nCmdLength = strlen(sBuf);
if (!m_Pop.Send(sBuf, nCmdLength))
{
TRACE(_T("Failed to send the DELE command to the POP3 server\n"));
return FALSE;
}
I get the error 10043 Protocol Not Supported.
Seems that I must send a flush to the server to delete the message.
Anyone know how?
Best Wishes and Happy Holiday's,
ez_way
|
|
|
|
|
Hello
Is there a proven way to read all correctly formed email headers?
I understand that the first thing one must do is see the MIME-Version.
Then next extract the Return-Path:
Next the for path:
Next date time Sent/Received.
I do not want to display the email itself, only the header info in listbox link form.
If someone clicks on the displayed info in the listbox open the default email client.
Example Header:
Return-Path: <ez_way@cooper.net>
Received: from [201.225.22.225] (HELO mxsf25.cluster1.cooper.net)
by remt28.cluster1.cooper.net (CommuniGate Pro SMTP 4.0.6)
with SMTP id 35026469 for uploads@cooper.net; Fri, 28 Nov 2003 23:51:40 -0500
Received: from ZA2003 (ts46-01-qdr1528.crsntcty.ca.copper.com [66.118.121.88])
by mxsf25.cluster1.cooper.net (8.12.10/8.12.8) with SMTP id hAT4pRcA060840
for <uploads@cooper.net>; Fri, 28 Nov 2003 23:51:28 -0500 (EST)
(envelope-from ez_way@cooper.net)
Message-ID: <001e01c3b634$722dve60$087e7444@ZV2003>
Reply-To: "EZWAY" <ez_way@cooper.net>
From: "EZWAY" <ez_way@cooper.net>
To: <uploads@cooper.net>
Subject: Fw: test
Date: Fri, 28 Nov 2003 20:51:24 -0800
MIME-Version: 1.0
Content-Type: multipart/signed;
micalg=SHZ1;
Best Wishes and Happy Holiday's,
ez_way
|
|
|
|
|
hi
aswin here,
i need to know how to open a remote computer service ontrol manager.
the remote computer name is james24 and the ip address is
140.140.140.24. i should be able to use ip address or the computer
name.
i give like this
SC_HANDLE hSCM =
OpenSCManager("\\James24",SERVICES_ACTIVE_DATABASE,SC_MANAGER_ALL_ACCES
S);
i get the hscm as null;
your code will be helpful to me.
regards
Aswin
|
|
|
|
|
Hi everybody,
Does anybody know, what the equivalent to VB CreateObject function is in VC++?
I want to create an object on a remote server with VC++ statements.
Regards,
Roozbeh
|
|
|
|
|
|
I've imported an ActiveX component in VC++ program as
#import "INPClnt.ocx"
compiler has generated INPClnt.tlh file as below
----------------------------------------------------------
// Created by Microsoft (R) C/C++ Compiler Version 12.00.8168.0 (73b0260c).
//
// c:\samples\sampleb\debug\INPClnt.tlh
//
// C++ source equivalent of Win32 type library INPClnt.ocx
// compiler-generated file created 11/28/03 at 18:17:12 - DO NOT EDIT!
#pragma once
#pragma pack(push, 8)
#include <comdef.h>
namespace INPCLNTLib {
//
// Forward references and typedefs
//
struct __declspec(uuid("b2878606-c652-11d4-8481-00c04f369af0"))
/* dispinterface */ _DINPClnt;
struct __declspec(uuid("b2878607-c652-11d4-8481-00c04f369af0"))
/* dispinterface */ _DINPClntEvents;
struct /* coclass */ INPClnt;
//
// Smart pointer typedef declarations
//
_COM_SMARTPTR_TYPEDEF(_DINPClnt, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(_DINPClntEvents, __uuidof(IDispatch));
//
// Type library items
//
struct __declspec(uuid("b2878606-c652-11d4-8481-00c04f369af0"))
_DINPClnt : IDispatch
{
//
// Wrapper methods for error-handling
//
// Methods:
VARIANT_BOOL Startup ( );
VARIANT_BOOL Shutdown ( );
VARIANT_BOOL ProcessBatch (
_bstr_t BatchFilename );
VARIANT_BOOL ProcessImage (
_bstr_t ImageFilename );
_bstr_t GetProperty (
_bstr_t Keyword );
VARIANT_BOOL SetProperty (
_bstr_t Keyword,
_bstr_t Value );
};
struct __declspec(uuid("b2878607-c652-11d4-8481-00c04f369af0"))
_DINPClntEvents : IDispatch
{};
struct __declspec(uuid("b2878608-c652-11d4-8481-00c04f369af0"))
INPClnt;
// [ default ] dispinterface _DINPClnt
// [ default, source ] dispinterface _DINPClntEvents
//
// Wrapper method implementations
//
#include "c:\samples\sampleb\debug\INPClnt.tli"
} // namespace INPCLNTLib
#pragma pack(pop)
----------------------------------------------------------------
and also generated INPClnt.tli
----------------------------------------------------------------
// Created by Microsoft (R) C/C++ Compiler Version 12.00.8168.0 (73b0260c).
//
// c:\samples\sampleb\debug\INPClnt.tli
//
// Wrapper implementations for Win32 type library INPClnt.ocx
// compiler-generated file created 11/28/03 at 18:17:12 - DO NOT EDIT!
#pragma once
//
// dispinterface _DINPClnt wrapper method implementations
//
inline VARIANT_BOOL _DINPClnt::Startup ( ) {
VARIANT_BOOL _result;
_com_dispatch_method(this, 0x7d1, DISPATCH_METHOD, VT_BOOL, (void*)&_result, NULL);
return _result;
}
inline VARIANT_BOOL _DINPClnt::Shutdown ( ) {
VARIANT_BOOL _result;
_com_dispatch_method(this, 0x7d2, DISPATCH_METHOD, VT_BOOL, (void*)&_result, NULL);
return _result;
}
inline VARIANT_BOOL _DINPClnt::ProcessBatch ( _bstr_t BatchFilename ) {
VARIANT_BOOL _result;
_com_dispatch_method(this, 0x7d3, DISPATCH_METHOD, VT_BOOL, (void*)&_result,
L"\x0008", (BSTR)BatchFilename);
return _result;
}
inline VARIANT_BOOL _DINPClnt::ProcessImage ( _bstr_t ImageFilename ) {
VARIANT_BOOL _result;
_com_dispatch_method(this, 0x7d4, DISPATCH_METHOD, VT_BOOL, (void*)&_result,
L"\x0008", (BSTR)ImageFilename);
return _result;
}
inline _bstr_t _DINPClnt::GetProperty ( _bstr_t Keyword ) {
BSTR _result;
_com_dispatch_method(this, 0x7d5, DISPATCH_METHOD, VT_BSTR, (void*)&_result,
L"\x0008", (BSTR)Keyword);
return _bstr_t(_result, false);
}
inline VARIANT_BOOL _DINPClnt::SetProperty ( _bstr_t Keyword, _bstr_t Value ) {
VARIANT_BOOL _result;
_com_dispatch_method(this, 0x7d6, DISPATCH_METHOD, VT_BOOL, (void*)&_result,
L"\x0008\x0008", (BSTR)Keyword, (BSTR)Value);
return _result;
}
---------------------------------------------------------------
now Question is in my main() program how do I call methods.
Could anyone please help me out?
|
|
|
|
|
My c++ program (compiled in release mode) run correctly in some machine. For some machine it crash and runtime error appear. I don't know what's cause the runtime error and how to solve it.
|
|
|
|
|
A message box appear with the following message ...
//////////////////////////////////////////////////////
Microsoft Visual C++ Runtime Library
Runtime Error!
Program: C:\..\?????.exe <- my program path
This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.
//////////////////////////////////////////////////////
|
|
|
|
|
Reinstall the software and then try to run. Even after u has the same prblem then just check the any of the controls r added to ur app.
And do the process in the sys where ur trying to run.
I hope this two main problem may cause this type of errors.
Shanmuga Sundar.V
|
|
|
|