Click here to Skip to main content

Comments by PrafullaVedante (Top 79 by date)

PrafullaVedante at 14-Apr-14 6:20am View
   
Error is like
= 0x80070716 The specified resource name cannot be found in the image file.
PrafullaVedante at 27-Feb-14 1:48am View
   
libxml_mdd.lib is a static library.
 
You are right. We can get rid of this problem using a wrapper dll. I am going ahead with this approach as a workaround. Will investigate more once i finish the work.
PrafullaVedante at 27-Feb-14 1:46am View
   
/FORCE:MULTIPLE is a worse solution i guess. Because these definitions are coming from three different libraries, and we dont know if they are same. Its more probable that they are different symbols with same name.
PrafullaVedante at 26-Feb-14 7:31am View
   
I have updated the question with full error.
PrafullaVedante at 16-Jan-14 2:37am View
   
Please check the function DllMain of the problematic dll. Remove everything from the function and try. We should not call anything from the DllMain whose code is resided in another dll.
PrafullaVedante at 6-May-13 3:48am View
   
add .lib file inwhich packet_handler function is located in linker path .....
 
For visual studio you should add .lib file at Project Settings-->Linker--->Input
PrafullaVedante at 21-Jan-13 3:35am View
   
Check out for Euler's Tour traversal technique for binary tree .... It may help
PrafullaVedante at 11-Jan-13 14:18pm View
   
Ammmm ..... Do you mean that following is also allowed ??
 
void A::PrintMessage(int i ) { ... }
void A::PrintMessage(const int i ) { ... }
 
//If you compile above code .... you will get compilation error
PrafullaVedante at 11-Jan-13 3:41am View
   
Sergey Alexandrovich Kryukov,I am totally agree with you.
PrafullaVedante at 11-Jan-13 3:40am View
   
Thanks Rahul for the answer :)
PrafullaVedante at 1-Jan-13 23:58pm View
   
he he he he he .... If someone is asking you for a solution...then the code shown by him must be the part of the code ...and not whole project .... right ?? How could it possible to replace whole code of project to java .....just because there is problem in only one part of the code ....... Your solution seems most useless solution on Codeproject ...... Still i restrain myself to downvote your solution........ you made my day by giving me a joke of the day .....he he he he he
PrafullaVedante at 9-Nov-12 4:37am View
   
Yupp .... its defined in another header file. Thanks ...
 

You got it right on first shot ... :) After removing the #define Code is compiling fine now ..
PrafullaVedante at 6-Nov-12 0:52am View
   
http://www.daniweb.com/software-development/cpp/threads/280425/evaluating-numerical-expression-using-stacks
PrafullaVedante at 22-Oct-12 3:20am View
   
is ther anything which is native ? and not third party ?
PrafullaVedante at 8-Oct-12 7:37am View
   
AcceptSocket is a blocking call. Your execution will be blocked until you receive any request from client.
PrafullaVedante at 4-Oct-12 2:16am View
   
ammm ... is ther any way if i just want to check the status of the connection.
 
If i use return code of send , i will need to send something each time to check connection's aliveness.. :(
PrafullaVedante at 7-Sep-12 4:14am View
   
he he he he he he good one ....
PrafullaVedante at 14-Aug-12 3:17am View
   
Ammmm ...
Have a look at this http://msdn.microsoft.com/en-us/library/windows/desktop/ms682583%28v=vs.85%29.aspx
 
It says that , there are very few operations which you can safely do in dllMain.
PrafullaVedante at 13-Aug-12 6:44am View
   
It was crashing , as i was calling OCIInitialize function from dllmain function. i moved it to other function and the code is working.... Moral of the story : Thumb rule is , we should not use any user code in dllmain.
PrafullaVedante at 25-Jul-12 23:01pm View
   
he he he Good one :)
PrafullaVedante at 25-Jul-12 11:00am View
   
It was crashing , as i was calling OCIInitialize function from dllmain function. i moved it to other function and the code is working....
 
Moral of the story : Thumb rule is , we should not use any user code in dllmain.
PrafullaVedante at 25-Jul-12 10:54am View
   
Try using only tlbimp interopx.dll
PrafullaVedante at 20-Jul-12 2:54am View
   
Done :)
PrafullaVedante at 21-Jun-12 6:47am View
   
strtol also has same problem.
PrafullaVedante at 19-Jun-12 12:43pm View
   
Deleted
You need it at Runtime .... right ??
Have a look at my solution
PrafullaVedante at 27-May-12 0:36am View
   
