Is there a way to determine the size of a reference type object? I saw that sizeof in .NET can only be applied to value types. But how can I find out the size of an instance of a class object?
Thanks,
s-)
Blessed is he who in the name of justice and goodwill, sheperds the weak through the...
I have a dialog class derived from CAxDialogImpl with a fie controls on it, a tab control and some tabs, each of them being a dialog itself.
All is working ok on it except one thing: the tab order.
That is when the focus is on the tab control - it does not enters the controls on the current...
Hi there,
How can COM object and a COM object wrraper dll generated with tlbimp. I use the generated dll in one simple C# test project, adding it to references.
the following piece of code:
...
MyComObjectClass cs = new MyComObjectClass();
object objReturned = cs.MyComMethod(param1, param2)...
I have a few COM+ components made in classic ATL with DB calls already set up for an ASP application with VBS scripts. Now we want to exchange the App interface to ASP.NET
1. How can I use existing COM+ components in a .NET environment? More exactly, in code behind of a aspx(ascx) file. Some...
Hi,
I am comming from MSSQL(3 years)
I am debugging a horde of COM compionents that are making a lot of Oracle database calls.
I was wondering how can I get the equivalent of Profiler from MSSQL in order to see ALL the queries that have run against the Oracle database in their order and with...
I am coming from MSSQL (3 years)
Now I have to work with Oracle. I just learn the basics/
I am intereseting in a few Q&A on Oracles stored procedures(probably silly questions):
- how can I make a procedure that returns a recordset?
(If I just simply put a select * from XXX in a proceudre it...
Hi,
This problem is becoming annoying. It took me two days and I did not even solve it. here it is.
The problem is that I am having a crash when I am passing VARIANT arguments to a function prototype (below is the IDL signature). The signature is the same in the callee too, I did not change it...
Hi everybody,
This problem is becoming annoying. It took me two days and I did not even solve it. here it is.
The problem is that I am having a crash when I am passing VARIANT arguments to a function prototype (below is the IDL signature). The signature is the same in the callee too, I did not...
Hi everybody,
I have a "replication problem" like that:
In a new system I must implement a structure of two mirrored SQl server with one identical database. Reason for this: system backup in real-time
Restriction:
- the databases must be identical at all times - real time, not from time to...
I have a .mdb which has a query that requires one In Parameter. I want to be able to call the query which returs a table from ASP.
let's assume the query is called TheQuery and the parameter is called TheParameter and is an integer
I have tried:
Select * from TheQuery
where (TheParameter = 1)...
Does anybody know a test center free from C, C++ and Visual C++. Kinda like Brainbench but free.
Tnx
s-)
Blessed is he who in the name of justice and goodwill, sheperds the weak through the valley of darkness...
http://www20.brinkster.com/ionelb
I want to update 2 bits in a large file at given offsets.
The big file is 8k paginated, and I also know in what page to make the update (
let us say that the absolute offset is 8196 in page 2 in the 1 Mb file. there i Have two bytes I want to overwrite with ascii characters 0 and 1.
How ca I...
How can I find out the path of a parent process?
Some short samples would help. I know how to do it with current process, but how can I manage to do it with the parent process.
Tnx a lot,
s-)
Blessed is he who in the name of justice and goodwill, sheperds the weak through the valley of...
I have a template class made in C++ like this
template <class T> class
TypedArray
{
private:
T* m_pArray;
int m_nSize;
int m_nMaxSize;
const int m_nGrowBy;
public:
TypedArray():m_nGrowBy(4), m_nMaxSize(0)
{
m_nSize = 0;
m_nMaxSize = 0;
m_pArray = 0x0;
}
~TypedArray()
{...
I have a template class made in C++ like this
template <class T> class
TypedArray
{
private:
T* m_pArray;
int m_nSize;
int m_nMaxSize;
const int m_nGrowBy;
public:
TypedArray():m_nGrowBy(4), m_nMaxSize(0)
{
m_nSize = 0;
m_nMaxSize = 0;
m_pArray = 0x0;
}
~TypedArray()
{...
I have a class, which is not derived from any other(Generic class)
Inside it, i have a mai loop of execution(a while).
I want to be able to "know" the percent done from outside the class object, without having to pass a calling-class object pointer.
This is because the class objects...
I haven't used template classes for quite a while and now, when I am tring to use it I get a linker problem.
I made a template class
template <class T> class CSearchAlgorithms
{
public:
CSearchAlgorithms(T* pArray, int nCount, T nLookedFor);
virtual ~CSearchAlgorithms();
void...
How do I delete a Directory that is NOT empty (has subdirectories and files)?
I do not want to use the native RmDir and Kill, because is too messy for me.
I'd like a single api call, if posible, without opening any DOS window (not like calling the MSDOS rd /s /q)
TNX
s-)
Blessed is he...
I am not very familiar with VB. I have the task of making some small utility in VB. Now , I have 2 prb
1. How do u add an horizontal scroll bar to a list box control, in the simplest way
2. How do a make a small splash scrren for long operation with the SQL Server. The problem is that I cannot...
I have a table which has about 20 columns with a key of 3 fields (BaseId, IdObject, IdConstraint) in which I have information about all the constraints of all tables of 2 databases.
The probelm is:
For the constraints that exists on both databases I have 2 records, which I know that are...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.