|
Hi all,
do you know any good barcode generator lib? I've found some, including some good CP articles, but they are not enough as I need the maximum number of type of barcodes to cover: 1D and 2D.
Any option is welcome: paid or free&opensource.
thanks in advance,
Marc Soleda
... she said you are the perfect stranger she said baby let's keep it like this... Dire Straits
|
|
|
|
|
If you prepare to print barcode, you have to buy barcode fonts - only fonts can be printed clearly enough for scanner.
barcode fonts are code generators.
|
|
|
|
|
I'm using DLSoft's barcodes for .NET ([^]) which is adequate.
They cover a wide range of 1D and 2D barcodes, and the technical support is adequate.
|
|
|
|
|
Hi
Why we are using Pure virtual function and Which situation we used Pure virtual function ??
Thanks
|
|
|
|
|
See here.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
We're building interfaces using pure virtual functions, and yes, we used pure virtual functions mostly when we needed interfaces.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
I wanted to know that is there any way for an application to know that if the logged on user is on local machine or on Remote session ??
Regards,
Kushagra
I hate coding but I luv to develop 
|
|
|
|
|
I've got no way to verify this, but have you tried NetUserGetInfo() ? You might also find something in the Remote Desktop Services API.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
Just use System apis (Win32 FAQ)
|
|
|
|
|
|
hi
i use function waveOpen that create one wave file. this function get name of file in LPWSTR type.
i generate name of file with below code:
[code]
LPWSTR fileNameLPW;
char fileNameStr[20];
int indexOfFile;
sprintf(fileNameStr,"NEWFILE%d.WAVE",indexOfFile);
CreateWave(fileNameLPW);
[/code]
now how can i copy fileNameStr to fileNameLPW !?
|
|
|
|
|
|
hadi kazemi wrote: now how can i copy fileNameStr to fileNameLPW !?
Quote Selected Text
Well you should start by using all wide character functions, then fileNameLPW is redundant e.g.
WCHAR fileNameStr[20];
int indexOfFile;
wsprintf(fileNameStr,L"NEWFILE%d.WAVE",indexOfFile);
CreateWave(fileNameStr);
|
|
|
|
|
That should be swprintf or wsprintfW
(or use TCHAR instead of WCHAR and let the compiler macros pick the right windows function.)
|
|
|
|
|
Joe Woodbury wrote: That should be swprintf or wsprintfW
I checked my spelling carefully before posting, and still got it wrong
Thanks for correcting it.
|
|
|
|
|
hello coder
Is it posile to define same name macro in c project
like folloing
<br />
test1.h<br />
#define process (a&4) <br />
test2.h<br />
#define process (a&4) <br />
<br />
|
|
|
|
|
What are you trying to achieve here, this makes no sense?
|
|
|
|
|
maybe, but the compiler/preprocessor will probably report duplicate something.
But you could do something like (not really test, but I've seen code like in out stuff):
in test1.h
#ifndef process
#define process (a&4)
#endif
and in test2.h
#ifdef process
#undef process
#define process (a&4)
#endif
This signature was proudly tested on animals.
|
|
|
|
|
I still have no idea what you are trying to achieve 
|
|
|
|
|
I am having a class which is inheriting CEdit class ..........
But when I try to do ctrl c and ctrl v in the edit box of my dialog it does not perform copy paste.
but if I right click and then copy and paste then it is working fine.
|
|
|
|
|
MFC dialog some times blocks keyboard messages for its controls - really no good.
You can override key-down message of CEdit to see if CTRL-C is sent to CEdit, if not, use PreTranslateMessage(...) of dialog to send messages you need to the CEdit.
|
|
|
|
|
includeh10 wrote: MFC dialog some times blocks keyboard messages for its controls - really no good.
I thought there was someting in resource files for defining a connection between particular key combinations and commands; ACCELERATORS or similar?
|
|
|
|
|
How can we remove/rename a manifest entry programatically?
|
|
|
|
|
A manifest is simply a resource stored in the .rsrc resource section of the executable. You can modify/update or remove it with the UpdateResource Function[^]. You need to call it with lpType argument set as RT_MANIFEST. RT_MANIFEST is #defined as integer 24.
Best Wishes,
-David Delaune
|
|
|
|
|
I am having a class which is inheriting CEdit class ..........
But when I try to do ctrl c and ctrl v in the edit box of my dialog it does not perform copy paste.
but if I right click and then copy and paste then it is working fine.
|
|
|
|