I have got a problem with modifing the tables of MDF because the LDF file cannot make a corresponding changes. I used SQL2000 manager to ouput a table of mydata(game database) to a xls file. Then I used Excel to make changes to it, since Excel is easy to manage a great number of entries. After having finished that, I converted xls file back to the table in mydata. Something went wrong, cuz I hadn't update the corresponding LDF file. Could someone give a solution? many thanks.
Cold_Fearing_Bird
Posts
-
How to open LDF file of SQL2000 -
I have problem with codecvt<>locale loc("chs");
mbstate_t mystate;
char origin[] = "追求追求";
wchar_t dest[9] = { 0 };
const char * pc;
wchar_t * pwc;const codecvt& myfacet =
use_facet >(loc);codecvt<>.in() translates char into wchar_t characters, but the first letter of origin[] is always translated wrong,the remaining characters are fine. could someone help me out?
-
question with locale [modified]wchar_t wch = 26342 ; // 26342 is a chinese character wcout << wch ; // prints nothing wout.imbue( locale("chinese-simplified" ) ) ; wcout << wch ; // okay, prints '曦' cout << '曦' ; //okay, as to cout,without having to set the locale, I can freely output chinese character ? why? Second question is why setting up locale("chinese-simplified") for wcout that makes chinese character visible? Does the locale provide the font which supports the apprearance of our character? Another question that confused me long is why can font like "Times New Roman" be used to display our ideograph? It's only 374k in size,which is simply uanble to represent 7000+ pictographs
modified on Thursday, September 8, 2011 10:54 AM
-
Streambuf problemsI construct a Streambuf with "an array of char". and use the steambuf to construct a ostream/istream:strm. But the strm cannot do anything with "char array".like << | >> doesn't affect the char array data. Have I missed something?
-
Problem with SetLayeredWindowAttributeThanks Iain.Your reply is of real help. I agree that we should always test a unknown technique within a small application that has all focus on it.
-
Problem with SetLayeredWindowAttributeI've got problem with SetLayeredWindowAttribute, ever since I had set it, it wouldn't receive WM_PAINT anymore. But I have critical code in WM_PAINT. How to get WM_PAINT again while having SetLayeredWindowAttributes called?
-
specifications of operator-overloadHow could I find spefications of C++ operators overload, such as how many arguments should operator+() take, what should be the first operator of operator new(), operator int() qualifies only if it's a member function. I have <>, it lists a few of them.But it doesn't satisfy my needs.could someone help me?
-
trouble with "Windows Journal Hook"I have read the MSDN document section about Journal Hook over and over again, still be confused with the following things. 1.Does the Journal Record Hook record the user actions( like mouse clicks or keyboard events ), then Journal Playback Hook replays the series of actions which the user has just performed? 2.The lParam of the JournalRecordProc is a pointer to a EVENTMSG, I can copy it to a buffer as the MSDN tells us to, but what are we supposed to do with these EVENTMSG buffer? 3.The lParam of the JournalPlaybackProc is also a pointer to a EVENTMSG, I think this EVENTMSG is one of the actions which the user has just performed, what should we do with it in order to replay the action?
-
How to eliminate MOBILE SDK from my Document Explorer 2008?Sorry. There isn't any column fit this kind of problems, but it is a problem related to using VC.
-
How to eliminate MOBILE SDK from my Document Explorer 2008?In the "INDEX" tab of the explorer,If I look for a function(such like GetDlgItemInt), the explorer always list mobile function( GetDlgItemInt) entry first, I have to switch to platform sdk entry over and over again. It's kind of annoying. How Can I make the Platform SDK entry topmost or simply eliminate those entries getting in the way?
-
Is there any function that can convert text representation"ABCDEF" back to int ?_itoa can convert int value such as 15 to F, but the atoi function cannot convert it back. it simply treat any letter that is not numerical( '0' - '9' ) as wrong input value. I have an edit control to display something hexadecimal, say a pointer, a handle,so I do the follow, _itoa( i, szBuffer, 16 ) ; SetDlgItemText( hDlg,szBuffer ) ; when I want the value back, I need to convert it back to int representation. But I am stuck here. Does someone know any function that fix my problem?
-
How to learn DirectDraw since it has been merged with D3D?Thanks, I think I am stick with DirectDraw7.0.
-
How to learn DirectDraw since it has been merged with D3D?I am new to DirectDraw,I found it hard to find DirectDraw document on MSDN, it's all about D3D stuff which I don't really want to learn by now. So How should I start with DirectDraw? Any book/way recommended? thanks in advance.
-
What does WS_EX_TRANSPARENT really mean ?I am not really clear about the concept of WS_EX_TRANSPARENT, when it used with a main window, it is not transparent at all, sometimes used with a control window, it does disappear from the parent window. Some people say it's not visually transparent, but we can click through it that the windows beneath will receive the mouse msg. Do you know what this sytle really means? and in what condition it will work otherwise won't?
-
What's the workspace coordinates in WINDOWS ?I use WINXP. All I know is the taskbar can be docked to the four sides of the screen and can be autohided.How can I bring up the application toolbar ?
-
What's the workspace coordinates in WINDOWS ?From MSDN "Workspace coordinates differ from screen coordinates in that they take the locations and sizes of application toolbars (including the taskbar) into account. Workspace coordinate (0,0) is the upper-left corner of the workspace area, the area of the screen not being used by application toolbars" I am very comfused about the paragraph above. I know what taskbar is, it locates in the bottom of my screen, containing application icons.but what is application toolbars? It sure doesn't mean the toolbar on the app UI that resembles the menu functions. could someone help me?
-
What's the real difference between POPUP window and OVERLAPPED windowI have tested a lot. Turns out having the WS_POPUP(0x80000000) bit on doesn't mean adding a feature to a window,but means eliminating a feature from a window. That feature is the title bar. If missing WS_POPUP we normally have no way to create a window without caption bar,however POPUP window still can be forced to have title bar if combined with WS_CAPTION,that's it changes back to a OVERLAPPED window again.Popup window cannot be a child window too.I think overlapped window, popup window and child window are mutually exclusive, only because overlapped window is the value 0x0, so if we use WS_OVERLAPPED | WS_CHILD doesn't affect the success to creating the window.But the msdn says WS_OVERAPPED is a top-level window which means WS_OVERALPPED conceptually cannot be a child window too.
-
What's the real difference between POPUP window and OVERLAPPED windowWS_OVERLLAPED 0x0L WS_POPUP 0x80000000L I don't really understand the differences between them. They both can have border, min/max button, or sysmenu. The only different feature I can read from msdn is popup cannot be a child window. so is that all these two are different? Can I take the popup window this way? popup window is overlapped too, coz all window is overlapped(WS_OVERLAPPED = 0x0L),the 31th bit of the window style is set to 1 to indicate that it mustn't be a child window, but it can be an owned window.so they are different only when they are being owned?(I don't know child window can be said " being owned" either, coz being owned and being a child are totally different. )
-
Is it possible to use a different theme only for my appif my OS use Classic theme, can I use XP theme only for my app, without affecting other windows?
-
How to compile a file using unicode charsetI want to compile cpp files using unicode charset and functions( like lstrlenW ) in console window. But I don't know the option to turn on the UNICODE. could someone help me? cl.exe \U ???