Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
77% Quality Score
Upvotes Received
8
Posts with Upvotes
6
Upvoting Members
7
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
4 Commented Posts
0 Endorsements
Ranked #1K
~63.7K People Reached
Favorite Tags

54 Posted Topics

Member Avatar for ganesh_bala

The argument to the "exit()" function is passed back to the calling process by the operating system. If you run the program from a command line, a command line script may be able use the return value to cause it to do something, or it may simply ignore the return …

Member Avatar for chandanraj
0
702
Member Avatar for robinotje

Have a look here [URL="http://msdn.microsoft.com/en-us/library/aa365488%28VS.85%29.aspx"]http://msdn.microsoft.com/en-us/library/aa365488%28VS.85%29.aspx[/URL]

Member Avatar for Ancient Dragon
0
15K
Member Avatar for ObjectOriented

Making member private make them hidden from outside world. So that only class's public member(which is only accessible from outside world) can modify them. Which is called abstraction in OOP. This is the great feature defined by OOP and adopted by c++, c#, java like languages. Hiding data member prevents …

Member Avatar for Divyab
-1
308
Member Avatar for haris riaz

> combination a; > a.make_combinations(0); If your combination class has member m_progress which you are initializing in OnButton2() function. But to call make_combinations fucntion you are creating another object of class combination whose m_progress is not yet initialized. see this code void combination::OnButton2() { // TODO: Add your control notification …

Member Avatar for ashishchoure
0
278
Member Avatar for CodyOebel

As per my knowledge due to some security issue on vista and above os's SendMessage and PostMessage Api are disabled if they used to send message across process. You can use this API to send msg within process, parent wnd to child wnd. We had faced same problem. To overcome …

Member Avatar for ashishchoure
0
477
Member Avatar for ashishchoure

Hi Guys, Is this right to say Heap is RAM and Stack is Pagefile(HardDrive)? Sorry for silly question. :?:

Member Avatar for ashishchoure
0
169
Member Avatar for pie555

If you have support to MFC library then you can use CImage class. Its very easy to saving image as jpeg using CImage. Just pass handle to bitmap to CImage or load it from hard drive. Call Save function and specify jpeg as saving type.

Member Avatar for pie555
0
2K
Member Avatar for jaffar_ramnad

MSDN documentation is good enough for MFC classes instead of looking books for them. [URL="http://msdn.microsoft.com/en-us/library/09dd1ycd%28v=vs.71%29.aspx"]Windows Sockets in MFC[/URL]

Member Avatar for ashishchoure
0
74
Member Avatar for blackcloudbd
Member Avatar for javanub123
Member Avatar for ekailan

Most probably you have defined entry point in linker advance setting in visual studio 2008. Make sure there is no additional entry point.

Member Avatar for ekailan
0
130
Member Avatar for ashishchoure

Hi, I am just trying to do some down casting. here is the code. [CODE] class Base { public: void virtual test() { cout << "Base Test"; } }; class Derived : public Base { int i; int j; public: void testD() { i = 8; j = 9; cout …

Member Avatar for Fbody
0
123
Member Avatar for sudoku43

To adjust size of your console window, only modify the size of cmd.exe console. Because implicitly cmd.exe provides console to our exe Here is the steps: 1. Goto Run 2. type cmd 3. Right click on TitleBar 4. Goto Property 5. Set the height and width as per your requirement …

Member Avatar for sudoku43
0
23K
Member Avatar for ashishchoure

Hi, My Application's icon is not getting displayed after disabling "System Menu" option from Dialog Property. I don't want to use the system menu and close button. See the attachment for detail.

0
67
Member Avatar for arsalanghouri

[URL="http://www.codeproject.com/KB/applications/xtimer.aspx"]http://www.codeproject.com/KB/applications/xtimer.aspx[/URL]

Member Avatar for arsalanghouri
0
84
Member Avatar for CanYouHandstand

Refence taken from MSDN wParam The high-order word indicates the distance the wheel is rotated, expressed in multiples or divisions of WHEEL_DELTA, which is 120. A positive value indicates that the wheel was rotated forward, away from the user; a negative value indicates that the wheel was rotated backward, toward …

Member Avatar for CanYouHandstand
0
2K
Member Avatar for rkp728

That is not the solution. Donald was asking right question. There is only two way 1st is to build ur binary with static link to MFC dll or 2nd U will need to ship MFCVC80.dll with ur binary

Member Avatar for rkp728
0
151
Member Avatar for ayan2587

may be this help [URL="http://www.daniweb.com/forums/thread120373.html"]http://www.daniweb.com/forums/thread120373.html[/URL]

Member Avatar for ashishchoure
0
8K
Member Avatar for john10
Member Avatar for john10
0
2K
Member Avatar for Falmarri
Member Avatar for Falmarri
1
144
Member Avatar for mucoool
Member Avatar for Luks
Member Avatar for Luks
0
843
Member Avatar for Learning78

What message do you get when you run application on another PC? Try to build exe with "Use MFC in static DLL" option

Member Avatar for ashishchoure
0
69
Member Avatar for tajendra

[URL="http://support.microsoft.com/kb/235496"]http://support.microsoft.com/kb/235496[/URL] You can use Dr. Watson postmortem debugger for crash dump. [URL="http://support.microsoft.com/kb/308538"]http://support.microsoft.com/kb/308538[/URL]

Member Avatar for ashishchoure
0
91
Member Avatar for ashishchoure
Member Avatar for ashishchoure
0
86
Member Avatar for Learning78

hi, [CODE] void CCTRL::OnBnClickedAns() { UpdateData(TRUE); // 1. Bind control and data // Check string associated with your Edit Box is empty or not if(m_strEdit == "") { // If yes then disable the control GetDlgItem(IDC_ID_EDITBOX)->EnableWindow(FALSE); } UpdateData(FALSE); } [/CODE]

Member Avatar for Learning78
0
2K
Member Avatar for ashishchoure

Hi, I am using CArchive class to transfer file in my chat application . The problem is that when i send data through CArchive write and flush, the CArchive Read gets hang in last transmission. I've gone through msdn [URL="http://support.microsoft.com/kb/192704"]http://support.microsoft.com/kb/192704[/URL]. it is telling that it requires one more flush or …

0
75
Member Avatar for VilePlecenta

If you are using vc 6.0 then old fashioned UI u will get. If u are using vc 2005(I dont know exact reason)and in project property if u use [B]"character set"[/B] = [B]Use Unicode Character Set[/B] then u will get ur dialog box's style as newer one.

Member Avatar for VilePlecenta
0
289
Member Avatar for ashishchoure

hi , I am using SYSTEM_INFO structure to know the processor architecture of machine. I did this [CODE] SYSTEM_INFO sys; memset(&sys,0,sizeof(sys)); GetSystemInfo(&sys); [/CODE] For Intel Pentium machine it is giving right information i.e. sys.dwActiveProcessorMask 3 sys.dwAllocationGranularity 65536 sys.dwNumberOfProcessors 2 sys.dwProcessorType 586 sys.wProcessorArchitecture 0 sys.wProcessorLevel 15 sys.wReserved 0 but running this …

Member Avatar for ashishchoure
0
234
Member Avatar for anthony5557

Have you debugged your code. You are getting only first word by [COLOR="Green"]cin>> Phrase;[/COLOR] statement. Why this is happening? Oh Cin delimits the string by [B]SPACE[/B] . Ok, so You need to get whole line first. Than search all space and count all words i.e. no of space + 1

Member Avatar for mrnutty
0
175
Member Avatar for ashishchoure

hi, I am creating a ThreadPool. I know that thread pool is collection of [B]live threads[/B]. Its main purpose is to assign task to any of available thread. I am not going through any complex tutorial available on net. So I am just creating threadpool by my own. For this …

Member Avatar for ashishchoure
0
345
Member Avatar for ashishchoure

hi, I want to know how to get name of connected peer. I am creating a simple client server application using winsock2. When I use getpeername() function it gives me IP of client machine. After connecting i did following step [CODE] sockaddr_in peeraddr; int size = sizeof(peeraddr); getpeername(New_Socket, (struct sockaddr …

Member Avatar for Excizted
0
1K
Member Avatar for ashishchoure

hi, I have one query that create process funcion retuns bool value. And i want to know the exit code of my exe which i ran through create process function. EX. [CODE] int main() { return 5; } [/CODE] this exe is returning 5. I ran that exe by createprocess …

Member Avatar for ashishchoure
0
105
Member Avatar for ashishchoure

Hi, I captured Windows Vista image using Sysprep with some IP. Now i am deploying this Image to machine that has different IP. The image is getting deploy properly but the problem is that it is showing two IP address. EX: Ip of machine which image to be captured : …

Member Avatar for ashishchoure
0
88
Member Avatar for ashishchoure
Member Avatar for Tigran
0
85
Member Avatar for shaikh_mshariq

* Run regedit * go to HKEY_CLASSES_ROOT\* * right-click on *, new > key * name the new key "shell" * right-click on shell, new > key * name the new key "[B]MyOption[/B]" * right-click on Scite, new > key * name the new key "Command" * Click once on …

Member Avatar for ashishchoure
0
169
Member Avatar for tomtetlaw

u cant pass function as a parameter. if u want to do so then create function pointer pass it to another function and then call fuction using that pointer. void my_int_func(int x) { printf( "%d\n", x ); } int main() { void (*foo)(int); /* the ampersand is actually optional */ …

Member Avatar for mrnutty
0
109
Member Avatar for jen140
Member Avatar for jen140
0
255
Member Avatar for iammfa

1.`argc` stands for argument count. It's the number of arguments passed to the program via the command-line. The first agument is always the name of the program it's self (or rather, the path used to execute it). An easy way to understand this is with the followign program: #include <stdio.h> …

Member Avatar for JameB
0
105
Member Avatar for shea279

it is so easy brother first add menu(create new or existing one) to your resource file. now go to your dialog and select whole dialog not any control then right click on it then goto property and select Menu option and give menu id thats it now compile and run …

Member Avatar for shea279
0
88
Member Avatar for clisen
Member Avatar for ashishchoure
0
195
Member Avatar for redserpent7
Member Avatar for ashishchoure

hi friends, i would like to know how to highlight text in dialog's Edit box and List box. Is there any mfc api for that ??

Member Avatar for kvprajapati
0
171
Member Avatar for ashishchoure

hi , can anyone tell how to define AND operator by regular expression. Actually I want to return match if and only if 2 substrings will appear in string. For example i have string "[B]Successful Logon: User Name: Administrator Domain: Logon ID: (0x0,0x154CB759) Logon Type:2 Logon Process: Advapi Authentication Package: …

Member Avatar for ArkM
0
340
Member Avatar for ashishchoure

Hi, I have PCRE library for window 32 bit . I want it for window64 bit From where can i get this? I have source code also and i built it on 64 bit machine but created library is not supporting.

Member Avatar for ashishchoure
0
188
Member Avatar for ashishchoure

hi, can anybody tell that how do we get group SID. we have user SID but how can i know to which group that SID belongs

Member Avatar for ashishchoure
0
112
Member Avatar for ashishchoure

hi, can anyone tell what is major difference between vs2005 and vs6. i want to know coding related difference not related to UI.In what extent vs2005 different for c++ from vs6

Member Avatar for ashishchoure
0
152
Member Avatar for ashishchoure

hi i want to know how to delete lines from text file using command prompt .is there any specific MSDos command for doing this. or any tool available which read,write text file by running command prompt.

Member Avatar for Murtan
0
95
Member Avatar for ashishchoure
Member Avatar for ashishchoure

hi there, i have to add .NET Framework version 3.0 Object in object list . i am using install shield 2008.I have downloaded that redistributable from redistributable downloader in tools option but where it got install on my system i dont know. And how to import it in my project …

0
81

The End.