|
I'm interested in making an app with Video Conferencing too.
Could you tell me where I can find NetMeeting SDK or other reference.
43 68 65 65 72 73 2c
4d 69 63 68 61 65 6c
|
|
|
|
|
Hi,
We're getting this error when calling Assembly.GetTypes on one of our libraries. There appears to be no obvious difference between it and another similar library for which the call works.
Google/Deja shows a number of people having this problem but no real answers, many seem to be related to problems with the beta and release versions of .NET which won't be our problem.
Has anyone got a solution to this?
Thanks,
Jason.
modified 10-Jul-19 21:02pm.
|
|
|
|
|
IIRC this is caused because the assembly references another assembly; but that assembly hasn't been loaded yet.
Have you tried searching the DOTNET, ADVANCED-DOTNET, and DOTNET-* list archives?[^]
James
"And we are all men; apart from the females." - Colin Davies
|
|
|
|
|
Iam recompiling a VC6 project in .NEt which contains std::vector
typedef CArray<double,const double&=""> CDoubleArray;
typedef Point<double> DoublePoint;
class CPointVector : public vector<doublepoint>
{
public:
CPointVector( CDoubleArray& rZ, CDoubleArray& rX );
CPointVector( CPointVector& rPointVector );
void ExportToDoubleArrays( CDoubleArray& rZ, CDoubleArray& rX );
};
CDoubleArray rZ;
CDoubleArray rX;
CPointVector PointVector( rZ, rX );
.
.
.
.
the following line gives the compile error below
DoublePoint* pVectorEnd = PointVector.end( );
C2440: 'initializing' : cannot convert from 'std::vector<_Ty,_Ax>::iterator' to 'DoublePoint *'
with
[
_Ty=DoublePoint,
_Ax=std::allocator<doublepoint>
]
Why does this error occurr in .NET and is there a solution
|
|
|
|
|
The C++ compiler in .NET has some, er, features, which bring it much closer to the ANSI standard than VC6. This means that you have to be much more careful how you cast. in this case iterators to pointers.
Found the following note in the VC7 docs.
*************************************************************
Visual C++ Concepts: Porting and Upgrading
Some Iterators Are No Longer the Same as PointersSee Also
Breaking Changes in the Standard C++ Library
In some Standard C++ Library classes, iterators are no longer defined as pointer types.
The following sample compiled in Visual C++ 6.0, but fails on the indicated lines in the current version:
#include <string>
#include <vector>
#include <algorithm>
bool pred(int i) {
return true;
};
void main()
{
std::string str("test");
const char *pszstr = str.begin(); // LINE 8: INCORRECT
const char *pszStr2 = str.c_str(); // OK
const char *pszStr3 = &(*str.begin()); // OK
std::vector<int> v;
int *pint = std::remove_if(v.begin(), v.end(), pred); // LINE 13: INCORRECT
std::vector<int>::iterator iint = std::remove_if(v.begin(), v.end(), pred); // OK
}
*****************************************
hope this helps
Adam.
P.S. know what you mean about .net. Just installed it and 50% of my apps now crash
"I spent a lot of my money on booze, birds and fast cars. The rest I just squandered"
George Best.
|
|
|
|
|
if i have hwndle (HWND)of parent window and hwndle of child window then how to get the point and rectangle of child window with respect to its parent window ?
r00d0034@yahoo.com
|
|
|
|
|
When I compile my application using VC++ 6.0, my app requires MFC42.DLL, while if compiled with VC++.net, is requires MFC70.DLL
Is there a way to compile using .net AND forcing it to link to MFC42.DLL and not MFC70.DLL ???
PLEASE help.
Rick Eastes.
------------
Rick Eastes.
------------
|
|
|
|
|
Yes, set the projects include and lib directories to point to the VC6 directories. It will use the projects directories first before the global ones.
Change the "Debug Information Format" to just "Program Database". MFC42 doesn't like the new edit and continue. They changed something internally.
Make sure the "Basic Runtime Checks" is set to "Default".
There might have been some more settings I changed when I tried this myself, but I deleted the project and went back to the VC6 environment since the edit & continue didn't work.
Joel Lucsy (jjlucsy@ameritech.net)
|
|
|
|
|
Hi I'm very new to .net and would like to know the following...
I've been told that .net apps can be run on unix/linux - is that true? if so how?
I've also been told that languages other than C# can be used with .net - is that true? if so which other languages and how does this work.
If I've sent this to the wrong forum then please let me know where to go
Thanks very much
Tim Huffam
|
|
|
|
|
There is mono:: (www.go-mono.org) which is a free implementation of .NET that does run on Linux. It's no where near complete. The web services are coming along, but they are just at the beginning of starting Windows.Forms implementation (I think one group is using a native Win32 work-alike layer called Wine (www.winehq.com) to implement it). Anyway, take a look at the web page and class status to get an idea of where they are and what's left to do. You can even help out!
Visual Basic.NET, Visual C++.NET, C#, and some other languages (I think they have Eiffel running now) all can use the .NET framework.
|
|
|
|
|
Thanks very much Anon
I'm still unclear as to what exactly .Net provides/does - eg if I have a thin client VB app what could I run it on VB.NET and if so what would it do different to the original app?
Thanks again
Tim
Tim Huffam
|
|
|
|
|
|
I have a fully functional ASP.NET set of pages but now want one of the pages to retrieve and parse/process another page. I construct an URL similiar to:
http://site.com/GetDetails.asp?Account=12345
and use the WebRequest class to go fetch the page, however, it doesn't work. It worked when the URL was just a straight forward .HTML page, but not as an ASP with parameters. The error returned is:
The underlying connection was closed: The remote name could not be resolved.
Maybe I'm using the wrong class. Any help gratefully received.
|
|
|
|
|
Have researched/tested/debugged this a bit more. I'm convinced I'm using the right classes, and correctly. What I believe is happening is that whilst I can access the URL through a browser, it is in fact going thru a Proxy server although I don't know the details of the Proxy server. So, in my original text I probably over simplified the example URL and something like:
http://makearequest.site.com/GetDetails.asp?Account=12345
is more like it. I can ping site.com , but i can't ping makearequest.site.com
I'm desperate to get this working... any other classes that would work round the whole proxy thing?
|
|
|
|
|
OK. It was a proxy, so adjusted the code to do the following:
WebRequest Request = WebRequest.Create (strURL);<br />
Request.Proxy = new WebProxy ("129.1.1.2:8080", true);<br />
WebResponse Response = Request.GetResponse ();
and all is well. I found the proxy settings from IE by looking at the Lan Settings and opening up the Proxy file (something I was completly unaware of).
Fault Call Closed.
|
|
|
|
|
Does anyone know why when using crystal, the oRpt.PrintToPrinter( 1, false, 0, 0) member func does pick up the default printer on a network. I even tried using a ip address in the printer name, but it looks like oRpt.PrintToPrinter( 1, false, 0, 0) member func does no pickup any network printers. It works if the printer is local or pseudo printer like acrobat distiller.
I have the .NET framework with service pack 2, Report done in crystal 8.0. Printers are setup by a novell client using NDPS.
Can anyone help with this...
PS
|
|
|
|
|
Hi everybody,
I'm not really sure if I've hit the right forum. Well my question is of pretty simple nature I guess: How can I tell the IDE to NOT OUTLINE whenever I open up a source file.
Any help greatly appreceated.
--------
In theory, there is no difference between theory and practice. In practice, however, there is.
(unknown author)
|
|
|
|
|
The VS.NET IDE Issues forum would probably be the best place.
Open up the Options dialog (Tools -> Options ), and look under:
Text Editor -> C# -> Formatting ;Text Editor -> C/C++ -> Formatting ;- or
Text Editor -> Basic -> VB Specific The "Enter outlining mode when files open" option should do the job.
|
|
|
|
|
... a lot!
--------
In theory, there is no difference between theory and practice. In practice, however, there is.
(unknown author)
|
|
|
|
|
Does anyone have an example of using a windows forms control within a browser?
I'm not a real reverend, I just play one on CP.
|
|
|
|
|
how to get point(x,y) where mouse click on desktop window
how to capture mouse events which will tell its position ,what button click etc.
is there any interrupt service of mouse where we can write our procedure ? to get mouse event info?
same for keborad ?
r00d0034@yahoo.com
|
|
|
|
|
please read that code and solve mine problem
tmpProcess = new Process();
tmpProcess.WaitForInputIdle();
tmpProcess.StartInfo.FileName="f:\\mirc59t";
try{
tmpProcess.Start();
while(! tmpProcess.Responding)System.Windows.Forms.Application.DoEvents();
}catch{}
tmpProcess.WaitForInputIdle();
IntPtr hWnd=tmpProcess.MainWindowHandle;
Srm=new send_recive_messages(hWnd);
/*/////////////////////////////////////////////////////
managed public __gc class send_recive_messages constructor
////////////////////////////////////////////////////*/
send_recive_messages::send_recive_messages(IntPtr par_hwnd)
{
hwnd=(HWND)par_hwnd.ToInt64();
TCHAR szBuffer[256],szBuffer1[256];
::GetWindowText(hwnd, szBuffer, sizeof(szBuffer) / sizeof(TCHAR));
::GetClassName(hwnd, szBuffer1, sizeof(szBuffer1) / sizeof(TCHAR));
//////////////////////////////////////////////////////////
HWND h=::FindWindowEx(hwnd,0,szBuffer1,szBuffer);
//////////////////////////////////////////////////////////
}//code finish herer
///////////////////////////////////////////
h variable recive zero that's why remaining code could not run.
it should not recive zero because the process main window
contain two button and four Static members.
can any body tell why it recive 0?
and what i have to do so that it should not recive zero?
r00d0034@yahoo.com
|
|
|
|
|
I suddenly lost the ability to set break point (and step into the source code). This happened before, I had to recreate the project to fix it. Now my project is a little more complicated and I don't want to start from scratch again.
Anyone knows how to fix this? Mine is an ASP.NET project, if that matters.
|
|
|
|
|
umm...Maybe you're working in Release Mode. You can't set breakpoints and step into code if you are working in release mode.
May the Source be with you
Sonork ID 100.9997 sijinjoseph
|
|
|
|
|
I wasn't working with release mode, by the way.
|
|
|
|