|
Thanks,
So how does MSDE relate to SQL server?
BTW - the app is not really a high performance database.
The "admin" info is fairly trivial even for Access.
The point of concern is that there is also a lot (can be really huge)
numerical info (calibration data) that I store in the Access equivalent of a blob. Will I see performance gains with MSDE/SQL server?
|
|
|
|
|
After doing a little research on MSDN it does seem that MSDE and ADO are the way to go...Downloading MSDE now.
I may have further questions...<grin>
Thanks for the response
John
|
|
|
|
|
IMO, the benefits of ADO far outweigh that of DAO (ADO.NET is even better). With MS declaring DAO depricated in VC7, this not only means no support but also no backward compatibility.
MSDE is more robust and has much more functionality than Access. Users can continue to use Access by linking to SQL Server.
|
|
|
|
|
"...(ADO.NET is even better)"
In what regards (or is that too open ended a question)?
|
|
|
|
|
I guess it depends on what you're trying to do. Lately I have been working with XML out of databases and find that ADO.NET has much more functionality in that area. If your app is not using the .Net platform then it will probably be too much overhead to include with the distribution.
|
|
|
|
|
Don't have much experience with XML but I thought XML is more of a data transport mechanism as opposed to a data storage mechanism.
Actually, what I am doing (for a variety of reasons) is changing an application from using the Microsoft serialization scheme to a relational database scheme. The app object model actually lends itself nicely to a relational database. The database (50 or more .dat files or 1 .mdb) is fairly stable - ie nothing changes - once a site is calibrated and up and running. The creation and calibration of a site is another story. The admin portion of the database is trivial - even for Access. There is however a large portion of numerical (calibration) data that I store as a blob.
The app was started in VC6 and I am converting to VC7. It will run on Win2k and XP machines (and maybe NT at some old sites).
I don't know if that's too much info...or even makes sense... or is relavent
John
|
|
|
|
|
After doing a little research on MSDN it does seem that MSDE and ADO are the way to go...Downloading MSDE now.
I may have further questions...<grin>
Thanks for the response
John
|
|
|
|
|
Hi all!
I'm trying to do a Visual C++ application. I have the main file parlante.cpp, and it uses classes from imevo.cpp
When I compile each file separately, I get no errors, but when I build the application I get lots of unresolved external symbol in imevo.obj when linking. Which could be the reason for this?
What should I submit here so you could help me with this if what I've said it's no enough?
Thank you in advance!
|
|
|
|
|
LNK2001 can be caused by a number of reasons. See here for more.
A rich person is not the one who has the most, but the one that needs the least.
|
|
|
|
|
Add the files to your project.
"When death smiles at you, only thing you can do is smile back at it" - Russel Crowe (Gladiator)
|
|
|
|
|
When running my app on a Novel Network it generates this error: "Error 0203" saying 'Error in saving message'
This is the first time that I've run into this error and I don't know what it means. My app is written in Vvisual C++.
Can you help?
|
|
|
|
|
Ok, do you have code that is saving messages on a remote machine?
A rich person is not the one who has the most, but the one that needs the least.
|
|
|
|
|
Hello,
I'm changing code on an existing project. I wanted to use the CCritical class, but I get an error when I compile with the Afxmt.h header. The compiler says not to use the windows.h header. I tried to comment out references to windows.h, but it did not work. I tried to set the project settings to MFC, but it did not work either. Any help??? Thanks.
|
|
|
|
|
Anonymous wrote:
I wanted to use the CCritical class...
What class is this? Did you mean CCriticalSection ?
Anonymous wrote:
The compiler says not to use the windows.h header
Of course. It has already been included by AFX/MFC, hence the preprocessor's redundancy message.
Anonymous wrote:
I tried to comment out references to windows.h, but it did not work
Meaning what?
A rich person is not the one who has the most, but the one that needs the least.
|
|
|
|
|
The project's setting was non-MFC and they used windows.h as a header to use certain functionality. I tried to comment them out and only use afxmt.h. Yes, I wanted to use the CCristicalSection.
|
|
|
|
|
Ok, but what steps did you take to retrofit the project to use MFC? You might be better served in creating an MFC project from scratch, and then comparing the files/settings between the two.
A rich person is not the one who has the most, but the one that needs the least.
|
|
|
|
|
I tried LogonUser and CreateProcessAsUser to logon to my domain account(from my account) and run a program. What happens is that I get an error 1384 or something "a privilege is missing". Is there anyone that has a working snippet to run "notepad" or something? Could there be problems with the domain login?
|
|
|
|
|
ERROR_TOO_MANY_CONTEXT_IDS (1384): During a logon attempt, the user's security context accumulated too many security IDs.
Does the user belong to too many groups or aliases?
A rich person is not the one who has the most, but the one that needs the least.
|
|
|
|
|
No it's not member of many groups and it doesn't have aliases.
|
|
|
|
|
Unless this is on XP or 2003, then the account running the app (not your domain account) needs the TCB privilege (act as part of OS). This isn't something you'd get the average administrator to grant lightly.
Steve S
|
|
|
|
|
This is on an XP machine. What I tried to do was to logon to my domain account from my domain account. Maybe this is making the problem? Is there difference between local and domain accounts here?
|
|
|
|
|
Hi!
I've seen in some code examples this word in head of functions, but I don't know what's its meaning... Any idea?
Thank you
|
|
|
|
|
It's a macro, that expands to HRESULT __stdcall . HRESULT is the standard return value of COM methods and __stdcall specifies calling convention (for details see MSDN).
Robert-Antonio
"I launched Norton Commander and saw, drive C: on the left, drive C: on the right...Damn, why I need two drives C:??? So I formatted one..."
|
|
|
|
|
Thank you
|
|
|
|
|
Hi,
I am trying to get the exact character widths (and thus position/placement) of Arabic text which I am writing to the screen.
I have used GetCharacterPlacementW. This returns the Caret position, corresponding to the cursor position between the characters.
For English text, this correctly gives the exact position.
For Arabic, this makes a good attempt at getting the position. However, in some parts of the text, the character positions become quite inaccurate.
Screen images can be seen at:
http://www.codeguru.com/forum/showthread.php?s=&threadid=283418
Apart from the GDI32.dll GetCharacterPlacementW, is there another more accurate technology?
Does anyone have any other suggestions?
Many thanks.
|
|
|
|