Please check with your email relay server admin. They might have introduced ESMTP , which requires credentials for sending mails.
PrafullaVedante at 24-Feb-12 5:25am View
   
Use Remotedesktop COM component in your program. Why are you developing whole thing at your own ?
PrafullaVedante at 15-Nov-11 1:03am View
   
SAKryukov, I think you have your stomach disturbed again. Go to toilet instead of throwing such arrogant Solutions.... Shame on you...
PrafullaVedante at 14-Nov-11 5:45am View
   
What is isDigit function ??
Please post it too
PrafullaVedante at 11-Nov-11 2:00am View
   
Deleted
Reason for my vote of 5
Very imp info.
PrafullaVedante at 4-Aug-11 7:18am View
   
My 5.
PrafullaVedante at 1-Aug-11 3:24am View
   
Just try to create a new COM project in the VS 2005 with the MFC as a shared library. And observe the stdafx.h . Copy these entries to your stdafx.h
 
I doubt if atl.h or some header file needs to be included in stdafx.h
 
This is just a guess ...... but see if it works for you.
PrafullaVedante at 30-Jul-11 5:32am View
   
Perfect. My 5 :)
PrafullaVedante at 29-Jul-11 4:29am View
   
bang bang ...... @R.Eramus
 
Use ASSERT for the validation puprose at the development time only.
Using it in "while" or any decision taking statement should be avoided.
 
Adding and removing ASSERT should not change the behaviour of your program.This macro is designed to capture programming errors, not user or running errors
PrafullaVedante at 27-Jul-11 8:01am View
   
How to do this ?
PrafullaVedante at 27-Jul-11 6:41am View
   
I have installed Windows 7 on my machine with two quad core processors. Ideally it should show 8 processors in the task manager performance tab. But it is showing only 2.
 
Why is it so ??
PrafullaVedante at 27-Jul-11 4:39am View
   
Check this out .... http://www.parashift.com/c++-faq-lite/serialization.html
 
Serialization is the thing you are looking for i gueess....
PrafullaVedante at 27-Jul-11 4:38am View
   
Yupp. Agreed.
PrafullaVedante at 27-Jul-11 4:29am View
   
XML is not a language specific. You can use it in C as well.
 
In case you require different kind of solution just Check out for "Data Serialization for C" on the net
PrafullaVedante at 25-Jul-11 11:46am View
   
he he he thats right ..
PrafullaVedante at 22-Jul-11 7:06am View
   
Thanks Stefan :)
PrafullaVedante at 22-Jul-11 7:04am View
   
Deleted
Thanks Stefan :)
PrafullaVedante at 22-Jul-11 3:36am View
   
Sorry boss ;) :) Thanks anyways
PrafullaVedante at 19-Jul-11 5:11am View
   
I got the answer i am using %I64d in fprintf.
PrafullaVedante at 19-Jul-11 5:11am View
   
I got the answer i am using %I64d in fprintf.
PrafullaVedante at 19-Jul-11 5:11am View
   
Hie ...
I got the answer i am using %I64d in fprintf.
 
Thanks anyways.
PrafullaVedante at 19-Jul-11 4:12am View
   
Thanks for the suggession. I am using it , but the problem is how to write it to the file, as it takes __int64 as an output parameter
PrafullaVedante at 19-Jul-11 4:11am View
   
Deleted
Thanks for the suggession. I am using it , but the problem is how to write it to the file, as it takes __int64 as an output parameter.
PrafullaVedante at 19-Jul-11 2:58am View
   
Which one should i use to measure the performance ?
PrafullaVedante at 18-Jul-11 4:30am View
   
Deleted
Nope.
"0x22fefc" will be considered as a literal here ... Literals dont have address or cant be treated as an address.
PrafullaVedante at 13-Jul-11 4:03am View
   
SAKryukov Do you have your stomach disturbed today or what ??
Why are you so arrogant ?? If you dont want to answer just seat on your chair and listen songs or watch tv..... there are many things in the world which you can do rather than spitting in Codeproject....
 
Get Well soon....
PrafullaVedante at 6-Jul-11 6:06am View
   
Error comes at runtime .... Program shows error about memory corruption at the exit.
PrafullaVedante at 5-Jul-11 2:43am View
   
It works. :)
 
