|
DOS version of Turbo C++? The code segment is read-only on Windows.
Pavel
Sonork 100.15206
|
|
|
|
|
Howdy,
Does anyone know of a macro or whatever which lets you display line numbers in the VC6 Editor? I am having no luck so far...
Cheers
James
|
|
|
|
|
Try this dude..... but it's for C under Linux...might work here too.
#define TRACE printf ("%filename, %linenumber\n", _ _FILE_ _,_ _LINE_ _)
be careful with the "_"
and call TRACE anywhere you want. IE: TRACE; that's all
Good luck to ya.
Jey
|
|
|
|
|
Hi,
I'd be oblidged if someone can give me the code (using VC++) to accessing a particular port at a specified IP address.
The code should detect for failure(-1) or success.
Many Thanks,
John
|
|
|
|
|
Looking through a log file from Dr Watson (drwtsn32.exe) i found the following line
'------------ Stack Trace ---------*
FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Funktionsnavn
01712610 00000665 6C3A1C58 01711320 00000001 6C3A1C58 !DLdbAPI::`default constructor closure'
Now I am wondering what 'default constructor closure' means ... can anyone help (the program that creates the dump/crash is in visual c++
Something clever
|
|
|
|
|
I *guess* this may be the default constructor generated by C++ compiler. Do you have the source for DLdbAPI class?
Tomasz Sowinski -- http://www.shooltz.com
*** Vodka. Connecting people. ***
|
|
|
|
|
Yes I do have the source, but it doesn't really give any hints as to what this could mean. But I suspect that you're probably right, it probably has something to do with the default ctor.
Something clever
|
|
|
|
|
Is there a difference between Visual C++ and C++
|
|
|
|
|
Question is Silly but Good
VC++ is Microsoft specific...
A Programmer Never Dies..!!
|
|
|
|
|
C++ is a programming language, Visual C++ is Microsoft's product for programming in the C++ language.
|
|
|
|
|
markkuk wrote:
C++ is a programming language, Visual C++ is Microsoft's product for programming in the C++ language.
This is the nicest (shortest and accurate) explanation
Best regards,
Alexandru Savescu
|
|
|
|
|
Can C# use the unmanaged classes I created with VC++ 6.0 before, which use many pointers ?
|
|
|
|
|
No. C# and C++ are totally different languages.
Signature space for rent. Apply by email to....
|
|
|
|
|
Yes. Just build a DLL around it.
Then from C# you call the exported DLL functions thanks to the [DllImport("mydell.dll")] attribute.
The other way is also possible. Documented in MSDN.
MS quote (http://www.microsoft.com/ddk) : As of September 30, 2002, the Microsoft® Windows® 2000 DDK, the Microsoft Windows 98 DDK, and the Microsoft Windows NT® 4.0 DDK will no longer be available for purchase or download on this site.
|
|
|
|
|
Hi,
Tell me what means "CancelIo"?
Thnx
Extreme programming. Do the No.1
|
|
|
|
|
I guess you're after API function CancelIo which "cancels all pending input and output (I/O) operations that were issued by the calling thread for the specified file handle. The function does not cancel I/O operations issued for the file handle by other threads". MSDN has the details.
Tomasz Sowinski -- http://www.shooltz.com
To some its a six-pack, to me it's a support group
|
|
|
|
|
I am working on 3D Studio Max R4 to create a plugin using visual c++6.0 However, when I tried to add a win32 API using a sample cpp file, I get this error: c2065 undeclared identifier
I have defined the API in resource.h, .rc file format and the .cpp format. However, I still get that error. In addition, I have updated my SDK in Aug 2002. Can someone solve this prob? I will be grateful for that. Thanxxx.
|
|
|
|
|
|
So what's the name of identifier causing C2065?
Tomasz Sowinski -- http://www.shooltz.com
To some its a six-pack, to me it's a support group
|
|
|
|
|
hello,
how to convert a variant to CString..i used _bstr_t & CString..but i am not getting any ans..
|
|
|
|
|
CString str = var.bstr;
Where var is type variant.
But you need to check if the var is type BSTR. For that you need to test if var.vt == VT_BSTR ;);)
In other case you need to use the VariantChangeType function to convert the variant to BSTR....
Regards
Carlos Antollini.
Sonork ID 100.10529 cantollini
|
|
|
|
|
I've studied XtraBuilder and (a little)
XDK, examinig the examples, and now I'd
like to begin coding myself using Visual
C++ but ... I don't know how to start
building an Xtra !!!
When I open file-new I dont't know what
to choose (even if I'd made some tests).
Somebody can help me to start?
Thanks.
|
|
|
|
|
I have a file that combine htmls and gifs.
For example the first 100 bytes is html the rest is the gifs related the html. How can I fill them to webcontrol ? Can I read them to memory and put the memonry to webcontrol (IE) ?
Please give me some hints ? Thank you.
|
|
|
|
|
u have to cut the file into several files: the html file, and one for each gif, and then Navigate2 the html file!
Papa
Murex Co.
while (TRUE)
Papa.WillLove ( Bebe ) ;
|
|
|
|
|
Hi,
have you ever come across some info on this?
Thanks
R.
|
|
|
|