|
hello,
does anyone know what do we need to install to make Windows support SCTP protocol? currently i have a linux application im trying to port to windows. and it encounters an error on this code fragment:
sk = socket(s_loc.ss_family, SOCK_SEQPACKET, IPPROTO_SCTP)
error:
10047 WSAEAFNOSUPPORT Address family not supported by protocol family.
im using visual studio .NET
thanx and happy holidays....
|
|
|
|
|
Windows does not support IPPROTO_SCTP.
-Prakash
|
|
|
|
|
Hi.
I need to map network drives in Boralnd C++. I need a function that takes the username and password as parameters. Can anybody please help? Urgent help needed!
Hearty Thanks,
Priya
|
|
|
|
|
Priya..k wrote: map network drives in Boralnd C++.
Yesterday somebody asked a similar question. Please check.
Jesus Loves You and Me <marquee direction="up" height="50" scrolldelay="1" step="1" scrollamount="1" style="background-color:'#44ccff'">
--Owner Drawn
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is Lord
|
|
|
|
|
It said to use NetUseAdd(). But this function does work in Borland C++. I need a function that will work in Borland c++ and one that can take the username and password as parameters. Any suggestions or ideas?
Thanks,
priya
|
|
|
|
|
Look here.
http://bdn.borland.com/article/0,1410,16592,00.html[^]
Hope this helps...
I hope borland too has a forum for it's users... Do search for that too...
Jesus Loves You and Me <marquee direction="up" height="50" scrolldelay="1" step="1" scrollamount="1" style="background-color:'#44ccff'">
--Owner Drawn
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is Lord
|
|
|
|
|
Hi there again.
Thanks for the help whoever you are.
"Search the net" is all i seem to be doing for days to get a solution to this problem.
Nothing worth however has seem to come in my way. I even search for exchange forums for Borland C++ users but can't seem to find.
Do you know any site where i can get some Borland C++ codes or a forum for Borland C++ users, or better do you know anyone that can help me on this issue?
Many thanks,
Priya
|
|
|
|
|
Did it work...
Here is a forum
http://www.tek-tips.com/threadminder.cfm?pid=206[^]
Jesus Loves You and Me <marquee direction="up" height="50" scrolldelay="1" step="1" scrollamount="1" style="background-color:'#44ccff'">
--Owner Drawn
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is Lord
|
|
|
|
|
The link you gave me before didn't help. The code was in C++ not Boralnd C++ Builder. The two are very very different!
I'll try this one and let you know
thx
|
|
|
|
|
|
Hi Ravi.
I'm quite new in Borland C++. So if you could please elaborate or give me the complete code, this would really help me. can i use this function in Borland C++ builder.
Many Thanks,
priya
|
|
|
|
|
If it is a windows API, there must be someway to call the API from Borland C++.
Check in the documentation of BC++ if that API is supported.
-Prakash
|
|
|
|
|
Hi Mr.Prakash
As i told the others, i'm very new in Borland C++ and it would really help me if you could elaborate more or give me a complete code or anything as such. I don't know about what API you are talking about!
Many thanks,
Priya
|
|
|
|
|
Priya..k wrote: I don't know about what API you are talking about!
I was refering to WNetAddConnection2 that Ravi had mentioned
-Prakash
|
|
|
|
|
Hi Mr.Prakash
As i told the others, i'm very new in Borland C++ and it would really help me if you could elaborate more or give me a complete code or anything as such. I don't know about what API you are talking about!
thx
|
|
|
|
|
Hello Priya,
Nice name, Reminds me of my GF
anyways,
you will not be able to get too much info on borland c++ here, try this forum instead
http://dreamconcepts.net/borland/[^]
-Prakash
|
|
|
|
|
Sorry, I haven't used BC++ since the early 90's. You're best off Googling or checking their documentation. (It may be worth the effort to switch to VC++ if this is possible).
/ravi
My new year's resolution: 2048 x 1536
Home | Music | Articles | Freeware | Trips
ravib(at)ravib(dot)com
|
|
|
|
|
i set up a program in C# using incrementing and decrementing information so i wanted to try to make this same program in C++ well so far i have it done all but the decrementer i have a
const int iPLEFT = 200; and under that i have
i have
const int iAP1 = 1; <-- i have this all the way up to 12
well the decrement i want to take the base 200 and subtract the iAP1-12 when the button is pushed
example.
i select the chosen name in my combo box then i click a button to add points. the incrementer will add 1 to the Ppoint1 label when there is 1 listed in the Ppoint1 label then i want the 200 to decrement 1 and so on.
also if anyone knows of some realy good MFC books that will help me learn and understand MFC / C++ programming. i realy enjoy learning to program so any extra information will be very helpfull
thank you for your time
|
|
|
|
|
Exactly ur stuck up in a combo box
and if u want to learn VC++ u get
lots of resources in the Codeproject
I had used
Masterin VC++ (SAMS publication)
Charls petzol but it is for SDK not MFC
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
|
|
|
|
|
-MFC-
http://www.functionx.com/visualc/Lesson05.htm
cma.zdnet.com/book/visualc/
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
|
|
|
|
|
How to Save Picture from Clipboard to file using VC++?
-- modified at 21:11 Thursday 29th December, 2005
|
|
|
|
|
This is the way u capture bitmap from clipboard.
BOOL bRes = OpenClipboard();<br />
HBITMAP hBmp = (HBITMAP) GetClipboardData(CF_BITMAP);<br />
if ( hBmp != NULL )<br />
{<br />
CClientDC dc(this);<br />
HDC hDC = CreateCompatibleDC(NULL);<br />
SelectObject(hDC, hBmp);<br />
if ( !BitBlt(dc.m_hDC, 0, 0, 200, 200, hDC, 0, 0, SRCCOPY) )<br />
AfxMessageBox("Err");<br />
}<br />
<br />
bRes = CloseClipboard();
Saving the bmp into a file is simple as well. You can look into the MSDN. or below link on codeproject for saving HBITMAP to File.
http://www.codeproject.com/bitmap/drawing2bitmap.asp
Best Regards,
-- modified at 2:24 Friday 30th December, 2005
|
|
|
|
|
Nice one.
Jesus Loves You and Me <marquee direction="up" height="50" scrolldelay="1" step="1" scrollamount="1" style="background-color:'#44ccff'">
--Owner Drawn
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is Lord
|
|
|
|
|
Thank you very much! laugh:
|
|
|
|
|
does anyone how internet accelerators work, if they do, and what it would take to make a simple program to boost internet speed?
I have dsl and have seen a lot of programs that claim to speed internet speed and thought i would try to make one of my own (mostly for fun).
any help, includeing websites tutorial or ideas would be greatly appreciated.
thank you in advance for the help and happy new year!
- Kyle
|
|
|
|