 |

|
how to make your project in vb.net
|
|
|
|
|

|
can you tell me how to compile the program. i am really a beginner please.
|
|
|
|

|
can u tell me how to compile the program...i am really a beginner please
|
|
|
|

|
i need a java source code for Peer To Peer connection. i will need it as many as possible because am using it to do some school stuff.
|
|
|
|

|
Where are your article more clear about this project
|
|
|
|
|
|

|
has anyone gotten this to compile in VS2005? I'm getting tons of errors.
thanks
|
|
|
|

|
There are several changes to make for it to work:
1.
File: gdi/hoverbutton.cpp
Change: void CHoverButton::OnMouseHover(WPARAM wparam, LPARAM lparam)
To: LRESULT CHoverButton::OnMouseHover(WPARAM wparam, LPARAM lparam)
And Add: return 0;
at the end of the function.
2.
File: gdi/hoverbutton.h
Change: afx_msg void OnMouseHover(WPARAM wparam, LPARAM lparam) ;
To: afx_msg LRESULT OnMouseHover(WPARAM wparam, LPARAM lparam) ;
3.
File: gdi/mimage.cpp
Function: CMImage::CreateLogicalPalette()
Replace:
DIBSECTION ds;
BITMAPINFOHEADER &bmInfo = ds.dsBmih;
m_pbmSource->GetObject(sizeof(ds), &ds);
int nColors = bmInfo.biClrUsed ? bmInfo.biClrUsed : 1 << bmInfo.biBitCount;
With:
BITMAP bm;
int rc = m_pbmSource->GetBitmap(&bm);
int nColors = 1<<bm.bmBitsPixel;
4. [Optional]
If you want - you can define WINVER on stdafx.h (e.g. #define WINVER 0x0500) to prevent vista from being selected automatically
5.
On: netlib/safevector.cpp
Replace: template <class t=""> list<t>::reference safe_list<t>::back()
With: template <class t=""> typename list<t>::reference safe_list<t>::back()
And
Replace: template <class t=""> list<t>::reference safe_list<t>::front()
With: template <class t=""> typename list<t>::reference safe_list<t>::front()
6.
On: netlib/safevector.h
Replace: list<t>::reference front();
With: typename list<t>::reference front();
And
Replace: list<t>::reference back();
With: typename list<t>::reference back();
7. [Optional]
On: SimpleThreadedChat/msgconverter.cpp
Replace: for (int i=0; i<pnetlist->GetElemN(); i++) {
With: for (unsigned int i=0; i<pnetlist->GetElemN(); i++) {
8.
On: SimpleThreadedChat/simplechat.cpp
Replace: vector* pVec;
With: vector<int>* pVec;
And
Replace: pVec = (vector*)&vecInt;
With: pVec = (vector<int>*)&vecInt;
And [Optional]
Replace: Enable3dControls(); With:
9.
On: SimpleThreadedChat/rtfstream.cpp
Replace: SetText( CString( ch ) );
With: SetText( CString( (char)ch ) );
And
Replace: return streambuf::overflow( (char)ch );
With: return streambuf::overflow( ch );
10.
On: SimpleThreadedChat/SystemTray.cpp
Replace: Create(CWnd* pParent, UINT uCallbackMessage, LPCTSTR szTip, HICON icon, UINT uID);
With: BOOL Create(CWnd* pParent, UINT uCallbackMessage, LPCTSTR szTip, HICON icon, UINT uID);
11.
Add to the SimpleThreadedChat project properties Linker>Input>Additional Dependencies: NetLib.lib
[Taht Is:
Replace: ws2_32.lib GDI.lib
With: GDI.lib NetLib.lib
]
12.
Add to the NetLib project properties C/C++>Preprocessor>Preprocessor definitions: ;_AFXDLL
[That is:
Replace: WIN32;_DEBUG;_LIB
With: WIN32;_DEBUG;_LIB;_AFXDLL
]</int></int></pnetlist-></pnetlist-></t></t></t></t></t></t></class></t></t></class></t></t></class></t></t></class>
Yours,
<><<br mode="hold" />Itai
|
|
|
|

|
hi
i need vb or delphi image processing source code for cnc
please help me.
thank you.
|
|
|
|

|
i have been having problems coding a file tranfer program in java. i have suceeded in creating a peer to peer connection but i need help help on implementing file transfer into the code
|
|
|
|

|
Thanks for your work!I want to know the detail about nat traversal!Hope your article!
|
|
|
|

|
hey...
i've downloaded the source code. when i tried to compiled, it says that "fatal error C1083: Cannot open include file: 'SimpleChatDlg.h': No such file or directory". so, where can i get the file??
thanx..
|
|
|
|

|
question:
Can do transfer much files at one time? I want to implement transfering several files at one time like qicq.
|
|
|
|

|
Thank you for your work, this knwoledge is useful of me. but there is a problem on my computer: the progrem use too mach memory!
my environment: memory: 512M cup: Celeron 2.66G.
|
|
|
|

|
I have xp with 3GB of memory, 2,5 GB free. When starting this program, it says: out of memory.
So look at it as a usefull learning project, but is is practically unuseable.
|
|
|
|

|
In MImage.cpp, CMImage::Load(UINT nBm):
Replace:
HBITMAP hBm = (HBITMAP)::LoadImage(AfxGetInstanceHandle(), lpszBm, IMAGE_BITMAP, 0, 0, LR_DEFAULTCOLOR/*LR_CREATEDIBSECTION*/);
With
HBITMAP hBm = (HBITMAP)::LoadImage(AfxGetInstanceHandle(), lpszBm, IMAGE_BITMAP, 0, 0, /*LR_DEFAULTCOLOR*/LR_CREATEDIBSECTION);
|
|
|
|

|
Great library. I just want to ask it I can use domain name instead of IP address to connect. Example: I will use "c1.mynetwork.com" instead of "192.168.0.1" in my connection.
"We don't see things how they are. We see things as we are." -Talmud
|
|
|
|

|
Hi.
I have similar problem you have posted. Have you found any answer?
|
|
|
|

|
Thanks
jack
|
|
|
|

|
How to I transfer unicode characters over the network using Windows sockets
in C++? I'm only aware of how to send ascii characters (e.g.
//SOCKET socket; char str[];
send(socket, str, (int) strlen(str) + 1, 0)
).
The send function does only take ascii characters. I'm not using MFC.
|
|
|
|

|
Can someone send me a source code of file Transfer via serial port (COM1) using vc++ (MFC).
Mayuresh
|
|
|
|

|
data transfer receive and send using VB6 do you have source code or programs sending a ms access file or .mbd file to Server from a client via HTTP or internet. pls help me with this.
|
|
|
|

|
the code is in 178 row of NetFile.cpp,if you have resolved the question,please help me,thanks again!
|
|
|
|

|
I am looking for this java app too,can I get it ,
thanks you
when I run it,
"out of memory" other PC with 256 RAM ,it still "out of memory"
|
|
|
|

|
i am a beginer to socket programming, i read your article i think it the best for beginers like me, i have two questions;
1. my question is how can i assign a specific ip address to server and client for example 193.125.100.10 and 193.125.100.11 for server and client respectively.
2. 2nd question is i want the application to act as server and client simultaneously, and can chat with multiple peers simultaneously.
i will be greatful for your help, and i am sure you will help beginner like me.
thanks and bye.
ShehrYar.
|
|
|
|

|
i want to see this, but i dont know C++ how can i have look ...will you please compile it and send me so that i can see ! also i need one comercial version, if i likw i will give you the order to make one for me. i want to use it in my <a href="http://www.datingfunda.com">Dating Site</a> Mithilesh Keshari mithilesh@dreamszsop.com www.dreamszsop.com
|
|
|
|

|
Hi,
Thank yuou for your job;
I want to ask a question; It is possible to implement a new functionality for to connect with more persons?
Thanks for your attention.
by
crismer
|
|
|
|

|
There is nothing that restricts you to do so in NetLib right now. The only thing is that you'll have to reimplement the UI classes.
Cheers,
Marat
Kagetsya dogd' nashinaetsya
|
|
|
|

|
It is much slow than copying the same file through WINDOWS.
Net loading is always about 1%.
|
|
|
|

|
I want to read a file from a remote(LAN)machine from my program.The machine Where the program will run is also connected with the LAN. The program also knows the remote machine's address(i.e \\server1), user name and password. Can anybody help me....Thanks
|
|
|
|
|

|
but..where's the exe file? your project is so huge,it's hard to understand.. : )
|
|
|
|

|
Hi Everyone
I am developing a server based chat application , there is also a direct client to client file transfer , just MSN File Transfer.
This is easy when two parties are directly connected to internet with dial up in this case they both will have unique ip.But the problem is if supose one client is using internet with LAN sharing and other is connected to internet through dial up then , so for the first one we can only get the ip adress assigned to net server to which we are connected with internet , not the machine which is connected with it through LAN , so no direct client to client connection.
But i know MSN messenger is doing it so there must be some way doing this . CAN SOMEONE HELP ME ABOUT THIS
|
|
|
|

|
I have similar problem you have posted. Have you found any answer?
|
|
|
|

|
Well a streight forward solution is install a proxy server on machine which is giving to the LAN PC's(Or user is already getting sharing through proxy server) and client use HTTP/Sock4/Socks5 proxy to connect with a PC attatched with private network , if u use any of three mentioned proxy , proxy server will open a direct connection for u.
But if LAN Pc's are not getting sharing through proxy server , then comes the NAT type of sharing , in this case one will have to implement NAT tunneling , currently i am working on it ,if i succeeded in it i 'll inform u.So for the time being proxy is only applicable solutions.
Atif Mushtaq.
Unmanaged in a .NET world
|
|
|
|

|
i am now facing the same problem. can you provide me some code about NAT tunneling? i will be very gratefull.
|
|
|
|

|
Need help of the code!@
I download already but i don know how to run it?
Use????
Pls tell me the stpes
I m a college student!
TY urgent for project now ty again
|
|
|
|

|
thanks for your work,it's useful to me,but i have a question:
can we implemente peer-to-peer communication in the presence of NAT?(suppose all clients lie behind diffrent NAT, this application can work yet?)
|
|
|
|

|
You need to be more specific here. But in general if you're talking about NAT's not only mapping public-private IPs but also blocking incomming traffic and all ports, then this surely will not work.
If say port 80 is open, then you can set up a port forwarder.
If you have a proxy that parses the application traffic, then the only solution is a HTTP tunneler.
For a standalone tunneler check this out.
http://www.htthost.com/
For J2EE tunneler:
http://jproxy.com
Hope this helps,
Marat
Kagetsya dogd' nashinaetsya
|
|
|
|

|
Hi,
I tried to fix the Memory Problem by using the ZeroMemory-command, but now i cannot link and execute the tool. i get 8 failures and 30 warnings. and even if i comment the ZeroMemory line, i'm unable to get the tool running.....
can anybody help me?!?!
thanx
JP
|
|
|
|

|
You're work is excellent.
Many feature is useful for my software development!
After little modified, it complied succefully in VC7.
Best regard.
By the way
in
BOOL CSimpleChatApp::InitInstance()
{
//vector* pVec;
vector vecInt;
vecInt.push_back(0);
vecInt.push_back(1);
//pVec = (vector*)&vecInt;
//int n1 = (*((vector*)pVec))[0];
//int n2 = (*((vector*)pVec))[1];
}
The marked line make error in VC7 (.net)
I just mark it, and I guess it do nothing!?
|
|
|
|
|

|
I am looking for JAVA code for exactly the same application.
Any ideas?
Neville
|
|
|
|

|
I know a project in java witch is more like a share file peer-to-peer project(like kazaa)...
is that what you're looking for?
|
|
|
|

|
Yeah exactly that is what i am looking for. Let me know if you can help me with the code you have asap.
Thanks! NEVILLE
|
|
|
|

|
I am looking for this java app too,can I get it ,
thanks you
|
|
|
|

|
me too....can some one pls send me the java code for this application
anjolie.nair@gmail.com
|
|
|
|
|
 |