Forgot your password?
Sign in with
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View Python questions
View C++ questions
View Java questions
All Message Boards...
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Design and Architecture
Internet of Things
C / C++ / MFC
ATL / WTL / STL
Objective-C and Swift
Hardware & Devices
Hosting and Servers
.NET (Core and Framework)
Site Bugs / Suggestions
Spam and Abuse Watch
The Insider Newsletter
The Daily Build Newsletter
Most Valuable Professionals
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
What is 'CodeProject'?
Ask a Question
Bugs and Suggestions
Article Help Forum
Comments by Ali Fakoor (Top 12 by date)
If you want it more safe (i.e: peaceful), better to typedef the input type for vector template as
typedef base *(*BaseCreatorFuncType)()
std::vector <BaseCreatorFuncType> vectorArray;
See also the points 33.5 and 33.6 in http://www.parashift.com/c++-faq-lite/pointers-to-members.html#faq-33.5
They are described for c++ and pointer to methods but they well apply to function pointers as well.
Reason for my vote of 5
good information about code formatting
Well, recursive is always more fun to write but as you already mentioned a little more complex for reading.
Well here you are presented with solution #5 below. See the CalcRow function.
Well yes, it appears so!
Thanks for your interest to share the solution in advance.
Just a question, does it happen by chance that you copied the updater application from the main application (cloning main app and then modifying it to become the different updater app).
If so I remember that two types of icons were stored in the app, one the small size which are used for the taskbar icon, other for the shortcut icon, etc. (Just sharing my old memories, not sure whether it helps here)
didn't get your question very well. Do you want to do programming in c++ (e.g.: writing a browser plugin?)?
The name suggests that it shows that the compilation platform is Windows CE or not (WCE).
Are you trying to develop the new version for PC?
could you post the portion of code indicating
could you include the line of source code that generates the error?
On the other hand I think its length is reasonable and the concepts are modularized in different functions. well everyone has his own idea let others decide.
There is no more information available in this solution than saying:
//perform the job here!!!
It is like saying a rectangle is a 2-dimensional object. or a N x N matrix has N rows and N columns!!!, isn't it?
The reason for posting the solution below was that it appeared to have no relevant information even regarding the first solution by the same author ("how far ... from ...").
I see an error [may be typo] in the code regarding InternetConnect. You say you are connecting to https (normally port 443) in the line's comment , while actually you entered 80 (http port) and also mentioned service type of http.
Collapse | Copy Code
80, // HTTPS port
INTERNET_SERVICE_HTTP, // Service
Moreover, you specified a read access type while creating the file (CreateFile) which also seems to be an error:
GENERIC_READ, //Desired Access
I think GUI is for graphical user interface, while terminal emulators are [normally] used for text-based user interfaces(e.g: ASCII terminals).
Can you explain more if you want to transfer text or graphic.
Is it something like a VNC server and client that you want to implement? (http://www.uvnc.com/)[OK, just have a glance on the description not the source code! ;-)]
In other words, is it suitable for you to use a pre-existing VNC server on linux and implement your own VNC client on windows?
What about threading/parallelism offered by the hardware:
Does the crash occur when setting the processor affinity to run the program only on one core of the CPU? Could you give it a try.
Could you please split this line:
pIEPGraphicData = db_attributes->GetGraphicData(); // here my app got crashed
IEPGraphicData* pTemp = db_attributes->GetGraphicData(); //Craches here?
pIEPGraphicData = pTemp; //Or here?
to see whether the crash occur in the method call or in the assignment (copy).
Last Updated 1 Jan 1900
All Rights Reserved.