|
We have developed one application using sockets and its running very fine.
Now i have use this application through Internet.
So wat to do and how to do?
I am very new to WinInet class.
|
|
|
|
|
can anybody give a service prog sample in c++,mfc
-- modified at 1:28 Tuesday 9th May, 2006
|
|
|
|
|
This will make your day[^]
Don't forget to thank Mr. Naughter
Large cats have been scientifically proven to dream. Among the recurring themes are balls of yarn, mice, and half-blind overweight shackled oryx.
|
|
|
|
|
I am using windbg for stack trace a crash in my program.
Kb command gives only this stack trace..
ChildEBP RetAddr Args to Child
0012fd60 00000000 77c5aca0 00000000 0012fdb0 MyProg!_output+0x18
I don't see any other callstack and RetAddr..
Can anyone let me know how can I get more info about the cause of the stack..
|
|
|
|
|
The standard command I issue is "kvn 1000 ". Of simply select "View->Call Stack" and use the button to select what you're interested in.
Steve
|
|
|
|
|
Sir
when ever i try to open ClassWizard through Ctrl+W or by right click. when ClassWizard dialog opens . A messagebox is popping up.saying *.plg file is modified outside the editor do you want to reload it? to fix this i have closed the Visual Studio editor and deleted *.NCB file and *.Clw file and i have rebulid the entire project. Even doing so the problem is not fixed i am facing the same problem. pls help me how can avoid this message box popping up so that i can access the classwizard.thank u.
Fly Like An Eagle With MIGHTY POWER.
|
|
|
|
|
I think you have this file *.plg open in the editor. Go to the menu -> Window->And then select the *.plg file. It opens up in the editor. Now close it using Ctrl+F4 or close it using the X button etc.
This file is generated during the compile and link process.
this is this.
|
|
|
|
|
I used to delete the following files.
*.APS
*.NCB
*.OPT
*.PLG And sometimes the below when it gets more trouble.
*.CLW
*.DSW
Maxwell Chen
|
|
|
|
|
Hai
Is it mandatary that every Windows CALLBACK funtion must
be Registered with the Windows(O.S)? Pls help me in knowing the concepts better.
Fly Like An Eagle With MIGHTY POWER.
|
|
|
|
|
satishvarma_e wrote: Is it mandatary that every Windows CALLBACK funtion must
be Registered with the Windows(O.S)? Pls help me in knowing the concepts better.
What do you imply by the term "Registered"?
Nibu thomas
Software Developer
Faqs by Michael dunn
|
|
|
|
|
Yes I do agree.it is mandatory,compulsory to register every callback funcn
i think u hv learned these with hema kumar sir
|
|
|
|
|
|
Nibu thomas wrote: Who is that? Were you replying to me??
Therefore we'd better quote something when replying. Recently the forum threading used to get messed up.
Maxwell Chen
|
|
|
|
|
Maxwell Chen wrote: Recently the forum threading used to get messed up
Yes yes
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[V]--
[My Current Status]
|
|
|
|
|
You have to pass its address to Windows so it knows what to call back.
Steve
|
|
|
|
|
You might be confusing Registering Windows Messages with using Callback functions. They are not the same thing.
"What classes are you using ? You shouldn't call stuff if you have no idea what it does" Christian Graus in the C# forum
led mike
|
|
|
|
|
he might be confused by registering of WNDClass ,which has CALLBACK FUNCTION WinProc as a parameter,using RegisterClass().
never say die
|
|
|
|
|
is there a simple way to scan an image into one of my dialogs in my application? i am using vc++ 6.
|
|
|
|
|
maybe it is some helpful to you
here [^]
|
|
|
|
|
Try to google for TWAIN devices, might help
Large cats have been scientifically proven to dream. Among the recurring themes are balls of yarn, mice, and half-blind overweight shackled oryx.
|
|
|
|
|
Hi! I'm using TWAIN to interface with a scanner. The function DSM_Entry is accessed via a loaded DLL, TWAIN_32.DLL:
m_hTwain = LoadLibrary(_T("TWAIN_32.DLL"));
m_DSMEntryProc = (DSMENTRYPROC)GetProcAddress(m_hTwain, (LPCSTR)MAKEINTRESOURCE(1));
I then call the procedure using:
TW_UINT16 nRes =(*m_DSMEntryProc)(&m_appID, pDest, dg, dat, msg, pData);
however, some calls need for pDest to be null, (like the triplet DG_CONTROL / DAT_IDENTITY / MSG_USERSELECT for those who know TWAIN).
Unfortunately,when pDest is null for this call, an access violation appears. For other triplets, the call is OK. Has anyone encountered this before? Am I passing "NULL" the wrong way?
Thanks!
|
|
|
|
|
ilidan wrote: however, some calls need for pDest to be null, (like the triplet DG_CONTROL / DAT_IDENTITY / MSG_USERSELECT for those who know TWAIN).
Unfortunately,when pDest is null for this call, an access violation appears. For other triplets, the call is OK. Has anyone encountered this before? Am I passing "NULL" the wrong way?
There should be some kind of documentation to explain the parameters!
Nibu thomas
Software Developer
Faqs by Michael dunn
|
|
|
|
|
please ,
how i can solve this problem ..........................
The output of this segment code must be .... ( 7 )
where base = 7 , power 3 , mod = 33
i write this code to find this formula when the number is too big
result = pow( base , power ) % mod
long MODLD( long base , long power , long mod )
{
long result = base ;
long i = power ;
if( i % 2 != 0 )
{
i-- ;
}
for( ; i > 1 ; )
{
result = ( result * result ) % mod ;
// cout<
|
|
|
|
|
shereem khaleel wrote: The output of this segment code must be .... ( 7 )
std::cout << 7 << std::endl;
bad joke... I know.
Maxwell Chen
|
|
|
|
|
7^3 = 343
343/33 = 10.393939393939393939393939393939
(10.393939393939393939393939393939-10)*33 = 13
Now to verify
10*33 + 13 = 343
The result should be 13 not 7.
Steve
|
|
|
|