AfxOleGetMessageFilter()->EnableNotRespondingDialog(FALSE);
AfxOleGetMessageFilter()->EnableBusyDialog(FALSE);
Many thanks in advance.
2. C# calls MFC, get assert -- auxdata.cpp lines 41, 42; appinit.cpp line 84
4. Use CPP DLL in ASP.NET Page
Hi, I want to use a cpp dll in one of my page, I need to call 1-2 functions, pass value and get return. actually it is a key generator dll for my shareware. ASProtect to be very precise, they have not provided asp.net samples for it. for this I first made a wrapper in VB6 activex dll, then in asp.net page added a COM reference. but this is not working I get a file not found error. so what is the correct way to use a cpp dll in asp.net pages. ? please help, thanks in advance.
5. Unspecified error File: vsee\lib\path\cvapipath.cpp - Asp.Net
using Managed CPP, I have a class, WriterNetworkSink, with a method,
GetHostURL like so
String* WriterNetWorkSink::GetHostURL()
{
DWORD size;
m_networkSinkWriter->GetHostURL( NULL, &size );
WCHAR* url = new WCHAR[size];
m_networkSinkWriter->GetHostURL( url, &size );
return url;
}
"m_networkSinkWriter" is an underlying COM object that my WriterNetworkSink
object encapsulates.
All works fine. I can call the function from a C# app, and get the expected
result.
I'm just wondering if there is any cleanup I should be doing on the "url"
variable.
Thanks, Ron