|
You must check out http://www.hwaci.com/sw/sqlite/
Joel Lucsy (jjlucsy@ameritech.net)
|
|
|
|
|
I'm kindda confused about the licensing (the Mozilla thingy) - can sqlite be used for commercial applications without paying a fee or what?
Cheers
Steen.
"To claim that computer games influence children is rediculous. If Pacman had influenced children born in the 80'ies we would see a lot of youngsters running around in dark rooms eating pills while listening to monotonous music"
|
|
|
|
|
Quote from the sqlite homepage: "Sources are uncopyrighted. Use for any purpose."
Joel Lucsy (jjlucsy@ameritech.net)
|
|
|
|
|
Jon, Claw and Joel - thank you.
|
|
|
|
|
I am having some problems with my CHtmlView getting the OnChar() callbacks. Everything works fine *until* I click in the body of the Window (not the titleBar or frame). Once I do this, no OnChar's every get sent to the view. I'm assuming the the Browser Control has grabbed input, but how do I get it to release it. I have tried setting the focus to other windows with no results. The CHtmlView window does lose focus when you click on other windows like it should, but the OnChar's never get called again. This is also true for the mouse button virtual functions as well. No Input.
RZ
|
|
|
|
|
Is there any way to rebuild the classwizard conf. file for my project? Or perhaps a utility to do this for me? I have a few imported classes with all the classwizard comments and insert locations intact. I would modify the file manually, but i'm too lazy.
Simon
CPUA chief administrator - #0x0000
Sonork ID 100.10024
|
|
|
|
|
Delete it, hit CTRL-W and it will be rebuilt for you.
Christian
The tragedy of cyberspace - that so much can travel so far, and yet mean so little.
|
|
|
|
|
|
so it may be a good idea not to delete, but just rename it, so you aren't out of luck in case the rebuilding doesn't take place.
i had problems with the classwizzard when visual studio crashed and i restarted the same project without restarting the computer. so may be this is the "sometimes"
:wq
|
|
|
|
|
|
Do I not feel lucky? I can always find an answer to my question here. Thank all you guys so much!
|
|
|
|
|
for some reason, when i access classwizard, wizardbar, or classview menu items, VC++ seems to stall for about 2 seconds and then delete some of the files... this is obviously terrible, especially when not all my projects are on SourceSafe (VSS gets annoying and is useless for small projects)
so basically, how do i fix this? i called Tech.Supp. but they said they "couldn't reproduce the problem", meaning they're not smart enough to fix it.
anyway, im using Win2K w/ VC++ 6.0, service pack 5 or whatever the latest one is
thanks
-tekno117@optonline.net
|
|
|
|
|
There was an issue like that with the classwizard deleting files.. but is supossed to be fixed in one of the service pack's.
Make sure you have que lastest one.
Andres Manggini.
Buenos Aires - Argentina.
|
|
|
|
|
Is is possible to use a CRichEditCtrl without placing it on a dialog. I see that the create method takes some parameters that must be non-null, but all I want is the CRichEditCtrl's printing functionality. I have an RTF file to be printed, but don't know of a better way than this. Can anyone make some suggestions here?
Thanks.
-Matt
|
|
|
|
|
I think there shouldn't be an issue with you creating the window anywhere. Just don't specify WS_VISIBLE as a creation flag. Then it will never be visible.
Tim Smith
I know what you're thinking punk, you're thinking did he spell check this document? Well, to tell you the truth I kinda forgot myself in all this excitement. But being this here's CodeProject, the most powerful forums in the world and would blow your head clean off, you've got to ask yourself one question, Do I feel lucky? Well do ya punk?
|
|
|
|
|
This is a non-GUI application. I don't even have a resource file. Can I still get away with this without a resource file? If so, what do I do with the last parameter of the Create function (nID)?
Here's what I'd like to do:
m_richEdit.Create( ES_MULTILINE ,
rect ,
CDialog(),
-1);
Can something like this be done?
Thanks.
-Matt
|
|
|
|
|
That last parameter can be anything. Set it to 9999 and you should be fine.
Tim Smith
I know what you're thinking punk, you're thinking did he spell check this document? Well, to tell you the truth I kinda forgot myself in all this excitement. But being this here's CodeProject, the most powerful forums in the world and would blow your head clean off, you've got to ask yourself one question, Do I feel lucky? Well do ya punk?
|
|
|
|
|
I get all kinds of ASSERT failures about the parent wnd. Here's what I'm doing:
CRect rect;
CDialog dlg;
CRichEditCtrl richEdit;
richEdit.Create( /*.. STYLES ETC */, rect, &dlg, 9999);
// Use the rich edit
It seems as though since the CDialog is not attached to resource, it is failing.
Any ideas?
-Matt
|
|
|
|
|
I am attempting to use memory mapped files to access rather large files for manipulation purposes.
Mapping a view of the file returns an LPVOID pointer that I (LPTSTR) cast to a CString for easier string manipulation. I am able to work with the contents quickly as expected. I am not, however, able to successfully save the newly modified contents back to the file. Unmapping returns successfully, but the file contents are never updated. Printing the contents of the CString var shows that the changes have been made.
I was told that, due to reference counting in the CString class, I would be unable to use the returned pointer in this fashion. So I tried to create the LPVOID, copy the pointer to the CString var, make changes, then copy the pointer back to the original LPVOID. The contents of the LPVOID var changes, but once again the file does not.
Currently I am using PJ Naughter's MemMappedFile class, which is a wrapper for the MMF API. Here is the code I am using:
<tt><font color=#990000><br>LPVOID pMsgPtr;<br>CString strMsgPtr;<br><font color=#009900>
Is there any way that I can use the CString manipulation functions while maintaining the pointer?
Thanks, Chris
|
|
|
|
|
When you assign the strMsgPtr variable with pMsgPtr, you are creating a copy of the string. So, as you make changes to strMsgPtr, you are making changes to the copy.
To copy the string back to the memory mapped file, you could add this line of code and remove your last two lines.
_tcscpy ((LPTSTR) pMsgPtr, strMsgPtr);
This will copy the contents of the string back into the memory mapped file section.
Tim Smith
I know what you're thinking punk, you're thinking did he spell check this document? Well, to tell you the truth I kinda forgot myself in all this excitement. But being this here's CodeProject, the most powerful forums in the world and would blow your head clean off, you've got to ask yourself one question, Do I feel lucky? Well do ya punk?
|
|
|
|
|
I want to build an application, which looks pretty much like MS Excel, or the window, which displays the find results in VC++ 6.0. Basically a tabbed view.
I found a few tabbed views on the project, but I would like to have one exactly like Excel. Any ideas how this control is called so i can search for it? Maybe someone can even tell me where to get it?
Thank You,
XP
|
|
|
|
|
Is this the thing you want?
Mazy
"So,so you think you can tell,
Heaven from Hell,
Blue skies from pain,...
How I wish,how I wish you were here." Wish You Were Here-Pink Floyd-1975
|
|
|
|
|
Take a look at the VisualFX library at CodeGuru. Either you can use it directly or take the parts you want.
Here's the link
Cheers
Steen.
"To claim that computer games influence children is rediculous. If Pacman had influenced children born in the 80'ies we would see a lot of youngsters running around in dark rooms eating pills while listening to monotonous music"
|
|
|
|
|
Maybe Paul DiLascia can help you:
MSDN - Periodicals 1999 - MSJ - April - Q & A C++
|
|
|
|
|
Hi All,
I'm trying to put together an application that will alow the user to have a bunch of screens open at the same time. Most of these will be some sort of form view, but all related, ie these are all tied to the same document. One screen, let's say would ask the user for their address and phone number, and the next maybe some other information.
Navigation from one entry screen to another will be directed by a tree control on a dialog bar docked on the left side of the main frame, where each of the leaves of the tree represents a distinct screen the user would need to visit.
So, what's the way to have one document, and several views, any one of which could be open or not at a given time?
Thanks,
Aaron
|
|
|
|