| Product: Distinct RPC for .NET | Topic: General | Last updated: 3/4/2008 |
| |
| Q.: Does Distinct ONC RPC for .NET have multi threading support when building a .NET server applicaiton? |
A.: Both client and server support multi-threading. Each client is a separate
instance of a class and supports multi-threaded applications. Each service
runs in its own thread. |
| |
Do you find this information useful ? Yes No Not Sure |
|
| Product: Distinct RPC for .NET | Topic: General | Last updated: 3/1/2008 |
| |
| Q.: When should I use the setStreamed(bool) function?
|
A.: This function should be used for most TCP connections especially when large amounts of data need to be transfered.
If setStreamed(TRUE) is called, the RPC library will NOT read all data from the socket at one time, it will regard the data as an input stream and read data whenever it needs to. This behavior will improve RPC performance greatly, especially for large RPC data over a TCP connection.
|
| |
Do you find this information useful ? Yes No Not Sure |
|
| Product: Distinct RPC for .NET | Topic: RPCGEN | Last updated: 3/31/2008 |
| |
| Q.: How do I to specify the preprocessor? |
| A.: If you are using Microsoft Visual C++ you do not need to specify the preprocessor as rpcgen will default to this. If you are using Borland C, you need to use the -c option and specify cpp32.exe as the preprocessor. |
| |
Do you find this information useful ? Yes No Not Sure |
|
| Product: Distinct RPC for .NET | Topic: RPCGEN | Last updated: 3/31/2008 |
| |
| Q.: RPCGEN does not seem to work even though I have the .NET framework installed. What is the problem? |
A.: RPCGen.NET requires that the "Visual J# .NET Redistributable Package" is installed on your sysem. Microsoft makes a download of this available from their site:
http://msdn2.microsoft.com/en-us/vjsharp/bb188598.aspx
|
| |
Do you find this information useful ? Yes No Not Sure |
|
| Product: Distinct RPC for .NET | Topic: RPCGEN | Last updated: 3/31/2008 |
| |
| Q.: When I ran RPCGen.Net demo.x I got the following error message;
RPCGen.Net: ""Cl /C /EP /nologo"" failed:
|
A.: This error message normally appears when there is no preprocessor installed on the system. Make sure that your environment was correctly initialized. The batch file for this is normally found at:
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat
|
| |
Do you find this information useful ? Yes No Not Sure |
|