Finding the length of any non-dynamically allocated array is easy. You simply write:
int Array[ ] = { ... };
unsigned int Array_Length( sizeof( Array ) / sizeof( Array[ 0 ] ) );
User Profile
Collapse
-
suggest which certification course to do in .net
Hi,
I am currently working in .net field.i have 2 year experience in .net . i know c# and WCF service. I have planned to finish the microsoft certification. i searched about it in google. it take me to different certification courses like, MTA,MCTS and MCPD. what certification course should i do in c# or WCF?can anybody suggest me i was confused. -
is your Primary Key has an identity value in SOME_table? if yes, try to insert the data except the primary key, so that your table automatically gives the value to primary key column.Leave a comment:
-
where does the unchecked(disabled) services(in msconfig) are stored in wmi repository
the msconfig has services tab. this tab is used to show the startup services list. if i disable some services i can view it from registry, but how to get these details from the wmi? is there any classes are used? -
can't disable some services in msconfig of windows server 2003
i found services tab in msconfig. i have tried to disable the services (eg. rpc) in msconfig. but cannot disable the services. it says it is an essential. i also found one field in the same services tab as "essential" . where this essential information is stored in registry? -
difference betweeen regedit services and services.msc services list?
recently i have seen the registry for get the services information. during that i have seen a lot of services in that list(HKLM\curre ntcontrolset\se rvices) when compared with the services.msc services list.
1) why regedit(registr y) shows more services than services.msc list? please help me to clear on this?
2) is it shows both driver services and win32 services? because i also got to know services are in two types. one... -
service error code 1053
Hi
i am new to vc++. i just created the service and register it with service snapin. i then started service by using startservice() function. it shows the error code as 1053:"The service did not respond to the start or control request in a timely fashion"
herewith i have attached the codeCode:// sample.cpp : Defines the entry point for the console application. // #include "stdafx.h"
-
how to create a service and run in service control panel
Hi,
I used the following code to create a new service in visual c++6.0. while i am running it (using ctrl+F5) it doesnot shows any output.
Code:// sample.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include "Windows.h" #include "Winsvc.h" #include "time.h" #include "stdio.h"
-
I got the solution for it. we have to run that code in vc++. then only we can get the details from wmi correctly. if we run it in turbo c++, we couldnot get the solution correctly and also get an error. so try to use vc++ for obtain data from wmi.Leave a comment:
-
I got the solution for it. we have to run that code in vc++. then only we can get the details from wmi correctlyLeave a comment:
-
unable to open include file sdkddkver.h,excpt.h
hi
in turbo c++ compiler i have written the following code http://msdn.microsoft.com/en-us/libr...(v=vs.85).aspx
while compilng this code i get an compile time error "unable to open include file sdkddkver.h,exc pt.h"
please help me to resolve this. -
is it possible to obtain data from WMI using c++
hi,
i have seen many example for to get the data from wmi using c++. will it work on turbo c++ or vc++. if it is written in vc++ means could we develop the same concept using c++?
Note: the link that i have seen the example
[URL="hi, i have seen many example for to get the data from wmi using c++. will it work on turbo c++ or vc++. if it is written in vc++ means could we develop the same concept using c++? Note:... -
i couldnot view the date and time in mvc application
hi,
i am using microsoft visual studio express 2012. on here i tried to display the today date and time using ViewData technique. but i couldnt get the today date and time in view layer.
my code is, in the controller
Code:public ActionResult display() { ViewData["currenttime"] = DateTime.Now.ToString(); return View(); }
-
gomathipriya started a topic why the serial number property of win32_CDROMDrive class is empty in windows 7?in Windowswhy the serial number property of win32_CDROMDrive class is empty in windows 7?
hi
apart from the windows xp and windows server 2003, i can get the serial number field of win32_cdromdriv e class. this field has a value when i am checking it with my laptop. when i check the same in another pc i couldn't get it. why this happens?
thanks in advance. -
-
gomathipriya started a topic how to provide system.diagnostics.performancecounter impersonation through c#?in C Sharphow to provide system.diagnostics.performancecounter impersonation through c#?
i have used the following code,
Code:static void Main(string[] args) { PerformanceCounterCategory cat = new PerformanceCounterCategory("Processor", "172.16.2.171"); List<PerformanceCounter> counters = new List<PerformanceCounter>(); foreach (string instance in cat.GetInstanceNames()) counters.Add(new PerformanceCounter("Processor",
No activity results to display
Show More
Leave a comment: