|
I am getting these two errors:
Error 2 error LNK2028: unresolved token (0A00007F) "extern "C" long __stdcall RegEnumKeyExW(struct HKEY__ *,unsigned long,wchar_t *,unsigned long *,unsigned long *,wchar_t *,unsigned long *,struct _FILETIME *)" (?RegEnumKeyExW@@$$J232YGJPAUHKEY__@@KPA_WPAK212PAU_FILETIME@@@Z) referenced in function "public: void __clrcall BuildPatch::findRegPatch(void)" (?findRegPatch@BuildPatch@@$$FQAMXXZ) FormSearchFile.obj FormSearchFile
Error 6 error LNK2019: unresolved external symbol "extern "C" long __stdcall RegQueryValueExW(struct HKEY__ *,wchar_t const *,unsigned long *,unsigned long *,unsigned char *,unsigned long *)" (?RegQueryValueExW@@$$J224YGJPAUHKEY__@@PB_WPAK2PAE2@Z) referenced in function "public: void __clrcall BuildPatch::checkRegValues(struct HKEY__ *,wchar_t * const,wchar_t * const)" (?checkRegValues@BuildPatch@@$$FQAMXPAUHKEY__@@QA_W1@Z) FormSearchFile.obj FormSearchFile
Do I have to link some library files to the linker for the code to run??
How do I know which .lib files??
Som
|
|
|
|
|
First issue you have is that this is the C# forum, and C# does not use a linker. Were you looking for the C++ forum, or have you spammed the entire site ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
looks like I have posted in the wrong forum..
I was lokking for C++ forums..
Anyways, I will post it there..
If anybody knows the answer, it would be appreciated..
Som
|
|
|
|
|
MSDN is the place to search to find out what libs you need for specific C API calls. They tell you at the bottom what header you need, and what lib.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
|
Hi,
Kindly let me know that, is there any Date Difference method in c#?
or
will I have to use subtract?
Thank you in advance
(Riaz)
|
|
|
|
|
u can just subtract the dates
Rocky
Success is a ladder which you can't climb with your hands in your pockets.
|
|
|
|
|
This[^] might help you in future. Or a good book.
Subtracting one DateTime from another returns a TimeSpan object.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Been really plugging your article, haven't you?
Just kidding, of course.
Cheers,
Vikram.
Zeppelin's law: In any Soapbox discussion involving Stan Shannon, the probability of the term "leftist" or "Marxist" appearing approaches 1 monotonically.
Harris' addendum: I think you meant "monotonously".
Martin's second addendum: Jeffersonian... I think that should at least get a mention.
|
|
|
|
|
Sadly, I find the article more and more useful....
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hello friends
in my windows form , there is a listbox which gets filled on the form load event.
on the button click event, the item selected in the listbox is deleted from the database and message box appears telling that the this item has been removed from the database
the problem is that I want that after the messagebox is closed, the list box should be refreshed now holding the items that are now currently in the databse and the item I have just deleted should not appear in the listbox.
How will I achieve this?
Looking forward for ur kind suggestions on the problem.
Thanks
Sadaf
|
|
|
|
|
Clear the contents of the listbox and fill it again. You can also just remove the item you have just deleted but in that case listbox won't contain any items that have been added after your programs startup and will contain items that have been deleted by other users.
Giorgi Dalakishvili
#region signature
my articles
#endregion
|
|
|
|
|
re-populate the list box again from the Database. thats the safest way I think
Rocky
Success is a ladder which you can't climb with your hands in your pockets.
|
|
|
|
|
Hi,
I want the screenshot of current running application of client machine or any machine that is in LAN.
How can it be possible?
Regards,
sjs4u
modified on Monday, March 17, 2008 3:45 AM
|
|
|
|
|
as for my point of view first you should look into the mechanism of how to take a screen shot on your local machine. If you're successful in that you can then think of using Sockets and all that stuff to get the screen shot of a machine over LAN.
Rocky
Success is a ladder which you can't climb with your hands in your pockets.
|
|
|
|
|
So How to get the snapshot of current application which is running on local machine?
|
|
|
|
|
what have done so far for your RnD. I'vent done anything like that myself. and I'm sure you havent also so how far have u gone for your RnD
Rocky
Success is a ladder which you can't climb with your hands in your pockets.
|
|
|
|
|
How i can write text on image, using the color pallete of index image like tif,so resulting jpg have text color same like image.Regards,adnan
Many Thanks,
Adnan Rafiq
muhammadadnanrafiq@gmail.com
|
|
|
|
|
JPEGs are never indexed, so you really can't. A jpeg is lossy and no matter what colors you start with, it will go to 24 bit and the lossy compression will add colors.
If you were to save back out as a tiff, then I guess you could find the colors you want my looking through the pallette. I never use 256 color tho, nor do many other people, it's a shame you need to.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
what if we create a bitmat having format System.Drawing.Imaging.PixelFormat.Format24bppRgb ?
Many Thanks,
Adnan Rafiq
muhammadadnanrafiq@gmail.com
|
|
|
|
|
I want to sample project which one handle fund transfer from credit card
|
|
|
|
|
Here[^].
You can't do that without setting up a merchant account with a bank, unless you use paypal or something.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Talk to the bank or merchant that provide you the payment facility.
|
|
|
|
|
I am asking by all by you,if any one know .
I m not asking way of fund transfer,I am asking sample code in C# for fund transfer from credit card
|
|
|
|
|
Hi,
I am instatling application on the computer using .Net.
I want to schedule .exe file which is created in .Net.
Once the machine starts I want to run that .exe using the .Net coding.
Is there any other solution for the same.
Regards,
sjs4u
|
|
|
|