|
Its of MSDN:
"Each thread has a suspend count (with a maximum value of MAXIMUM_SUSPEND_COUNT). If the suspend count is greater than zero, the thread is suspended; otherwise, the thread is not suspended and is eligible for execution. "
|
|
|
|
|
Help pls, how can I get the value(True/False) of a check box, so that i can save/pass it into a database.
Gpat
|
|
|
|
|
See [^].
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]
|
|
|
|
|
Hi Friends,
I have developed 3 MFC dll's. I am calling those in SDI application.
I am using create fn to create the dialogs of dll.
I placed the create code in initinstance of SDI app.
The problem is strange...!!
Only 2 of 3 get created other will throw an exception.
I traced the code it hits at
// separately create OLE controls in the dialog template
if (pOccManager != NULL)
{
if (!SetOccDialogInfo(&occDialogInfo))
return FALSE;
lpDialogTemplate = pOccManager->PreCreateDialog(&occDialogInfo,
lpDialogTemplate);
}
(The error line is made bold)
But same works with my other SDI app.Its only problem in main module.which
is developed by other person(He modified the SDI to navigate to different views).
Please help me to get out of this problem.....
Reagards
Shiva
|
|
|
|
|
Hi Friends,
I am trying to use IStoreFolder::RegisterNotification Method from the constructor of my ATL addin dll class for Outlook Express/ Windows Mail.
But it's failing.
Dont know the cause but it's working if I try to run it from my another standalone sample application. (a simple c++ exe)
If anyone knows the reason behind this, kindly reply back.
Thanks a lot.
dolly,
N,IN
|
|
|
|
|
Hi all,
I am having two exe's, I am running one exe through another using API ShellExecute.... Now what i want is i want to pass a value from one exe to another and want to use that value in second exe. How is this possible???
Thanks in advance
|
|
|
|
|
By using Shared Memory, IPC or Sockets. Would depend on your need and how you would like to implement such a thing also check passing through command line arguments if you are running the second exe from the first one.
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
modified on Wednesday, July 16, 2008 8:17 AM
|
|
|
|
|
Probably using WM_COPYDATA message is the simplest way to.
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: Probably using WM_COPYDATA message is the simplest way to.
Gosh! that's my favorite, however i would prefer registered message for sending window data!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You/xml>
|
|
|
|
|
ThatsAlok would prefer registered message for sending window data!
That's fine, indeed.
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]
|
|
|
|
|
Hi,
IMO the easiest way to do that is through a command line argument: just add a textual argument
to the ShellExecute() you already and let the called EXE watch and obey its command line.
|
|
|
|
|
on which one is 'one exe ' and which one is 'the second exe '.
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]
|
|
|
|
|
Its easy one is first exe and two is second exe.
|
|
|
|
|
You're sooooooooo clever.I guess you're able to identify the third one too.
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]
|
|
|
|
|
No thats wrong.It was not my answer I used of a mainframe for sovle this problem.
|
|
|
|
|
Hamid. wrote: I used of a mainframe for sovle this problem
Cheater!
BTW: welcome to the THHB (T hread H ijacking H appy B rigade), featuring Me, Rajesh and, now,
you too.
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]
|
|
|
|
|
THHB
|
|
|
|
|
|
i have tried this code but OnCopyData function is not being called...
|
|
|
|
|
Hi,
Can i use dll as a container for activeX control? If yes please suggest me the way how to do it?
|
|
|
|
|
wfstream fs(L"a.txt", ios::app);
fs<<L'2';
fs.close();
a.txt is a unicode file which is 22 bytes.
Only 1 byte is appended by the code: 32 , not 32 00 .
What's the problem?
system
|
|
|
|
|
followait wrote: What's the problem?
According to this article[^], the C++ Standard.
led mike
|
|
|
|
|
wstringstream ostr(L"1.1 1.2 a");
float f1,f2,f3;
ostr>>f1>>f2>>f3;
How to detect that something is wrong with f3 ?
system
|
|
|
|
|
Hi,
the VC6 compiler gives me problems:
const UINT64 a = 0x0000000080000000;
results in just that, however
const UINT64 b = a << 1
results in 0x0000000000000000 !!!!
What am I doing wrong ?
Is there any way to force b into the required 0x0000000100000000
thanks,
Uli2000
|
|
|
|
|
this works fine for me (VC6-sp5).
#include "stdafx.h"<br />
#include <windows.h><br />
<br />
int main(int argc, char* argv[])<br />
{<br />
const UINT64 a = 0x0000000080000000;<br />
const UINT64 b = a << 1;<br />
printf("%I64x\n%I64x\n", a, b);<br />
return 0;<br />
}<br />
</windows.h>
80000000
100000000
|
|
|
|