|
Rutger Stoots wrote:
is it possible to interface a C++ class library in C#.
Yes, there are a number of options
1. Managed C++, just write a wrapper and call that from .NET
2. COM - wrap your library in COM and then use COM interop
3. If your library is a dll, use PInvoke and just call it directly.
I believe there's an article around on using C++ libs in C#, I'd be surprised if the solution was not one of the above.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
On the Pocket Pc emulator of VS2003 i'm trying to run an application that
want to access web services on a java server ( using JWSDP 1.5).
And occurs a error, and i don't no how to slove it:
----------------------------------------
unexpected encoding style:
expected=http://schemas.xmlsoap.org/soap/encoding/, actual=
----------------------------------------
A think it's a lack of what is the actual enconding, but i'm not sure...
Thanks
|
|
|
|
|
NCache boosts .NET application performance through in-memory clustered object caching. NCache not only lets you cache read-only data but also complex transactional data with relationships. NCache provides a graphical tool for configuring and monitoring clustered caches from a single computer.
NCache provides the following features:
1. Single-server or clustered server-farm configurations
2. Fully supports ASP.NET 2.0 Cache API
3. Read-through, write-through, and write-behind operations
4. Object relationship handling through intelligent dependency management
5. Cache clustering as Replicated Cache, Partitioned Cache, or Near Cache
NCache also includes a Clustered Session State for ASP.NET that lets you use sessions in server-farms without fearing single-point of failure and slow performance of Microsoft’s ASP.NET Persistent Session State.
Learn more about NCache and download a FREE trial from http://www.alachisoft.com/download.html
|
|
|
|
|
Have you considered paying for some advertising space on this site?
My: Blog | Photos
"Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucious
|
|
|
|
|
Thanks - I've added this to the list of companies to cheap to pay for advertising and therefore unlikely to offer good support, and certainly not worthy of my financial support.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
I need to develop an application that can make/receive calls using SIP protocol.
I don't have experience in realtime communication applications..
I am goot at .net platform...
I have to develop this application using C#...
Please guide me.
thanks
gotech.voip
|
|
|
|
|
Have you tried to search some free/opensource SIP libs? I hope there is something...
However, you have to read and understand the SIP specs ().
Tozzi is right: Gaia is getting rid of us. Do you feel the way you hate or do you hate the way you feel?
|
|
|
|
|
I understand the SIP and VoIP...
I need help developing the SIP Client using C# for win platform...
SO, i tried searching samples or ideas around .....but i couldn;t find anything promising....
|
|
|
|
|
I think that once you have familiarity with the SIP protocols, the hard piece of work is to capture the sound and incapsulate it on one side, on the other side you have to playback the received sound...
Regarding capture/playback there are some good articles in CodeProjects: perform a little search. I believe there is some kind of library including all necessary tools to record and playback waveform files.
Personally I don't know much about VoIP, but I strongly suggest you to find some library, because implementing a complete High-level protocol (such as SIP) could require months of work, especially the audio codecs implementation!
Even a *simple* protocol such as POP3, isn't so much simple to implement...
Tozzi is right: Gaia is getting rid of us. Do you feel the way you hate or do you hate the way you feel?
|
|
|
|
|
hi there,
Could u pls share some useful links/materials... about this to me
I's so interesting, but I dont know where to start
Big thanx
<< >>
|
|
|
|
|
Hi,
I have some positive experiences with SIP and VoIP and I wish to give you an advice. If you need to learn about SIP you can start here: http://voip-sip-sdk.com/[^] They provide many sample programs and you can try them for free.
For me it was a good start to learn more about SIP.
|
|
|
|
|
The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached from connecting from DotNetNuke to SQl Server 2000.
Krishna Reddy Y
-- modified at 10:32 Tuesday 20th September, 2005
|
|
|
|
|
I take it there's a question buried in this post somewhere? Perhaps a code snippet of what your having a problem with will help too.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hello,
I'm using a treeview and I have selected several nodes.
Now I'd like to clear those node selections so that there are no nodes selected in the treeview.
The only way I've found to do this is to reload the treeview with the object, which sets it back to original state. But there's got to be a better way.
Anyone have any ideas?
Thanks in advance,
--PhB
PhrankBooth
|
|
|
|
|
As far as I know, a treeview can only have one selected node, which you can retrieve with the SelectedNode property.
Therefore, I'm not sure what are you refering to when you say that you have selected *several* nodes - maybe checked, like if the treeview is set to diplay checkboxes, and you refer to the checked nodes?
Anyways, if you want to "deselect" the one and only node that could be selected in a treeview, try setting the SelectedNode property to null.
Otherwise, if you want to "uncheck" any checked node, you must navigate the nodes, say recursively, and set the Checked property of each node to false.
Assuming you have a treeview named treeView in your form, create a method called setCheck and call it from wherever you want to perform the clearing of checked nodes (or checking them for that matter):
<br />
private void setCheck(TreeNode node, bool isChecked) <br />
{<br />
if(node != null) <br />
{<br />
node.Checked = isChecked;<br />
foreach(TreeNode child in node.Nodes) <br />
{<br />
setCheck(child, isChecked);<br />
}<br />
}<br />
}
Call this method like this:
<br />
bool isChecked = false;
foreach(TreeNode node in treeView.Nodes) <br />
{<br />
setCheck(node, false);<br />
}<br />
Hope it helps.
|
|
|
|
|
|
Hi
Can anyone help me with this problem.
------------------------------
PDA Transportes.exe
TypeLoadException
FormTransMain::.ctor+0x2c
FormTransMain::Main+0x5
------------------------------
This happens on an application that uses a library that uses Web Services.
And i allready made debugging of the problem, the error comes when calling
the web services.
This occurs in the emulator of VS2003 and in the Pocket Pc.
Both library and application where built on C#.
I reall don't what to do anymore.
Thanks for all the help.
|
|
|
|
|
how to get phone pressed digidts in application using tapi 3.1 in vb.net
|
|
|
|
|
hi there,
I've heard about "DTMF", try google this
<< >>
|
|
|
|
|
I am working with Sockets – I find this interesting, and I would call it a bug. It seems odd that the bytes that comes from GetAddressBytes is not valid for creating a new address given the prototype for it is the same. (A System.ArgumentException is thrown) let me know if you find this odd, a bug or if I am just not understanding how to use this interface correctly.
using System;
using System.Net;
using System.Net.Sockets;
using System.Windows.Forms;
using ThreadingEx;
namespace foo
{
[STAThread]
static void Main(string[] args)
{
IPHostEntry Host;
IPAddress Address;
IPAddress Address2;
Host = Dns.Resolve(“AnyAddressThatResolves.com”);
Address = Host.AddressList[0];
/*
** This will cause an error, the prototype is
** public IPAddress(byte[] address);
** and the GetAddressBytes is
** public byte[] GetAddressBytes();
*/
Address2 = new IPAddress(Address.GetAddressBytes());
}
}
|
|
|
|
|
Hi,
I had developed the Pocket PC application using C#.NET for windows CE English version OS. Now I want to deploy the application in windows CE German version OS.
How to do this. Also I am using SQLCE database.
Regards,
S.Sevugan.
|
|
|
|
|
I am using System.Management.Managementobjectsearcher in C# to read processor Number. Internally it uses COM objects.
So it gives error that System.Runtime.Interopservices.COMException and error message is Com object is not registerd.
This error comes only in windows98. It works well with 2000,xp,2003 etc...
So tell me how to solve this error..
Nilesh Gambhava,
Life is NP-Complete so don't use Algorithm but use Heuristics
|
|
|
|
|
I think the error message speaks for itself. You're trying to create a COM object (you didn't say which one) that isn't registered on the machine.
Either the .DLL that supplies this object isn't registered properly, or you're assuming that the machine has whatever COM .DLL you need and has it registered, when in fact it doesn't. You could also be trying to create a COM object that doesn't have the version you need installed on the machine.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Write to the event log..
Anyone know it?
George Carlin wrote:
"Don't sweat the petty things, and don't pet the sweaty things."
Jörgen Sigvardsson wrote:
If the physicists find a universal theory describing the laws of universe, I'm sure the a**hole constant will be an integral part of that theory.
My Blog[^]
|
|
|
|
|
Hi,
I have a problem with MSMQ, i need to check queue existanc on a remote machine.
can any one have idea!!!!
regards
Chinna
|
|
|
|