Click to See Complete Forum and Search --> : IIS CGI with ReadFile


starzen
July 16th, 2010, 07:07 AM
i am having a problem with a legacy CGI application written in C/WINAPI

it essentially is a notification callback to receive google checkout notifications as an HTTP upload (application/xml)

it is working for the most part and when i use a simple test program it works fine as well but when google sends larger xml files (more than 1K) i get the proper content length but read file doesnt return all the bytes.

if i send the same file from my test program it all works fine.

tried all kinds of things but am running out of ideas

Anyone has any idea what i can look for?

thanks

Mike

ahmd
July 17th, 2010, 11:45 PM
Anyone has any idea what i can look for?
Source code for that application. Most certainly it uses some 16-bit programming concepts that cause a memory restriction. If the code is not proprietary post it here and someone will take a look at it.