|
can i have an example using this method?
|
|
|
|
|
Searching[^] is not so difficult.
Neither reading first[^].
Regards.
--------
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpfull answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
|
No comments.
Regards.
--------
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpfull answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
can you define "POLYGON" ?
|
|
|
|
|
a04.lqd wrote: can you define "POLYGON" ?
Dead parrot 
|
|
|
|
|
a polygon is a 2 dimensional object with at least three sides.
what the heck do you think it means?
sorry. watch out for the blowback.
|
|
|
|
|
the inside, the outside, and the ...
gee, I keep forgetting the third one.
|
|
|
|
|
Yes, I can.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
.
. .
Can you line the dots? That's one polygon (a.k.a. Triangle)
Regards.
--------
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpfull answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
No, and anyone who just hands you one is a fool.
You measure democracy by the freedom it gives its dissidents, not the freedom it gives its assimilated conformists.
|
|
|
|
|
sure.
int main(int argc, char** argv)
{
return 0;
}
|
|
|
|
|
a04.lqd wrote: can i have an project ?
Probably no. Neither a job, I guess.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
CPallini wrote: Neither a job, I guess.
You mean there's justice in the universe? If he works cheap enough, he'll move to the top of the heap.
You measure democracy by the freedom it gives its dissidents, not the freedom it gives its assimilated conformists.
|
|
|
|
|
Hi members
I have a problem to get application name through process id.I am useing this code for geting
HWND hnwd;
hnwd=::GetForegroundWindow();
TCHAR filename[120];
TCHAR buffer[120];
::GetWindowText(hnwd,filename,120);
DWORD dwProcessID;
::GetWindowThreadProcessId(hnwd, &dwProcessID);
Now i want to get Application path through Process id.Like this(C:\ClassName.txt)
Plz help me
|
|
|
|
|
|
Thanks for reply
can you give me some line of example.Please help me
|
|
|
|
|
It's right there in the link that Richard provided you.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
One wonders sometimes ... 
|
|
|
|
|
Hi,
I am having an issue with a recordset that is closed after executing a query. The query that I am using is shown below in Query 1.
However, When I change this query to 'SELECT * FROM SOMETABLE', then the recordset is not closed and an open record set is returned.
Any ideas?
Below is my code:
Code:
pRst->raw_Open(vSource, vConnection, eCursorType, eLockType, lOptions);
Query 1:
DECLARE @Id bigint
SET @Id = 2539
if OBJECT_ID('tempdb..#dumpTable','local') IS NOT NULL
BEGIN
DROP TABLE #dumpTable
END
CREATE TABLE #dumpTable
(
Depth bigint,
Parent bigint,
Type bigint,
ID bigint,
Name nvarchar(80)
)
BEGIN
--SOME WORK
SELECT * FROM #DumpTable
DROP TABLE #DumpTable
END
|
|
|
|
|
Hi
I have a file name path which looks like:
"C:\temp\temp.txt"
I want to change it to "C:\\temp\\temp.txt".
Is there an easy way to do it?
Thanks,
|
|
|
|
|
What are you trying to do exactly ? It seems you are really confused about the escape sequence in a string literal. You only need to escape the "\" character in a string literal (the string you write yourself in the code). If you load the string from an external source (e.g. a file), you don't need to escape the characters at all.
|
|
|
|
|
right, unless one is creating a tool that will emit C/C++/Java/C# source code containing literal strings...
|
|
|
|
|
That's why I was asking him what he is trying to do exactly
|
|
|
|
|
Maybe you are trying to change "C:\temp\temp.txt" in your source code to "C:\\temp\\temp.txt"?
If that is the case, you may use "Find/Replace" in your development environment and some regular expression tricks to achieve that. However, I doubt that you can completely automate this process in a very simple way. Manual intervention is probably still needed.
|
|
|
|