Tagged Questions
1
vote
1answer
333 views
weird about send udp packet to local lan
I'm using visual studio 2003 to write a simple program of communcation with local LAN via UDP socket. And I'm trying to not use MFC. The following is a small piece of code I used to test UDP socket:
...
4
votes
4answers
124 views
what is the size of stack in VC++?
I want accurate information about stack overflowing in VC++ (32 bit and 64 bit), and specially in recursion. In Debug mode, this happens so soon in recursion (like 4500 running of a simple recursive ...
0
votes
1answer
145 views
How to merge two windows vc static library into one
I am having a two static library a.lib and b.lib(of C language) which is generated using VC6 (Visual studio 6.0) .
I want to merge these two libs into one static lib c.lib. How to do this in CLI ...
0
votes
0answers
15 views
there is a usb device as wave input and output ,How do I bind it
my software wants to use this usb device, I use waveInGetNumDevs () to determine wether it has connected successfully. But now I want to open it (using waveInOpen()), how to achieve this?
0
votes
1answer
131 views
VC: How to split big .lib into small .lib files
Environment: VC, Windows.
I have a big .lib file, aaa.lib, created by third party. I have no source code. I need to build myselves static library bbb.lib, which use few functions from aaa.lib. Because ...
0
votes
0answers
135 views
StartService with argument
I am trying to convert a win32 application in to service. I use CreateService() to create it application as a service(using below code).
SC_HANDLE schService = CreateService
(
...
0
votes
1answer
388 views
Setting output path for cl.exe
I'm using command line param Fo, command line is like this:
file1.c /ZI /nologo /W3 /WX- /Od /Oy- /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_UNICODE" /D "UNICODE" /Gm /EHsc /RTC1 /GS /fp:precise ...
0
votes
2answers
452 views
Visual C++ 10 (aka 2010) compared to Visual C++ 9 (aka 2008)
Is there an online resource describing the changes in the code generation of VC10 compared to VC9 ?
I'm not talking about c++0x and other nice features (such as built-in static_assert), neither the ...
1
vote
0answers
186 views
allocating memory in c, freeing in c++
UtilityTest.cpp and utility.c are in two different project but in a single solution.
In UtilityTest.cpp, after calling 'BytesToString(pbArray,5)', it fails to free. Why?
We cannot allocate memory in ...
2
votes
4answers
154 views
error LNK2010 in visual c, cannot call method in other project file
error LNK2019: unresolved external symbol "char * __cdecl
BytesToString(unsigned char const *,unsigned int)"
(?BytesToString@@YAPADPBEI@Z) referenced in function
_wmain ...
0
votes
2answers
93 views
GUI to windows service
I have implemented a service which transfers the file using socket to another computer. I want to provide GUI for the service. How may i do this?
My service is implemented in the C.
-1
votes
1answer
56 views
static variable in vc [duplicate]
Possible Duplicate:
Understanding static variables declaration/initialization in C
I have only one file in my project called test.c; the code below does not compile if I do not define ...
0
votes
2answers
307 views
Openssl in windows issue
While I try to create lib files for windows.The following error came.
Please help on this issue.
CODE Explanation
This Line I actually typed in visual studio command prompt.This will create the obj ...
0
votes
0answers
104 views
Network scanning using c (or) c++ under windows? [closed]
I want to get the all information present inside any workgroup.
I found the workgroup inside entire networks in windows xp.
My task is to get the details that a system holds the information inside ...
0
votes
1answer
457 views
CPP + Regular Expression to Validate URL
I want to build a regular expression in c++{MFC} which validates the URL.
The regular expression must satisfy following conditions.
Valid URL:-
...