|
this URL might help http://www.kbalertz.com/Feedback_177218.aspx
|
|
|
|
|
Hello. I once saw a piece of code, which used fprintf instead of send(), to send data via winsock. How can I "convert" my socket-handle into a file-handle, usable in the fprintf-function ?
Thank you.
|
|
|
|
|
Does anybody know of any utilities that can be used to convert from Borland C++ Builder 1.0-3.0 to Visual C++ 6.0/.Net. The company I work for has many products that must be upgraded. I hate to start from scratch if not necessary. Thanks for any info.
Bill Miller
|
|
|
|
|
I know of no utilities, but would advise you to create the VS projects/solutions from scratch even if there were. In the past I've done way to many cross compiler "ports" (and even backward ports from VS 4/5/6 to VC++ 1.52c and even a "port" from OWL to MFC.)
The OWL to MFC port was the most difficult, especially since at the time, MFC didn't support reflection but OWL did. (For the record, everything else was easier in MFC and Visual C++ 1.52c was much more stable.)
If you need assistance, I'm available for moonlighting.... (I'm one of those sickos who actually likes doing this, within reason [like my current job where we're just holding our collective noses and sticking with the convoluted combination of C, C++, MFC, STL, rolled-their-own-bizarro-partial-clone-of-ATL and mystery code.])
Anyone who thinks he has a better idea of what's good for people than people do is a swine.
- P.J. O'Rourke
|
|
|
|
|
Hi Joe,
Thanks for replying so quickly. I will pass your suggestions along to the powers that be, and will keep you in mind. have a good weekend.
|
|
|
|
|
Hi,
I am converting an VC 6.0 C++ DLL to ATL VC 7.0 DLL. I first converted the DLL to a VC 7.0 non-managed COM DLL. I tested this and everything works fine. Then I proceeded to add an ATL COM+ class to the project. The compiler compiles w/ no errors however it errors out when trying to regsvr32 the DLL w/ the following message...
[Performing registration
Project : error PRJ0019: A tool returned an error code from "Performing registration"]
What does it mean ???
Thanx & Regards,
Paul
Paul
|
|
|
|
|
I have exactly the same problem. If you look under the linker settings you probably have register output, as you would for an ATL project. Thing is this sets the post build event to run regsvr32 /s /c outputname. The ide interprets no output on the command line as being an error,. But /s silent was specified, hence why its confused. So in fact, it did register successfully, but took its silence as meaning something was wrong. Don't get me started on the /c, as its not even an option on regsvr32!
Personally can't see any way to fix it other than turning it off. So you have to regiser it yourself. Possibly, though have not tried it yet, is to pass it to a bat file, to echo something and keep it happy.
All I can say is VC++ team, fix this as its crap!!!!
If you allow me to rant on, another problem I've had recently is that even though I specify link to the Multithreaded debug dll version of the CRT, it will link to both the debug and release versions, giving me problems with heap allocation problems. Arrgh. You have to force it not to link. See LNK4098 I think.
And finally, wait until you see VS.NET get its knickers in a twist with Source Safe. Its really quite sad. Its like a whole load of stuff they have just not tested.
|
|
|
|
|
I wonder how I can find paint region of every window. You know that there a lot of windows with custom form (elipse, triangle, etc.).
Best regards,
Alex
|
|
|
|
|
Try Cwnd::GetWindowRgn(), the parameter is a HRGN
|
|
|
|
|
Hi, i need source code about TimeStamp Protocol ( i think RFC 3161 )
can anyone help me ? Any link with source code ?
thanks
luis
|
|
|
|
|
Luis Ricardo wrote:
Any link with source code ?
No, but have you tried Googling for it?
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
|
|
|
|
|
|
You might consider e-mailing the authors of the RFC. They might have some code, or know of a link that does.
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
|
|
|
|
|
Try sourceforge.net:
http://sourceforge.net/projects/sipstack/
or
http://sourceforge.net/projects/timestamping/
Huey
|
|
|
|
|
In order for Luis to benefit from this, your reply should be directed to him.
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
|
|
|
|
|
Re-send:
Try sourceforge.net:
http://sourceforge.net/projects/sipstack/
or
http://sourceforge.net/projects/timestamping/
Huey
|
|
|
|
|
|
I want to convert a integer value to a CString.
I have been using 'itoa' or 'sprintf' to convert integer value to char string then convert the char string to CString.
Is there a better way to do it?
|
|
|
|
|
Check out the Format function (CString member)
|
|
|
|
|
As mentioned above:
int i=5
CString szI = "";
szI.Format("%d", i);
~Nitron.
ññòòïðïðB A start
|
|
|
|
|
Thanks all.
CString::Format is just what I need.
|
|
|
|
|
I want to create a new codec for windows media player for my own avi file. I have my own fourCC value and I would like WMP to recognize it and run the proper decoder for my file...
Any ideas???
Thanks,
JS
|
|
|
|
|
write a normal directshow filter.
Don't try it, just do it!
|
|
|
|
|
I have a Direct Show filter that I made which enables me to view my video using GraphEdit...
In GraphEdit, I can make a filter graph and render the avi... But, how can I make it so Windows Media Player will render my file, without any questions asked?
|
|
|
|
|
I am not expert in this area but this URL might help
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmplay/mmp_sdk/playerobject.asp
|
|
|
|