Thanks Dave, I thought this string is same as other string in resource file This is a special case, instead of load string, use getfileversioninfo(). \ Thank you again!~
jinzhecheng
Posts
-
How I can Get DLL Version Number from resource file -
How I can Get DLL Version Number from resource fileI am writting a DLL, and want to provide a function so that Client can query DLL version by calling this function. As you already know, the version number is in the resource file, I tries LoadString() API call, but failed. Can anyone give some advice?? There are many articles on how to query DLL version given an exe or dll file, my POINT is , how can I do it inside the dll it self ??? Thanks alot!
-
What is 192.168.1.1I really dont know networking. Why every LinkSYs router has such IP: 192.168.1.1. I am confused, if router has this IP, how can an packet know where to go? I know this must be a stupid question....Dont laught at me
-
How to get RGB values from image fileSystem.Drawing.Bitmap b = new System.Drawing.Bitmap("yor flene"); System.Drawing.Color color = b.GetPixel(100,100); color.ToArgb();
-
Passing handles of one form to anotherI guess you are wondering how to access the "this" Form_params( Form1 form) { // this refer to the form 1 now ........... }
-
error-defines operator == or operator != but does not override Object.GetHashCode()It must be a warning ! simply ignore it or add Equals, GetHash function
-
How to make documentation for dll?How about Doxygen, generate hhp, then Chm
-
How to create netmodule in Visual Studio.netAny one can help how to create a netmodule in VS IDE?? I can not find similar option as in command line . Thanks thanks thanks...:doh:
-
How to access static member??I have a list definition,
public class List { private int index; private string name; }
and a tablepublic class Table { public static List List1 = new List(1,"List1"); public static List List2 = new List(2,"List2"); ... }
Now , if I want to add a method of Tablepublic class Table { public static List GetListFromIndex( int index){...} }
How can I avoid a lot of "switch case"???? Thanks!. I know this maybe related to "reflection" , but cannot figure it out. -
why Function Name in DLL so strange ?Thanks , I have created a def file, and its gone!
-
why Function Name in DLL so strange ?I got a DLL, in its function declare their is a function: EXPORT int func1(); But when I display it in Dependency Walker, the actual name is something like: _func1@0 This DLL is compiled in visual c++ 6.0, I am wondering if there is an option cause this problem. Thanks
-
Windows Message Confusion! Gurus come and help!Hi David,does that mean: Thread B will always process msg1 then msg2 ,again and again? it could not process two continous msg2?? However, I found in my project, this situation happens, but not often! -- modified at 11:54 Wednesday 7th December, 2005
-
Windows Message Confusion! Gurus come and help!I have a windows message problem that has haunted me for a long time. Suppose one application has two thread. Thread A "sends" and "posts" message to a window handle in thread B. Thread A { LOOP{ ... SendMessage(m_hwnd, msg1); ... PostMessage(m_hwnd, msg2); ... } } in winproc of Thread B: Winproc { case (msg1): do something ... case (msg2): do something ... } my question is: if Thread B is processing msg2, and Thread A are going to send msg1 , Thread A will wait until Thread B finishes processing msg2??
-
Help. Create a bmp file in C++Hello Luo ming, Take a look at "programing windows", there is intensive discussion about bitmap stuff. Good luck!
-
How to make my program the highest priorityHere is the reason: Say I am testing the speed (I/O reading writting). I want the Max performance , the code would be like: tStart = getCurrentTime(); do{ reading(); writting(); } span = getCurrentTime()- tSpan; How can I ensure those steps are not interupted?
-
How to make my program the highest priorityI know in a program , you can create some threads,and assign different priority my question is: how to programmtically give your main thread the highest priority? Thanks alot!
-
Does anybody know any good WIN32 SDK sites?This site is great. Thanks.
-
Does anybody know any good WIN32 SDK sites?Thanks alot!
-
WIN32 SDK forumIts not popular, it is important. Like to see this forum here.
-
PostMessage() vs. SendMessage()the Dll is in another thread, its really confusing...