Which Endian routine is better?
I am converting big endian to little endian and have written these two
Function Endian32_UsingString(ByVal n As Long) As Long
Dim s As String
Dim d As String
Dim i As Integer
s = Right$("0000000" & Hex$(n), 8)
For i = 1 To 7 Step 2
d = Mid$(s, i, 2) & d
Endian32_UsingString = CLng("&H" & d)
Function Endian32_UsingByteArray(ByVal n As Long) As Long
Dim big(3) As Byte
Dim little(3) As Byte
CopyMemory big(0), n,...API for UNICODE vs WC
I have been coding in UNICODE in VC6.0 for long time.
The Wide Char (TCHAR) is only 16 bits long, which can support a maximum
65536 characters. But in fact Unicode has much more than 65536
Office XP is able to support more than that. So I believe there must be
set of new API for unicodes.
Can anyone tell me where can I start looking at?
<firstname.lastname@example.org> wrote in message
> Hi All,
> I have been coding in UNICODE in VC6.0 for long time.
> The Wide Char (TCHAR) is only 16 bit...dlls
Can someone tell me the difference between an extension MFC dell and a
regular MFC dll? I need to create a dll that is essentially a
passthrough to another dll and give it a simplier interface (EXTERN "C"
& _cdecl) rather than the ms dllexport type. I have tried making several
dll's with various options and while they compile ok and depends.exe
likes them fine, when I try to link to them I get that it is an invalid
file. Any help would be appreciated.
If your dll is going to be used strictly by a MFC module, you should
typically make a MFC Extension DLL. When you mak...Is there a better way?
OK, I have an application that controls some devices through the serial
ports. I use worker threads to actualy handle the serial ports and it works
well. On one of the threads I need to perform several different sequences at
varying times during the program execution and I have been using volatile
bool variables to "trigger" these sequences and posting messages to get
responses. This scheme works but it seems ackward at best. Is there a better
way to "trigger" actions inside a worker thread and get a response?
x-- 100 Proof News - http://www.100ProofNews.com
x...Which is better Event or Mutex ???
I have a program in which I have two threads which start executing from the
time application starts execution till the time application quits (Before
quit the child thread is killed). Both the threads needs to notify each
other before they access a resource in my case its USB port.
As far as I think Event is idle to be used in this scenario. I wanted to
know whether is it or not.
Which is the better Event or Mutex ????
Thanks for your response.
"Amar Kumar" <email@example.com> wrote in message
How can I sort a range of numbers in (columns and rows)in order to calculate
57 61 52 50 63
85 62 48 75 60
52 45 48 83 30
65 60 72 50 41
How do I sort them to determine how many times the number 48 appears?
Check out the FREQUENCY function in Help. It does not require that the data be
sorted or in a single row or column. If you want the count of only a specific
number, you can use COUNTIF.
On Sun, 3 Apr 2005 19:37:04 -0700, "Stats guru" <Stats
>How can I sort a range of numbers in (columns and rows)in...Frequency charts with non-numeric data
If I have a column of non-numeric data (for example 500 different fields,
each field stating the color of a car ie green, green,green, red,red, silver
etc) how do I draw a graph showing the frequency of each colour type? For
example green 200, red 100, white 100, silver 100 (preferably with the % for
each). The countif function will work combined with the graph wizard, but his
becomes very labourius for many categories (or colours).
For those familiar with statistics, this is a pareto. There is a pareto
function in the Data Analysis Add ins but it does not appear to work with
non-numer...PGO in VS 2005 beta 2
I'm trying to use the new Profile Guided Optiomization in Visual Stduio
2005, compiling the default wizard generated MFC application.
when choosing in the settings:
Whole Program Optimization = Profile Guided Optimization - Instrument
I get a link time error saying:
c:\projects\ms2005test\ms2005test\ms2005test\ms2005testView.cpp : fatal
error C1350: error loading dll 'pgodb80.dll': dll not found
LINK : fatal error LNK1257: code generation failed
does any one know how to fix this?
thanks in advance
>I'm trying to use the new Profile Guided Optiomization in V...Money vs Quicken comparison anyone? Especially interested in online bill payment
Is there someone here who can compare Money to Quicken? The trade rags
I've read seem to indicate Money is as good as or better than Quicken. Can
anyone comment on that? I've been using Quicken since 1990 and seen Intuit
go from a first class great company with a fantastic product in Quicken to a
company that seems to've past its peak and gotten out of touch. While MS is
certainly not immune to mediocracy and bureaucracy itself, my experience
with Quicken Deluxe 2008 (after 18 years as a very happy Quicken user) has
given me a fresh incentive to take a serious look at ...Frequency function
I was wondering if anyone could be of assistance with the frequency function
in excel. I am trying to reduce data so that i can find out the number of
times a particular results occurs. Every time i use the frequency function it
either repeats the previous cell or returns the culumative frequency, can
anyone help please?
Countif or Sumproduct are less complicated!
You need to provide some details.
"Pritesh" <Pritesh@discussions.microsoft.com> wrote in message
>I was wondering if anyone could be of ...Print preview Access 2000 vs Access 2003
We just had XP installed (previously running Win 2000) and got Access 2003.
When I run a report in an Access 2000 app that does a print preview, the
preview opens up differently than it did with Access 2000. It seems to
default to 'to fit' rather than '100%' as it did before. 'To fit' gives an
unreadable report. Is there any way to fix this ???
I am displaying a custom print preview toolbar if that makes any difference.
It's a little unclear which version you are now referring to. The heading
suggests you were referring to 2003 but the text suggests ...Callout Vs Workflows
I have few queries for callouts and workflows -
What is the difference between callouts and workflow?
When to use callout and when to use workflows?
Is there any difference in overload in execution for both?
The main difference is the intended usage. Workflows are meant to be used to
automate business processes, like sending an email with a specific email
template to the manager when a new opportunity is entered into the system.
You can do that without writing a single line of code. Callouts are .NET
assemblies written in your favorite language. A workflo...A better filter??? Where?
I use Outlook 2000 against an Exchange filter.
I have to have a white list, so I try to not have any filters on Exchange.
My trouble is that my filters don't do me any good. I keep getting undeleted
messages in my delete box that trigger my "You've got mail" envelope, so I have
to maximize Outlook to see if I have e-mail. The envelope then won't go away
until I either mark all my messages to read (which means moving to "deleted"
where I see my latest message), or read an unread message.
I don't have authority to upgrade Outlook nor to upgrade the compa...Printing PDF vs Publisher File 'Margin Issues'
Hi, I have file 11x17 double sided that when I send my Publisher 2007 file to
my printer Xerox Docu Center 7665 it holds the margins perfectly as designed
Now if I print the same file to a PDF using Acrobat 7 Professional it views
online perfectly however if I send the PDF file to the same printer my
margins are not holding. 1/2 inch on the far left and far right are increased
to 1 inch and 1/4 inch top and bottom of each page is increased to 1/2 inch.
Would anyone have any idea what might be the culprit. Thanks in advance.
> Would anyone have any i...Microsoft far better than Google
...CrmDiscoveryService usage in VS 2008
I have imported the crmdiscoveryservice into a vs 2008 project. The object
definitions from the CRM 4 Professional Server (fully licenses) are not as
per CRMSDK documentation. The VS object browser can view the definitions
The properties url and UseDefaultCredentials are not present. Other
defintions for the OrganizationDetail are correct (or appear to be) as I can
not test them until the first problem is resolved.
Any experience of this?
Please ignore posted in wrong group.
> I have imported the crmdiscoveryservice into a vs 2008 project. The object...Which is better ?
Which way is better....
Running mail through a AV gateway then to the mail server or having a mail
store scanner that scans all incoming messages before releasing to mailboxes
Any greater benefit to of one over the other ???
Any benefit to running both simultaneously so mail would 1st be scanned at
the gateway then scanned again before released to mailbox ???
Both of these solutions would be software.
"_M_" <firstname.lastname@example.org> wrote:
>Which way is better....
>Running mail through a AV gateway then to the mail server or having a mail
>store scanner ...Better reports
I want to see my sales by department, or maybe even by
department and then by supplier. I also need to see what
i've sold and what i've received. Does anyone have any
better reports than what is in rms?
We have a fantastic reporting tool. We have a new excel
OLAP product that lets you slice and dice your data in
Microsoft Excel. You can view sales, po's, current on
hand, ect. by departments, suppliers, categories. We
have a report that shows current on hand, received to
date, outstanding on po's and what you've sold all in
one. You can...Outlook 2003 is better than I thought
Is this the latest version?
At first I wanted to stay with Eudora but after using this I can understand
why Eudora is no longer beign sold in stores. Although it was my first pop3
client, Outlook 2003 is many times better. However I do miss Pure Voice.
But most did not use this, and most will not (because of the advent of cell
phones). But then again Pure Voice was nice for sending voice mails to
Do not store up for yourselves treasures on earth,
where moth and rust destroy, and where thieves break
in and steal. But store up for yourselves treasures in heave...Which is better?
This might be a stupid question, but which offers better performance
when processing xml? Is it the XmlDocument, XPathDocument, or just
using an XSLT file?
"Roshawn Dawson" <email@example.com> wrote in message news:%23z535EzVFHA.firstname.lastname@example.org...
> This might be a stupid question, but which offers better performance when processing xml?
What sort of processing are you trying to do?
> Is it the XmlDocument,
XmlDocument is easiest and most flexible to do processing
where you want to modify something. It's not as fast as the
al...Contacts vs Personal Address Book. Can't pull emails into TO fiel
I'm using Outlook 2k3 and having a slight problem. WHen I view my Contact
list in the main view, I have two sets (not sure why but I'll be combining
them). These lists have standard name, email, etc.
Problem is when I go to create a new email message and click the TO: button,
it tries to look for my Personal Address Book which I don't have. How can I
make it not use the PAB and use the Contacts list instead?
OK, I think I just stumbled on the issue. For some reason on my COntacts
Properties, the check box to tell Outlook to use that in the Address Book
...ByVal vs ByRef when generating tree
I have a tree data structure in xml. I currently use ByVal and
recursion to draw the tree. My understanding is that each time I pass
the child node to the recursive function, it creates a copy of the
node containing items at the point and all subitems. I'm wondering it
it would make a lot of difference in memory usage if I pass the child
node by ref.
> I have a tree data structure in xml. I currently use ByVal and
> recursion to draw the tree. My understanding is that each time I pass
> the child node to the recursive function, it creates a copy of the...Wich is Better?
ADO using _ConnenctionPtr and...
DAO using CDaoDatabase?
Which is More Powerful?
...VS 2010 and VS 2008
Just spent a happy Sunday morning installing VS 2010.
Plus point: it found one syntax error in my several thousand .cpp files
which VS 2008 missed.
Problems: one or two minor ones not yet resolved.
Is there any reason why a resource only DLL compiled with VS2008 should not
work properly with a program compiled with VS2010 ?
What about other non-MFC DLLs with a pure C interface?
Mozart Music Software
For discussion and support see
>Is there any reason why a resource ...25 Days To Better Thinking Better Living.exe (7/7)
=ybegin part=7 line=128 size=1593879 name=25 Days To Better Thinking Better Living.exe
=ypart begin=1497601 end=1593879