|
|
yup!.....all done!thanx!
"faith, hope, love remain, these three.....; but the greatest of these is love" -1 Corinthians 13:13
|
|
|
|
|
Could anyone plz tell me how to encrypt a MS-Access database using VC++ code?
|
|
|
|
|
Check for cryptoApi's in msdn. Advantage is, it comes free with windows. Where as many other third party crypto libraries are very expensive.
suhredayan There is no spoon.
|
|
|
|
|
But I needed a VC++ code for encrypting into the database and that too using RSA Algorithm.
|
|
|
|
|
|
I have used SetLayeredWindowAttributes function to transparent a window. But in "windows.h" header file not have some relative identifier declare.
Can you help me?
Thank you very much
|
|
|
|
|
This function is supported by Windows 2000 or later.
so define
#define _WIN32_WINNT 0x0500
before including windows.h, to tell the compiler that your target platform is Windows 2000 or greater.
suhredayan There is no spoon.
|
|
|
|
|
hi all,
how to calculate the no. of cycles taken by each function in VC++ based on profiling.
With regards,
sakthi
ok
|
|
|
|
|
Hi,
I am developping an ActiveX for my thesis. I have to represent graphically the IPs addresses source-destinatary of a network on the screen in a cercle. I want to interact with this IPs.
I have to be able to do RIGHT-Button on each IP and get a pop-menu. I don't know how many IP addresses are going to be, so I have to display them on the screen with as DrawText.
How can add the functionality Right-Button Mouse to a DrawText?
Another thing...when you create an ActiveX, the user can modify the size of the window containing the ActiveX, I wouls like to force the user to resize the window proportionally,I mean...creating a square...and not bein able to create a rectangle
Thank you very much
Javi
|
|
|
|
|
1) If the ActiveX is based on a CStatic, as I suppose, do not forget to set the SS_MOTIFY style.
2) Trease the WM_SIZE event and make every time your control look the way you want.
SkyWalker
|
|
|
|
|
Hi,
I create an installer package in which i can give shortcuts to come in the programs menu or desktop.
I am using IDE8.0
however i want to place an icon in the task bar which when clicked run's the application.
How can i implement this.
Also how to give an uninstall option which will remove it from the Add/Remove program folder.
Thanks
U get wht u Give
|
|
|
|
|
i want to write a program in c to establish a connection and transfer files between two remote machines using Ftp. Kindly tell me whats the basic idea and how to do it... also suggest any e-book or a tutorial. Thanks!
|
|
|
|
|
|
Thanks!! can i get some pure c code too? it would be a gr8 help..
|
|
|
|
|
|
no... no win32 based... ansi c one... Thanks! ur helping too much..
|
|
|
|
|
V.G wrote:
ansi c one
I am very sorry to mention this: I never had programmed in C (Dos Based), I Started straight away with C++. Actually I got concept of structural programming form PASCAL! (Hope you hear the name this language).
So I can't really help you in that! If you like I can make win32 based version of that ftp client which has no MFC dependency.
[Vote One Here, Complete my Survey....]
Alok Gupta visit me at http://www.thisisalok.tk
"I Think Believe this Will Help"
|
|
|
|
|
|
hello everyone
my code works well most of the time in debug mode,however,it failed when i ship it into .exe.i guess it may be the problem of memory leak. the code seems to have problem is as below:
for(int i=0;i<30;i++)
{
CString temp;
temp=myfunction();
if (temp!="")
{
dlg->FieldName[j]=new char[];
strcpy(dlg->FieldName[j],temp);
dlg->nColumnEnd=count;
j++;
count++;
}
}
and sometimes when debugging, it alerts as below:
Warning: Critical memory allocation failed!
Warning: Shrinking safety pool from 512 to 444 to satisfy request of 64 bytes.
Warning: Critical memory allocation failed!
Warning: Shrinking safety pool from 444 to 376 to satisfy request of 64 bytes.
Warning: Critical memory allocation failed!
Warning: Shrinking safety pool from 376 to 344 to satisfy request of 28 bytes.
Warning: Critical memory allocation failed!
Warning: Shrinking safety pool from 344 to 312 to satisfy request of 28 bytes.
Warning: Critical memory allocation failed!
Warning: Shrinking safety pool from 312 to 280 to satisfy request of 28 bytes.
Warning: Critical memory allocation failed!
Warning: Shrinking safety pool from 280 to 224 to satisfy request of 52 bytes.
Warning: Critical memory allocation failed!
Warning: Shrinking safety pool from 224 to 168 to satisfy request of 52 bytes.
Warning: Critical memory allocation failed!
Warning: Shrinking safety pool from 168 to 112 to satisfy request of 52 bytes.
First-chance exception in C.exe (NTDLL.DLL): 0xC0000005: Access Violation.
First-chance exception in C.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception.
First-chance exception in C.exe (NTDLL.DLL): 0xC0000005: Access Violation.
Is there any who can tell me what i could do to save my code?ThanX in advance!
|
|
|
|
|
steven_wong wrote:
dlg->FieldName[j]=new char[];
suhredayan There is no spoon.
|
|
|
|
|
|
First of all,thank you for all of your replies!
i am a beginner,and can you tell me what's wrong with my code more specificly?
i am sorry to trouble you again.
|
|
|
|
|
steven_wong wrote:
i am a beginner
Me too!
steven_wong wrote:
can you tell me what's wrong with my code more specificly?
here
dlg->FieldName[j]=new char[]; // you not given how much memory you want
steven_wong wrote:
i am sorry to trouble you again.
No problem when ever you need help you can buzz me again
[Vote One Here, Complete my Survey....]
Alok Gupta visit me at http://www.thisisalok.tk
"I Think Believe this Will Help"
|
|
|
|
|
Thank you so much for your help,thatsalik,i have figured out my error.
it is really quite nice to meet you !
|
|
|
|