I have configured a FTP server on our lab system using IIS6.0 on windows xp pro. I am able to connect to the server from any of our lab systems, but not able to connect to it from systems at home. Can someone help me on this? also I am using port 24 rather than standard 21. -Pavan
pavanbabut
Posts
-
Can not access IIS6.0 FTP server from outside network?? -
Fastest way to scale binary images??Thanks for the info... will try to implement this as easy as I can.. -Pavan.
-
Fastest way to scale binary images??Any articles on bi-linear interpolation that is easy to understand... -Pavan
-
Fastest way to scale binary images??Hi, I am looking for a fastest way to scale up/down a binary image. I may end up scaling images only in X direction. Is there any easiest/fastest way to do this in VC++?? For now my images are stored in an array (not a two-dimensional array, but just a single strip array(one row after another from the image). Since I am dealing with binary images, I hope I dont need to use interpolation. The data that I have is the original dimensions of the image and the final dimensions of the image. For example, my original image is 9x9 and my new dimensions are 15x9. thanks, -Pavan.
-
Memory Allocation/Deallocation issues??Nice article... thanks..:)
-
Memory Allocation/Deallocation issues??Ok, I figured out the problem. Once I allocate the memory, I am saving data into the variable by calling another function, in this process I am allocating more memory to another variable to hold a bitmap data, which is not being deallocated later and its piling up. -Pavan.
-
Memory Allocation/Deallocation issues??Whenever I check it, it is freeing only half of the allocated size. But it frees the whole allocated memory when I deallocate it at the time of terminating the application, not while 'm running the application. -Pavan.
-
Memory Allocation/Deallocation issues??I am having some weired situation going on in my VC++ program when I allocate and deallocate memory wihtin the application. Lemme explain the scenario, I am having an applicaiton where I allocate memory to a variable (which are initialized to NULL when the program starts) whenever the user requests and only deallocates it when the user requests the same variable again where I reallocate the memory again. But when I deallocate the memory it is not releasing the whole memory that I have allocated it before. For example- My program starts with total mem usage of 92596 bytes (At this point I haven't allocated any memory to those variables) When I allocate memory to the first variable using either GlobalAlloc or VirtualAlloc it increases by 94752 bytes which equals to ~2000bytes When I deallocate the memory using either GlobalFree or VirtualFree it is deallocating only half of the memory ~1000bytes Now When I reallocate the memory in the same way as above, it is allocating new 2000bytes. So, in this way slowly the memory being used by my program is increasing drastically after a while, as I sometimes allocate about 225 variables of ~2000bytes each. But when I deallocate the memory of the same variables when I am exiting the application it does deallocate ~2000bytes of each variable. Is there something I am doing wrong??:confused: thanks. -Pavan
-
Installing SATA drives on SAS controller??Hi, Would like to know how the performance of the SAS drives is effected when you install SATA drives on the same controller?? If there is any performance effect, how does it change between using a 10k rpm ATA150 WD drives versus 7.2k rpm SATA 3.0Gb/s drives along with SAS drives. At present I am having 2 SAS drives in RAID0 configuration on the SAS controller. I need to increase the hard disk space to about 500GB and thinking of getting some SATA drives (since SAS drives are too costly). -P
-
How to produce a +5V TTL signal on COM port?Ok, I am getting it. Just played around with the output pins using a LED. The signal goes from -11.6v to +11.6v. Inorder to get a TTL signal, it seems we need to use a voltage converter MAX-232(source:- codeguru forums). Do you know any other way to produce a TTL type signal (0-5v) other than using that converter? I am not sure we can produce without using that, but in case if have any idea lemme know. Thanks for the info, -P.
-
How to produce a +5V TTL signal on COM port?I have tried enabling and disabling DTR and also RTS bit, but couldnt see any spike signal on the Oscilloscope?? I have connected pin 4 and pin 5(ground) for DTR bit to the scope and 7,5 for RTS bit. I didn't see any change in the signal (stays flat at zero all the time). -Pavan
-
How to produce a +5V TTL signal on COM port? -
How to produce a +5V TTL signal on COM port?To be clear, I just need to produce a signal which will have a spike (think of it as a trigger) whenever I like. This is fed to another signal recorder which keeps looking at this signal for any trigger (spike) and records it. -Pavan.
-
How to produce a +5V TTL signal on COM port?Hi, I am wondering if there is any way to produce a +5V clean TTL signal through COM/RS-232 serial port in C++. I just need to produce a clean +ve spike over the serial port. thanks, -Pavan.
-
Good resource for MFC MDI application development??I came up with lots of doubts after creating my first MDI application, but for the basic ones.. 1) First and foremost, how can I make a MDI applicaiton open with just the main frame (without child frame)? 2) How can I resize the child frame to the size of the image that is been opened by the user?? Say, if the image dimensions are less than the current main frame dimensions it will display in full scale, but if not, it should display the image covering the whole main frame with scrollbars to move down. 3) How can I open the image in child window so that it always resets itself to middle (aligned center)? i.e. even if the user clicks on the maximise button of child frame, the image should reset itself to the center of the main window. 4) How can I update the status bar panes while the user moves his mouse over the image?? I have a status bar in child window with a pane supposed to display the pixel location and intensity value. thanks, -Pavan.
-
Good resource for MFC MDI application development??Thanks for your reply. I will go thru those articles and hope I will get some more knowledge on those topics. I am comfortable developing dialog based UI applications, but not MDI and this is the first one I am tyring to develop. -Pavan.
-
Good resource for MFC MDI application development??I am trying to develop a MDI application in MFC. I am going thru different books "MFC with Visual C++ 6"-Mike Blaszczak, "Visual C++ MFC Programming by Example"-John Swanke and MSDN (ofcourse). But they are all like bits and pieces for me and I am not able to get a good idea on building an application from scratch. Does anyone have a good resource on developing a MDI MFC application from scratch? My application is a BMP (mainly a 8bit gray scale BMP) viewer on which the user can select various points and highlight those points, the user should be also able to move/delete selected points and also perform some basic image processing techniques like brightness/contrast enhancement. I have the basic idea on how the interface should look like. thanks, -Pavan.
-
Using Intel IPP libraries??Hi, I would like to know if I can perform various types of digital image processing techiniques using Image processing functions of Intel's IPP libraries. I would like to perform operations like FIR filtering (right from creating using frequency response matrix [meshgrid] and then window it [like disk]) and then do some morphological operations etc. These are pretty much stright forward in Matlab, but I would like to implement the whole program in c++. Anyone have any idea/suggestion?? thanks, -Pavan.
-
How to start an application on another system?Thanks for explaining in detail. I think I would go with the second approach. I am not worried about the server side program as its a basic c++ console application (I can even end up executing exe files depending on the message it receives), but on the client side, I have to send messages from both MFC based application and also from basic c++ application DLL. But I can try both of the approaches that you suggested and see which one is more feasible within my application. thanks, -Pavan.
-
How to start an application on another system?I have tried this creating a client/server architecture. I have created a server program on the PC on which I would like to run the programs and then used a client program on another PC to send messages to the server to start/stop a program. The problem is, from the time I disconnect and reconnect the client, the server doesn't recevie any messages from the client untill I reinitiate/rerun the server side program. I am using Ethernet to communicate. I am not having any COM ports left to use on client system, so the remaining are USB, parallel and ethernet ports. Is there anyway to overcome this. I would like to run the server program all the time listening to the client requests no matter whether the client connects/disconnects. In other words, I would like to run the server program when windows boots and closes at windows shutdown and keeps listening to the client requests. thanks, -Pavan.