|
Tht stuff was in MFC and I read all tht already before posting here.I need some solution in win32 sir ji.
Yesterday One guy suggest me lpfnhook and i tried thtt even but tht one is executing while opening dialog but how do i can implement view status on tht procedure tht i equate to lpfnhook.
Please suggest me some solution.
Thx all of u.
|
|
|
|
|
The article author solved some difficult problems in order to accomplish that task. MFC or Win32 doesn't really matter: you can easily adapt the MFC stuff to Win32 API . You know, MFC is a thin wrapper around it.
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]
|
|
|
|
|
I agree with u tht MFC is thin wrapper around win32.But i hv no idea abt MFC really,so only i was asking.
Anyway,Thx for ur valuable time for my posts.
Regards
Yogesh
|
|
|
|
|
yogeshs wrote: I agree with u tht MFC is thin wrapper around win32.But i hv no idea abt MFC really
Just handle messages the way the article's author did, using your hook procedure and Win32 API .
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]
|
|
|
|
|
yogeshs wrote: I agree with u tht MFC is thin wrapper around win32
yogeshs wrote: i hv no idea abt MFC really
Thanks. The weather today is really depressing (dark, rain). I needed this to cheer me up.
By the way, you seem to have some sort of keyboard malfunction:
yogeshs wrote: u tht
yogeshs wrote: i hv
yogeshs wrote: Thx
yogeshs wrote: ur
yogeshs wrote: abt
|
|
|
|
|
|
Michael Schubert wrote:
By the way, you seem to have some sort of keyboard malfunction:
Sadly, I think the keyboard is doing exactly what it was instructed to do.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"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
|
|
|
|
|
How Can I evaluate an axpression in string ?
for example :
string x = "(6+9)/5-9";
string y = "Ln(10)+cos(30)-55";
How Can I evaluate that in visual studio ?
Is there a FREE parser that does these operations ?
I'm using vb 6
|
|
|
|
|
fcis2008 wrote: string x = "(6+9)/5-9";
C++ isn't something like VB, where you can assign dump anything into any datatype. C++ requires you to know what you're doing.
If the result of your expression is a number, then assign it to a number and then 'store' it into the string with one of those string formatting functions.
int nVal = (6+9)/5-9;
TCHAR str[42];
_tprintf(str, _T("%d"), nVal);
You could alternatively write your own string class which does the conversion implicitly for you, by having the appropriate operators overloaded and enabling you to write statements of that sort where you assign an expression to a your string class object.
“Follow your bliss.” – Joseph Campbell
|
|
|
|
|
Rajesh R Subramanian wrote: C++ isn't something like VB, where you can dump anything into any datatype. C++ requires you to know what you're doing.
Well said! Take 5.
|
|
|
|
|
Michael Schubert wrote: Rajesh R Subramanian wrote:
C++ isn't something like VB, where you can dump anything into any datatype. C++ requires you to know what you're doing.
Well said! Take 5.
Anyway, that's no true.
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: Anyway, that's no true.
Which part?
|
|
|
|
|
"VB, where you can dump anything into any datatype"
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]
|
|
|
|
|
Really? Maybe they changed that in VB.NET. I haven't looked at VB in many years.
|
|
|
|
|
I'm talking about VB6.
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]
|
|
|
|
|
I know you have a secret fetish for VB6 (the main reason why you got into programming), but there's no need to support it here.
“Follow your bliss.” – Joseph Campbell
|
|
|
|
|
Rajesh R Subramanian wrote: I know you have a secret fetish for VB6 (the main reason why you got into programming)
The only reason!
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]
|
|
|
|
|
fcis2008 wrote: I'm using vb 6
Is this a typo ? Are you using visual basic or visual C++ ? Because this is the C++ forum, so if it is a question for Visual Basic, then you should post in the VB forum.
Anyway, if you are using C++, take a look at this article[^]
|
|
|
|
|
You application may host a scripting language.
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]
|
|
|
|
|
If you're using C++ (and if not, why have you posted in this forum?), then this article[^] contains just what you need.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
|
Nicholas Amh wrote: Can someone help me out.
How many more times do you need to have this explained to you before you realise that you are totally out of your depth on this? You have had lots of suggestions as to what you need to do but you obviously don't have the basic knowledge to implement them. I would suggest that you get hold of some books on basic C++ and Windows Programming and work through the sample code to get the understanding and skills you need to solve this problem.
Reposting the same question every day is just getting you more confused.
|
|
|
|
|
hey everybody
I want to implement file transmisstion between two client peer in
different LAN.
they get each Extranet IP and Port through http server(when they visit a
site like www.codeproject.com i will return other Extranet IP and Port)
when CLientA get ClienB Extranet Ip And Port ClientA will connect To ClinetB
in the same time ClientB Will Bind To Local Port and begin listen
my problem that can the connect oK ?,I have tested is fail but i want to know
why failed can someone tell me why
thanks
modified on Thursday, October 22, 2009 4:42 AM
|
|
|
|
|
Hi,
Sounds like an excellent project. When will you have it completed?
Best Wishes,
-David Delaune
|
|
|
|
|
*click*
Message marked as answered.
“Follow your bliss.” – Joseph Campbell
|
|
|
|