|
Thanks Mike u r rock, but i want to ask u why it is giving the right data without http in debug mode.
thanks
shailesh
|
|
|
|
|
|
I have found the IsValidURL inside MSDN, but I havne't found anything for email validation. Does anyone know of code kicking around anywhere that will validate emails?
I can't depend on regex or anything...
Thanks
How do I print my voice mail?
|
|
|
|
|
I am a beginer in Visual C++ and I want to build my own class Fruits .Anybody can help me with free code
|
|
|
|
|
class CFruits {
};
Could you be more specific?
modified 12-Sep-18 21:01pm.
|
|
|
|
|
Pure elegance! 5!
Glano perictu com sahni delorin!
|
|
|
|
|
How can I build the graph of function a*x*x+b*x+c=0
|
|
|
|
|
I thought this was a repost. Try putting the actual question in the header. What if every post here had 'how can I' in the header ?
Christian
I have drunk the cool-aid and found it wan and bitter. - Chris Maunder
|
|
|
|
|
Well, you can't anyways because you have no programming experience.
Actual Linux Penguins were harmed in the creation of this message.
|
|
|
|
|
Man - reading this forum today is better than Dilbert
Glano perictu com sahni delorin!
|
|
|
|
|
Hi everyone,
Is there are way to set a directory share mode using Win32 APIs in C++? I looked but I did not see any place that showed how to do that.
Thanks in advance.
|
|
|
|
|
Check out MSDN.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winprog/winprog/windows_api_reference.asp
Check out my website for more links on software development.
http://www.dslextreme.com/users/kuphryn/links.html
Kuphryn
|
|
|
|
|
This sounds like a job for...DACL.
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
|
|
|
|
|
Can you set up retriggerable timers in VStudio?
Jerry
|
|
|
|
|
Sure, just use these WinAPIs:
m_hTimer = CreateWaitableTimer(NULL, FALSE, NULL);
LARGE_INTEGER DueTime;
DueTime.QuadPart = 900;
SetWaitableTimer(m_hTimer, &DueTime, 1000, NULL, NULL, 0);
To stop timer call:
CancelWaitableTimer(m_hTimer);
And just call SetWaitableTimer again to start it.
|
|
|
|
|
unsigned int it = V_INT(&PhysicalMemoryVal);
Does this actually make sense here or is there some problems with the pointers
We have a mathematician, a different kind of mathematician, and a statistician!
|
|
|
|
|
Interesting.
What is PhysicalMemoryVal? Looks like you are casting its memory address, not what is occupied in memory.
kuphryn
|
|
|
|
|
Thats what I tought, how do I get the proper value please????
Oh by the way PhysicalMemoryVal is the amount of memory the operating system has available, you get it from WMI classes
We have a mathematician, a different kind of mathematician, and a statistician!
|
|
|
|
|
Given that PhysicalMemoryVal is a memory address, one possible solution is pointer.
unsigned int *pValue = PhysicalMemoryVal;
Kuphryn
|
|
|
|
|
no good,
now I get and error
error C2440: 'initializing' : cannot convert from 'INT' to 'unsigned int *'
But I dont understand because I use another function in the same way only it return a 16 bit int and there seems to be no problem there
We have a mathematician, a different kind of mathematician, and a statistician!
|
|
|
|
|
Actually!!!!
how do i declare a 64 bit int????????
uint64?????
We have a mathematician, a different kind of mathematician, and a statistician!
|
|
|
|
|
Check out MSDN.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winprog/winprog/windows_data_types.asp
Check out my website for more links on software development.
http://www.dslextreme.com/users/kuphryn/links.html
Kuphryn
|
|
|
|
|
roadragedave wrote:
how do i declare a 64 bit int????????
__int64
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
|
|
|
|
|
What type is PhysicalMemoryVal ? Your code will only work if it is a VARIANT .
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
|
|
|
|
|
Yes PhysicalMemoryVal is a VARIANT
The value returns something, but its a negative number which doesnt make any sense
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/win32_operatingsystem.asp
at this website you will find a uint64 FreePhysicalMemory
Im trying to plot this against another value uint64 TotalVisableMemorySize
but the values Im getting are way out
My GetProperty method for getting the values works fine, because I have it fetching another value without any problems.
|
|
|
|