|
Hi all,
I want to write a usb serial device driver for WinXP.
Would any expert here can give me some help?
e.g. source code, document, etc....
Thankyou very much.
Kent
|
|
|
|
|
I am definately no expert, but Microsoft has a driver development kit (ddk). You may be able to do something with that.
|
|
|
|
|
Hi!
I'm using CDialogSK and I have built a skinned dialog.
Now I want to use Child Dialogs in it, but I don't want the grey background... I tried to use CDialogSK in my child dialog class, but it doesn't work.
Either I wan't to use a small bitmap as the background, or if that doesn't work - atleast have the child dialog transparent so I can just see my controls in the child...
Would this be possible?
Thanks
|
|
|
|
|
I dont understand your 100% problem but I guess I did some familar thing some time ago. It was a SplashScreen with Transparency and Controls
(used the CDialogSK class). the problem was, I cant use childwindows because the got the same attributes
from the SetLayeredWindowAttributes call.
So I must create some popup windows and move
them arond if the parent dialog moves.
|
|
|
|
|
I realize this sounds idiot, but how do you <subj>?? I can't find any main() or wmain() function in my project and can't acces any argc or argv.
I tried to acces them anyway but they are undefined.
Searching through the SDK I only found 2 functions:
GetCommandLine();
CommandLineToArgvW
First one seems to work but the second I couldn't convince to work. And I surely tried. Simply hates me.
Does anyone have any ideea,
HOW CAN I READ THE COMMAND LINE ARGUMENTS IN AN ARRAY OR SOMETHING SIMILAR TO ARGC AND ARGV?
TIA!!
|
|
|
|
|
Check here[^].
Heard in Bullhead City - "You haven't lost your girl - you've just lost your turn..." [sigh] So true...
|
|
|
|
|
|
search for CCommandLineInfoEx in the MSDN
there is some code from
Microsoft Systems Journal -- October 1999
Paul DiLascia.
the class is realy nice to use.
|
|
|
|
|
I am looking for simple and powerful way of displaying string messages by using CString class, , on a simple console or a text display window for program progress and debug purposes. Is there any extentions of CString class to do that and any example codes to learn and apply it in my own code ?
|
|
|
|
|
|
Thanks alot for your immediate answer
CD
|
|
|
|
|
I tried TRACE macro but this is not the one I'm looking for I would like to manipulate strings using io operators and showing the string to trace the progress of my program. This function also displays the output in the debugger output window but I would like to prefer in a separate or a MFC view window. İs it possible to find such a display class ?
CD
|
|
|
|
|
|
Thanks again, I guess this will work for me, and I would like to know How I can implement a console output which works like a progress, that is, I want to show many lines of progress string but I want to overwrite the new line on the previous line output thereby avoiding the many console output lines, as in the case of running it inside a loop code.
CD
|
|
|
|
|
well, it sounds like you're 'at odds with' / only have a vague idea of what you really want or need - how about you do some some 'functional analysis' .. if what you want is really that simple, what about a single line static text control that you update when required ? - a single line console doesnt really make much sense ...
It is possible to do more with consoles, and there are articles on the web and here on CP which show you these techniques
- the last thing I'll say, is what I commonly end up using if I need info relayed back to a user on various things and/or debugging info for my own purposes, is a derivative of this ->
http://www.codeproject.com/listctrl/logcontrol.asp[^]
'G'
|
|
|
|
|
Thanks for your valueable ideas, and sorry for my simple and boring questions. But you saved my hours of time to be wasted by searching web.
CD
|
|
|
|
|
Is C++ harder than PHP... I know php but I want to learn it...
Actual Linux Penguins were harmed in the creation of this message.
|
|
|
|
|
It all depends on what your "definition" of hard is. Some folks find it harder than other programming languages and vice versa.
|
|
|
|
|
Hello!
C++ is easy :P
php is very similar to plain C. C++ is far more complicated in its nature, but you do not have to learn whole language to be able to write something. But for sure, php is simpler subject than c++.
|
|
|
|
|
Hello,
I am looking for a way to detect the system's color palette( On XP color quality). This is setup on the Display Properties at the settings tab. I need to know if the computer is running using "16 Color", "255 Color", "16 Bit" and so on. Any ideas?
|
|
|
|
|
|
Thanks, just what I was looking for.
|
|
|
|
|
Does Windows remember the last accessed folder per application anywhere? I'm not talking about information intentionally saved by an app in the registry or an INI file, but rather Windows doing this on its own. For example:- Run App1, do a File|Open to
C:\foo . Exit App1.
- Run App2, do a File|Open to
C:\bar . Exit App2.
- Run App1 again and a File|Open - the Open File dialog defaults to
C:\foo . /ravi
My new year's resolution: 2048 x 1536
Home | Articles | Freeware | Music
ravib@ravib.com
|
|
|
|
|
It seems like the common file dialog 'remembers' the last folder visited on a per-application basis. I believe the information is stored in the registry, but I can't remember the key where it does so.
Software Zen: delete this;
|
|
|
|
|
How would one go about sending keystrokes to a specific (not necessarily active) window? I have been working on this for awile, so any help would be appreciated.
-Dev578
|
|
|
|