But why the earlier case fails ? :(
PrafullaVedante at 5-Jul-11 2:32am View
   
:(
PrafullaVedante at 5-Jul-11 2:22am View
   
It gives the same error for p[1]='A' also.
PrafullaVedante at 30-Jun-11 3:05am View
   
Thanks , my 5
It works best for 3 threads on quad core :)
PrafullaVedante at 30-Jun-11 3:04am View
   
Thanks for your answer my 5.
 
I have cpu bound application. It gives best performance for 3 threads for quad core.
PrafullaVedante at 28-Jun-11 4:38am View
   
This is not correct. Memory will be freed once the process terminates.
Please refer Inside Windows NT book for detailed information.
PrafullaVedante at 28-Jun-11 2:52am View
   
Bill gates developed such kind of stuff when he was younger. Linus Torvalds started Linux project when he was studying in university. Do not demoralize/underestimate the one who want to discover something new in the area of technology. Anything can be possible.
 
Even if he is not serious he can start it just for fun to know OS internals ...
PrafullaVedante at 28-Jun-11 1:50am View
   
Bill gates developed such kind of stuff when he was younger.
Linus Torvalds started Linux project when he was studying in university.
Do not demoralize/underestimate the one who want to discover something new in the area of technology.
 
Anything can be possible.
PrafullaVedante at 28-Jun-11 1:47am View
   
Very Harsh comment :(
PrafullaVedante at 23-Jun-11 7:55am View
   
GC.collect()
PrafullaVedante at 23-Jun-11 2:48am View
   
You can give any name to your function but its prototype should be
 
DWORD WINAPI FunctionName(LPVOID lparam)
PrafullaVedante at 8-Jun-11 6:11am View
   
In recent times we accidentaly deployed the application with debug builds which links to debug runtime dlls. I just want to develop an applicatio which i can put on build machine which will check for the debug depdency so that we can avoid the application failure at customer end.
PrafullaVedante at 8-Jun-11 5:36am View
   
Is ther any programatical way ?
PrafullaVedante at 7-Jun-11 3:54am View
   
Good one.
PrafullaVedante at 6-Jun-11 4:09am View
   
:)
PrafullaVedante at 6-Jun-11 4:09am View
   
Deleted
:)
PrafullaVedante at 6-Jun-11 3:13am View
   
Thanks :)
 
This is the fastest answer i got on the codeproject .
PrafullaVedante at 3-Jun-11 2:54am View
   
Craete an C# application.
Go to View ---> Toolbox
 
In the toolbox look for WebBrowser control
 

Drag it to your dialog box ....
Now in your code try to access webbrowser1.Document
 
here Document is nothing but the object of HtmlDocument.
 
You can use this object to manipulate the HTML loaded in the WebBrowser component.
 

(here webbrowser1 is the object of Webbrowser created by the Visual studio after you place the control on the dialog box. Name could be different in your case like webbrowser2, webbrowser3)
PrafullaVedante at 2-Jun-11 8:39am View
   
Sorry ....i forgot to add ....
 
You can then write the data to CSV format which can be opened in Excel.
PrafullaVedante at 26-May-11 2:54am View
   
Thanks a lot. It works.
PrafullaVedante at 26-May-11 2:53am View
   
It do not work without NULL character.
PrafullaVedante at 26-May-11 2:38am View
   
You got it perfect :)
PrafullaVedante at 13-May-11 1:33am View
   
Yes, i used VS2008 to develop the testapp.
 
Debugger end up in showing some error within ntdll.
PrafullaVedante at 12-May-11 6:11am View
   
yes i have converted all the related projects to VS2008.
 
There are 2 Dlls .... Flow is like this
 
Application--> DLL1--->DLL2--->OCI Wrapper DLL(3rd party)-->OCI.dll(Oracle dll)
 
oci.dll has coresponding oci.lib , it is a C api.
 

One more thing i found is, when i comment out OCI_Initialize function from the code, All gets loaded successfully. OCI_Initialize is a function from OCI_Wrapper.
 

Hence to verify, i have created a test application which will directly call the OCI_Wrapper functions. This testapplication works properly.
 
Now i am totally confused ...why is it so ?? All dependent DLLs and lib files are in the place. I am using all release builds configuration.
PrafullaVedante at 12-May-11 5:53am View
   
Actualy this error is related to DLL initialization. I cannot figure out exact location of the error as it crashes even before the start of the execution.
 
Can you help me in this regard.
PrafullaVedante at 6-May-11 10:23am View
   
Nope, I am not using openCV.
PrafullaVedante at 6-May-11 9:51am View
   
I face this error on Dev machine.

Advertise | Privacy | Mobile
Web01 | 2.8.140916.1 | Last Updated 1 Jan 1900
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid