comp.os.mswindows.programmer.win32
  Home FAQ Contact Sign in
comp.os.mswindows.programmer.win32 only
 
Advanced search
July 2008
motuwethfrsasuw
 123456 27
78910111213 28
14151617181920 29
21222324252627 30
28293031    31
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007    
total
comp.os ... win32 Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  how can i detect last boot success?         


Author: greenfish
Date: Jul 17, 2008 22:45

if last boot was not terminated properly,
some menu will be displayed, on next boot.
(equal to press F8 on start up)

i want to make a restore solution,
so, i must figure it out about last boot failure.

that's all.
thank you.
8 Comments
  Access USB device properties using C#         


Author: Andrew Falanga
Date: Jul 17, 2008 11:54

Hi,

I asked a question about accessing USB devices previously and
incorrectly stated my question. I'd like to know how I can obtain
information about USB devices using C# such as the USB VID/PID. What
is necessary for this?

Sorry for the incorrectly worded question.

Andy
8 Comments
  Accessing USB devices         


Author: Andrew Falanga
Date: Jul 17, 2008 09:43

Hi,

What mechanisms (libraries, etc.) are available, using MS libraries,
for accessing USB devices? Ideally, for C# (since I should write it
in that language), but C++ is ok too. I'm not much of a MS person and
if this is not the correct forum for C#, please point me to that
forum.

I'm looking through MSDN now but honestly the searches bring back so
much information that I doubt I'll get to it all. What would I search
for in the VS help aside from MSDN?

Thanks,
Andy
3 Comments
  Displaying changes to an ImageMagick image in real time         


Author: Radoslava.Leseva
Date: Jul 17, 2008 09:12

Hi,

Is anyone aware of a good way to display a Magick::Image in a cross-
platform way?
I am using ImageMagick in a QT application with the requirement to
display live changes to an image.
My attempts to converting the Magick::Image to a QImage pixel by pixel
worked, but proved to be way too slow to be a worthy solution.

Is there a way to do that?
1 Comment
  DLL performance issue         


Author: fsumathguy
Date: Jul 17, 2008 07:29

Hello all. I have developed some C++ code to perform a rather complex
Monte-Carlo simulation. In order to make it user friendly, I compile
it into a dll and call it from Excel VBA. When I run a test case in C+
+ (Visual Studio 2005) it takes roughly 8 seconds. Running the exact
same case through Excel takes roughly 15 seconds. My questions are as
follows:

1. Is it normal to see a performance hit of 2:1 when using a dll? I
was always under the impression that using libraries like this was a
very efficient way to use code.

2. Is/are there some compiler optimizations that are specific to dll
creation?

Just to be clear, I am building both versions in "Release" and have
the full optimization (/Ox) selected in each case. I have tried to
running the VBA code without calling the dll and it is very fast, so
the overhead is not coming from poor VBA programming. I pass many
parameters from VBA to the dll by either value or reference.

Any ideas on how to speed up the dll or is this just the price I pay
for using Excel as my front end? Thanks in advance.
3 Comments
  How to know if a system user need the password to login?         


Author: CyberPK
Date: Jul 17, 2008 03:30

How can i know if a system user need a password to login?
I've tryed with WMI and AD, reading the PasswordRequired property but
it is always true, also for users without password.
Any idea?
1 Comment