|
NEVER GO FOR THIS .... there is nothing there .
Only at the site you will see indexes & syllabus for the courses in interactive way
but while doing the course , I felt very cheated .
They charged Rs 6500 for "Programming Expertise in Visual C++ ". There was no time boundation , no
exercise checking , many lectures were absent and at the last they didn't give any project .
They were in hurry to give the certificate and get rid of me .
Same is the story with other online courses .
Never go for any e-course from KSET Pvt. Ltd. ( http://quest.ksetindia.com )
|
|
|
|
|
avanish123 wrote: They were in hurry to give the certificate and get rid of me .
Same is the story with other online courses .
please calm down dude!... this is not right way to raise your voice.. i believe you should contact the author himself before raising your voice on Global Forum!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and you
|
|
|
|
|
i always failed with create a IPv6 socket on PPC2003/WM5. the function like that: socket(AF_INET6, SOCK_DGRAM, IPPROTO_IPV6));
it always return INVALID_SOCKET, and the error code is 10043.
but the IPv4 socket could be success everytimes.
how can i do? whether the IPv6 protocol was not deploy on my device? how to deploy it?
|
|
|
|
|
fansy_fs wrote: PPC2003
Pocket PC right? Does it even support IP6? I thought Windows Server 2003 was the first MS OS to support IP6.
[edit]
Googled IPPROTO_IPV6, IPPROTO_IPV6 Socket Options[^] came up, see the list of requirements.
Declared in Ws2def.h on Windows Server "Longhorn" and Windows Vista; include Winsock2.h.
Declared in Winsock2.h on Windows Server 2003 and Windows XP.
List of supported OS's
Windows XP Windows Server 2003 Windows Vista
-- modified at 2:51 Tuesday 5th December, 2006
I'd love to help, but unfortunatley I have prior commitments monitoring the length of my grass. :Andrew Bleakley:
|
|
|
|
|
Windows Server "Longhorn" and Windows Vista support IPv6 by default, WindowsXp also support IPv6 by execute:"ipv6 install" in command line.
MS claim WinCE4.2 and higher versions support perfectly.
but i could not find how to configure it on the emb OS.
does the mobile OS have the same tools like "ipv6.exe netsh.exe ipconfig.exe" on x86?
|
|
|
|
|
I want to display internet explorer history in a list control.I have gone through an article in code project "Access Internet Explorer's History in MFC
By Akash Kava". I have implemented the same in my application.But the application is getting a message can't get the history.When i dedugged the CoCreateInstance is failing.Any idea in this?
|
|
|
|
|
radhika28 wrote: I have implemented the same in my application.But the application is getting a message can't get the history.When i dedugged the CoCreateInstance is failing.Any idea in this?
show code snippet... have you checked what CoCreateInstance is returning! you can also use FormatMessage to get Human Readable message
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and you
|
|
|
|
|
Thanks ThatsAlok for ur reply.I got it. I freed the returned string fields.I have another problem now.My list control is displaying the recently accessed url's but they are arranged improperly.How can i display the items in listcontrol according to time i.e,i want to display them in descending order according to system timei.e,i want to display the last opened url first.The time in the list control is displayed in both date and time.For ex 10:46:06 12/04/06 like that.Can you help me in this.
|
|
|
|
|
radhika28 wrote: The time in the list control is displayed in both date and time.For ex 10:46:06 12/04/06 like that.Can you help me in this.
either write your own sorting algorithm or use MAP<DATE,CString> way to get automatically sorted URL list based on Time.. also don't forget to switch off th default sorting of list ctrl!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and you
|
|
|
|
|
Never go for this .... there is nothing there .
Only at the site you will see indexes & syllabus for the courses in interactive way
but while doing the course , I felt very cheated .
They charged Rs 6500 for "Programming Expertise in Visual C++ ". There was no time boundation , no
exercise checking , many lectures were absent and at the last they didn't give any project .
They were in hurry to give the certificate and get rid of me .
Same is the story with other online courses .
Never go for any e-course from KSET Pvt. Ltd. ( http://quest.ksetindia.com )
|
|
|
|
|
I need to run the command "arp -d" in vc++.I use system("arp -d") but this opens the command prompt window.The Equivalent in VB without opening a command prompt is 'Shell "arp -d", vbHide'.How this can be done in vc++.
Thank you.
More relaxed the person high is his status.
|
|
|
|
|
|
Will u please elaborate on how to use it for DOS Commands.
More relaxed the person high is his status.
|
|
|
|
|
ShellExecute( 0, _T("open"), _T("cmd") ,_T("arp -d"),0,SW_SHOW);
nave
|
|
|
|
|
Hello nave,
Thanks for ur reply.It's just opening the command.But i want to execute that command without opening the command window.
Thank you.
More relaxed the person high is his status.
|
|
|
|
|
sorry my mistake.. u need to specify it as below
ShellExecute( 0, _T("open"), _T("cmd") ,_T("/c arp -d"),0,SW_SHOW);
or
ShellExecute( 0, _T("open"), _T("cmd") ,_T("/k arp -d"),0,SW_SHOW);
nave
|
|
|
|
|
Hello Nave,
It works.Thanks a lot.
More relaxed the person high is his status.
|
|
|
|
|
harshandu wrote: I need to run the command "arp -d" in vc++.I use system("arp -d") but this opens the command prompt window.The Equivalent in VB without opening a command prompt is 'Shell "arp -d", vbHide'.How this can be done in vc++.
my personel favourite is CreateProcess
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and you
|
|
|
|
|
harshandu wrote: How this can be done in vc++.
Natively, with the Win32 Api / MFC, more info http://www.codeproject.com/internet/IPHelper.asp[^]
I'd love to help, but unfortunatley I have prior commitments monitoring the length of my grass. :Andrew Bleakley:
|
|
|
|
|
Hello friends,
I am having difficuly in inserting data in database,I am able to do database
connection with the help of oledb consumer wizard,
For getting data from remote server i am using active -x events
<br />
<br />
void CArielProjectVer2Dlg::OnPriceChangeArielapictrl1(LPCTSTR SessionId, LPCTSTR RequestId, short MarketNo, LPCTSTR Market,LPCTSTR Bid, short BidDirection, LPCTSTR Ask, short AskDirection, <br />
LPCTSTR High, LPCTSTR Low, short MarketState, LPCTSTR Timestamp)<br />
--------------------------------------------------------------------------------
<br />
<br />
And using dll function to Insert data<br />
short setQuoteToDB(BSTR* strDateTimeStamp, short* intMarketNo, BSTR* strMarketName, <br />
BSTR* strBid, BSTR* strAsk, short* intMarketState);<br />
<br />
But i am not successfull in data insertion can you help me how to do this...
.do this need data casting...i am very new to progrraming...pls help me
This is my code i am using:
<br />
void CArielProjectVer2Dlg::OnPriceChangeArielapictrl1(LPCTSTR SessionId, LPCTSTR RequestId, short MarketNo, LPCTSTR Market, LPCTSTR Bid, short BidDirection, LPCTSTR Ask, short AskDirect<br />
ion,LPCTSTR High, LPCTSTR Low, short MarketState, LPCTSTR Timestamp) <br />
{<br />
SessID=SessionId;<br />
CurrentRequestId=RequestId;<br />
txtMarket = Market;<br />
<br />
marketno.Format("%d",MarketNo);<br />
bid_d.Format("%c",BidDirection);<br />
ask_d.Format("%c",AskDirection);<br />
marketstate.Format("%d",MarketState);<br />
<br />
m_MainEdit=m_MainEdit + "<Price Change>" SessionId + RequestId + marketno ;<br />
<br />
m_MainEdit=m_MainEdit + Market + Bid + bid_d + Ask +ask_d + High ;<br />
m_MainEdit=m_MainEdit + Low + marketstate + Timestamp ;<br />
<br />
UpdateData(FALSE);<br />
iLineCount=m_EditCtrl.GetLineCount();<br />
m_EditCtrl.LineScroll(iLineCount);<br />
<br />
_DBAccess db;<br />
db. setQuoteToDB(Timestamp,marketno,Market,B<br />
id,Ask,marketstate);<br />
UpdataData(TRUE);<br />
}<br />
--------------------------------------------------------------------------------
Errors:
1)cannot convert parameter 1 from 'const char ** ' to 'unsigned short ** '
2) cannot convert parameter 2 from 'class CString' to 'short *'
3) error C2664: 'setQuoteToDB' : cannot convert parameter 3 from 'const cha
r *' to 'unsigned short ** '
4) error C2664: 'setQuoteToDB' : cannot convert parameter 4 from 'const char
*' to 'unsigned short ** '
5)error C2664: 'setQuoteToDB' : cannot convert parameter 5 from 'const char
*' to 'unsigned short ** '
6) error C2664: 'setQuoteToDB' : cannot convert parameter 6 from 'class CStr
ing' to 'short *'
|
|
|
|
|
abrakadbra wrote: db. setQuoteToDB(Timestamp,marketno,Market,B
id,Ask,marketstate);
You need to convert LPCTSTR to BSTR and pass its address as parameter.
You can convert LPCTSTR to BSTR like this ;
BSTR bsVar = SysAllocString(lpCstr);
Do use SysFreeString() to release memory after use of BSTR .
|
|
|
|
|
thanks...but can you pls tell me more detail as change in my code...sorry but i am very much confused
|
|
|
|
|
As told earlier, Its compilation error. You need to use BSTR pointer.Use SysAlloString to convert LPCTSTR.
In case of CString object, you can use CString::AllocSysString for getting BSTR variable.
|
|
|
|
|
abrakadbra wrote: thanks...but can you pls tell me more detail as change in my code...sorry but i am very much confused
Hai Mr. Jadugar,
you can use Much Better class _bstr_t which is wrapper over BSTR and provide mechanism for LPCTSTR too!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and you
|
|
|
|
|
I am attempting to write a screen saver. however, even in the earliest stage, I'm having issues.
I have linked the scrnsave.lib, and added the required functions. Yet, I continue to get the following error:
1>scrnsave.lib(scrnsave.obj) : error LNK2019: unresolved external symbol _ScreenSaverProc@16 referenced in function _RealScreenSaverProc@16
#include <windows.h><br />
#include <scrnsave.h><br />
<br />
void InitGL(HWND hWnd, HDC &hDC, HGLRC &hRC);<br />
void CloseGL(HWND hWnd, HDC hDC, HGLRC hRC);<br />
int Width; <br />
int Height;<br />
<br />
#define TIMER 1 <br />
<br />
LRESULT WINAPI ScreenSaverProc(HWND hWnd, UINT message, <br />
WPARAM wParam, LPARAM lParam)<br />
{<br />
static HDC hDC;<br />
static HGLRC hRC;<br />
static RECT rect;<br />
<br />
switch ( message ) {<br />
<br />
case WM_CREATE: <br />
GetClientRect( hWnd, &rect );<br />
Width = rect.right; <br />
Height = rect.bottom;<br />
<br />
<br />
InitGL( hWnd, hDC, hRC );<br />
<br />
<br />
SetTimer( hWnd, TIMER, 10, NULL ); <br />
return 0;<br />
<br />
case WM_DESTROY:<br />
KillTimer( hWnd, TIMER );<br />
<br />
<br />
CloseGL( hWnd, hDC, hRC );<br />
return 0;<br />
<br />
case WM_TIMER:<br />
return 0; <br />
<br />
}<br />
<br />
<br />
return DefScreenSaverProc( <br />
hWnd, message, wParam, lParam );<br />
}<br />
<br />
static void InitGL(HWND hWnd, HDC & hDC, HGLRC & hRC)<br />
{<br />
<br />
PIXELFORMATDESCRIPTOR pfd;<br />
ZeroMemory( &pfd, sizeof( pfd) );<br />
pfd.nSize = sizeof( pfd);<br />
pfd.nVersion = 1;<br />
pfd.dwFlags = PFD_SUPPORT_OPENGL | PFD_DOUBLEBUFFER;<br />
pfd.iPixelType = PFD_TYPE_RGBA;<br />
pfd.cColorBits = 24;<br />
<br />
hDC = GetDC( hWnd );<br />
<br />
int i = ChoosePixelFormat( hDC, &pfd ); <br />
SetPixelFormat( hDC, i, &pfd );<br />
<br />
hRC = wglCreateContext( hDC );<br />
wglMakeCurrent( hDC, hRC );<br />
<br />
}<br />
<br />
static void CloseGL(HWND hWnd, HDC hDC, HGLRC hRC)<br />
{<br />
wglMakeCurrent( NULL, NULL );<br />
wglDeleteContext( hRC );<br />
ReleaseDC( hWnd, hDC );<br />
}<br />
<br />
BOOL WINAPI<br />
ScreenSaverConfigureDialog(HWND hDlg, UINT message, <br />
WPARAM wParam, LPARAM lParam)<br />
{<br />
return FALSE;<br />
}<br />
<br />
BOOL WINAPI RegisterDialogClasses(HANDLE hInst)<br />
{<br />
return TRUE;<br />
}
I've been stuck here for a while, so any help you can offer would be greatly appriciated. Also, not sure if this was the best forum for this post...If not, please advise, and I will correct.
Thank you.
|
|
|
|
|