|
In explorer, do a search for *h, *.cpp, *.rc etc from the root of the project. Show details.
Sort by date. Are any of the files "newer" than "now"? If so, open them edit them trivially
(i.e. press <space> and <delete>) and save them. Clean the project and compile. This will do
a full compile, but now everything should be in sync. (Not the pop group...)
Iain.
ps. I've had this problem copying between my laptop and main pc when I've come back from the
far east and forgotten to change my clock back...
|
|
|
|
|
hi, mate, it works!
many thanks and
far east is a magic place, isn't it?
includeh10
|
|
|
|
|
There are have many library such as GDI, GDI+, OpenGL, DirectX.
I want to build small image viewer that able to zoom, score with dithering on 16-bit screen display mode.
Could any one tell me, if I have an image in memory what is the fastest way to show it on screen?(both in window's frame and full-screen mode without resolution and color-depth change) What's library you use?
|
|
|
|
|
I normally use GDI/MFC for my "serious" programming as I'm not writing games. Ease of writing /
debugging is more important here than performance. I've not touched GDI+ but it does appear a
little easier. But with more overhead...
For raw speed of display I'd go with DirectX. But you pay the penalty in programming headache.
OpenGL is good for 3d stuff, but I've found it not so good for 2d work.
In the final analysis, "It depends". If performance wasn't critical to you, you wouldn't be
asking, so I'd have to say DirectX.
Iain.
|
|
|
|
|
How i can create a setup application using Windows Installer SDK. Let me know from where i can get Source Code. or anything that can help.
|
|
|
|
|
I would like some information on this as well. I remember when the MSI thingy came out there was a tool (I think from Microsoft) that let you create a installer from a Wizard. But the only thing I can find now is the SDK, wich as of right now I don't have the time to dive into and learn.
-----
IMHO: C# a poor attempt at bringing C++ to the VB masses
-----
|
|
|
|
|
I need to generate an XML file from a bytearray. Can somone help me with that?
thanks
|
|
|
|
|
My prefered XML library is XML4C[^]. Much more efficient than MSXML and open source to boot.
/ravi
Let's put "civil" back in "civilization"
http://www.ravib.com
ravib@ravib.com
|
|
|
|
|
Ravi Bhavnani wrote:
My prefered XML library is XML4C[^]. Much more efficient than MSXML and open source to boot.
Ravi, have you tried our own pugxml http://www.codeproject.com/soap/pugxml.asp[^]?
I'm using this more and more and just love it. Mind you it is probably a bit light on, compared to XML4C, but do you realy need all that extra stuff. The answer I'm sure is, it depends.;)
Neville Franks, Author of ED for Windows. www.getsoft.com
Make money with our new Affilate program
|
|
|
|
|
I was impressed by Kristen's article. We've been using XML4C for a couple of years, hence the continuation. The latest version (5.2) contains some nice features and uses the latest Xerces (2.2) parser.
/ravi
Let's put "civil" back in "civilization"
http://www.ravib.com
ravib@ravib.com
|
|
|
|
|
Hi all
ONX_Model is a class.
class CModel : public ONX_Model
{
}
what does this mean?
Thanks
|
|
|
|
|
it means that CModel inherit class ONX_Model.
It is a inheritance.
|
|
|
|
|
ONX_Model is an existing class.
And u r inheriting a class CModel with a public visibility mode
|
|
|
|
|
Hi guys,
I am trying to call Invalidate(FALSE) function from a thread to update my screen, I am getting error "illegal call of non-static member function". I want to update the screen after I process some data in my thread. How to do that?? can anybody suggest something?
Regards
Satya
|
|
|
|
|
your thread function is a static function i.e. it does not operate on a specific object and does not have a 'this' pointer.
Invalidate() is a non-static method i.e. it requires an object to operate on. you need to pass an object pointer through to the thread (typically as the thread parameter) and then use that to call Invalidate() i.e.
<br />
CWnd* pThis = (CWnd*) threadParam ; <br />
pThis->Invalidate( FALSE ) ; <br />
Software is everything. It also sucks. Charles Fishman [^]
Awasu 1.0.2 (beta)[^]: A free RSS reader with support for Code Project.
|
|
|
|
|
It isn't a good idea to try and use CWnd objects in worker threads, because they don't appear in the handle map for the worker thread. This leads to all sorts of problems. Better to just use the HWND (Window Handle).
Neville Franks, Author of ED for Windows. www.getsoft.com
Make money with our new Affilate program
|
|
|
|
|
If you have HWND via GetSafeHwnd or m_hWnd been passed to your function,
just call api's directly ::InvalidateRect(hwnd,NULL,FALSE);
|
|
|
|
|
Hello all, does anyone here know of any tools that could port MFC codes or libraries to MacOS X Jaguar?
Some URLs would be great.
Thank you
|
|
|
|
|
For serious xplatform GUI development, I recommend Qt[^]. Not cheap, but worth it imho.
/ravi
Let's put "civil" back in "civilization"
http://www.ravib.com
ravib@ravib.com
|
|
|
|
|
I have been messing around with wxWindows. In my opinion its a great library. the syntax is very similar to MFC, so MFC coders will take to it right away. Best of all its.. FREE. Most of my MFC apps I have successfully converted to wxWindows, and with very little effort have compiled them under Win32, Mac, and Linux. It might be worth a try.
http://www.wxwindows.org[^]
-----
IMHO: C# a poor attempt at bringing C++ to the VB masses
-----
|
|
|
|
|
Yes, I've heard good things about wxWindows too, although I haven't used it personally.
/ravi
Let's put "civil" back in "civilization"
http://www.ravib.com
ravib@ravib.com
|
|
|
|
|
It is a good tools indeed but so sad that we had started our project in MFC
but still, a big thanks
|
|
|
|
|
If your application is already coded in MFC, too bad, you will need to restructurize everything, extract all GUI stuff from the core code.
The 2 models are quite different, and the UI toolkit work differently; not just the UI, but also the file system.
Depending on the size of the application, it can be a huge task; once you start doing it, you can't really stop, it's like a one way tunnel, you cannot back away without loosing a ton of money and time.
I used to work for a company that had an MFC application (graphical application, lots of UI )that needed to run on Mac OS X, and we figured it would take about 1 year with 6/7 programmers to do it, part of it was that we decided to use Apple's Objective-C language instead of straight C++ for the UI (Cocoa).
Max.
Maximilien Lincourt
For success one must aquire one's self
|
|
|
|
|
with wxWindows this is not entirely true. I have ported several of my MFC apps to wxWindows with realitive ease. I would say at least a little over half of my code was as simple as changing "C"xxx to "wx"xxx. Most of the wxWindows library is structured after MFC; so most of the syntax is the same. The only problem you have, is if your code contains lot of OS specefic code or API calls.
-----
IMHO: C# a poor attempt at bringing C++ to the VB masses
-----
|
|
|
|
|
I had tried the WxWindows.
But I have this little problem here.
LINK : fatal error LNK1104: cannot open file "wxxrcd.lib"
This was shown during compilation. I do not know where to get this lib. Other png.lib and etc are ok except this one.
Any idea?
|
|
|
|