473,394 Members | 1,811 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Need help with compiling warnings that might cause memory error

Hi I'm using vs2005. I am getting a bunch of compiler warnings after I made
some changes to my code that was compiling clean. I'm also getting memory
errors when I run my program and it's pinvoking some C++ code, which was
working also fine before. I wonder if these warning are causing the problem.
I would appreciate some help or suggestions on how to correct these. Thanks.

Warning 37 At least one of the arguments for
'IADsExtension.PrivateGetIDsOfNames' cannot be marshaled by the runtime
marshaler. Such arguments will therefore be passed as a pointer and may
require unsafe code to manipulate.
Warning 39 At least one of the arguments for
'IDirectoryObject.GetObjectAttributes' cannot be marshaled by the runtime
marshaler. Such arguments will therefore be passed as a pointer and may
require unsafe code to manipulate.
Warning 38 At least one of the arguments for
'IDirectoryObject.GetObjectInformation' cannot be marshaled by the runtime
marshaler. Such arguments will therefore be passed as a pointer and may
require unsafe code to manipulate.
Warning 40 At least one of the arguments for
'IDirectorySchemaMgmt.EnumAttributes' cannot be marshaled by the runtime
marshaler. Such arguments will therefore be passed as a pointer and may
require unsafe code to manipulate.
Warning 41 At least one of the arguments for
'IDirectorySchemaMgmt.EnumClasses' cannot be marshaled by the runtime
marshaler. Such arguments will therefore be passed as a pointer and may
require unsafe code to manipulate.
Warning 47 At least one of the arguments for 'IGetAppData.GetAppData' cannot
be marshaled by the runtime marshaler. Such arguments will therefore be
passed as a pointer and may require unsafe code to manipulate.
Warning 46 At least one of the arguments for 'IGetAppData.GetApps' cannot be
marshaled by the runtime marshaler. Such arguments will therefore be passed
as a pointer and may require unsafe code to manipulate.
Warning 48 At least one of the arguments for 'IGetAppData.GetCLSIDData'
cannot be marshaled by the runtime marshaler. Such arguments will therefore
be passed as a pointer and may require unsafe code to manipulate.
Warning 27 At least one of the arguments for
'IPrivateDispatch.ADSIGetIDsOfNames' cannot be marshaled by the runtime
marshaler. Such arguments will therefore be passed as a pointer and may
require unsafe code to manipulate.
Warning 32 At least one of the arguments for 'ITypeComp.RemoteBind' cannot
be marshaled by the runtime marshaler. Such arguments will therefore be
passed as a pointer and may require unsafe code to manipulate.
Warning 29 At least one of the arguments for 'ITypeInfo.RemoteGetFuncDesc'
cannot be marshaled by the runtime marshaler. Such arguments will therefore
be passed as a pointer and may require unsafe code to manipulate.
Warning 28 At least one of the arguments for 'ITypeInfo.RemoteGetTypeAttr'
cannot be marshaled by the runtime marshaler. Such arguments will therefore
be passed as a pointer and may require unsafe code to manipulate.
Warning 30 At least one of the arguments for 'ITypeInfo.RemoteGetVarDesc'
cannot be marshaled by the runtime marshaler. Such arguments will therefore
be passed as a pointer and may require unsafe code to manipulate.
Warning 36 At least one of the arguments for 'ITypeLib.RemoteGetLibAttr'
cannot be marshaled by the runtime marshaler. Such arguments will therefore
be passed as a pointer and may require unsafe code to manipulate.
Warning 44 At least one of the arguments for 'TrackerServer.GetAppData'
cannot be marshaled by the runtime marshaler. Such arguments will therefore
be passed as a pointer and may require unsafe code to manipulate.
Warning 43 At least one of the arguments for 'TrackerServer.GetApps' cannot
be marshaled by the runtime marshaler. Such arguments will therefore be
passed as a pointer and may require unsafe code to manipulate.
Warning 45 At least one of the arguments for 'TrackerServer.GetCLSIDData'
cannot be marshaled by the runtime marshaler. Such arguments will therefore
be passed as a pointer and may require unsafe code to manipulate.
Error 49 Invalid token '=' in class, struct, or interface member
declaration C:\Projects\UnityAdmin\Main.cs 150
Warning 2 The private field
'UnityAdmin.FormMain.ERROR_OBJECT_ALREADY_EXISTS' is assigned but its value
is never used C:\Projects\UnityAdmin\Main.cs 149
Warning 3 The private field 'UnityAdmin.frmConnectToDomain.domControllers'
is never used C:\Projects\UnityAdmin\ConnectToDomain.cs 17
Warning 5 The type library importer could not convert the signature for the
member '__MIDL___MIDL_itf_ads_0000_0002.lpValue'.
Warning 7 The type library importer could not convert the signature for the
member '__MIDL___MIDL_itf_ads_0000_0003.lpValue'.
Warning 9 The type library importer could not convert the signature for the
member '__MIDL___MIDL_itf_ads_0000_0004.lpValue'.
Warning 14 The type library importer could not convert the signature for the
member '__MIDL___MIDL_itf_ads_0000_0011.Address'.
Warning 16 The type library importer could not convert the signature for the
member '__MIDL___MIDL_itf_ads_0000_0012.ReplicaAddressHin ts'.
Warning 18 The type library importer could not convert the signature for the
member '__MIDL___MIDL_itf_ads_0000_0013.Parameters'.
Warning 20 The type library importer could not convert the signature for the
member '__MIDL___MIDL_itf_ads_0000_0015.lpBinaryValue'.
Warning 21 The type library importer could not convert the signature for the
member '_ads_attr_info.pADsValues'.
Warning 10 The type library importer could not convert the signature for the
member '_ADS_CASEIGNORE_LIST.Next'.
Warning 23 The type library importer could not convert the signature for the
member '_ads_class_def.ppszMandatoryAttrs'.
Warning 25 The type library importer could not convert the signature for the
member '_ads_class_def.ppszNamingAttrs'.
Warning 24 The type library importer could not convert the signature for the
member '_ads_class_def.ppszOptionalAttrs'.
Warning 26 The type library importer could not convert the signature for the
member '_ads_class_def.ppszSuperClasses'.
Warning 12 The type library importer could not convert the signature for the
member '_ADS_OCTET_LIST.Data'.
Warning 11 The type library importer could not convert the signature for the
member '_ADS_OCTET_LIST.Next'.
Warning 19 The type library importer could not convert the signature for the
member 'ADS_DN_WITH_BINARY.lpBinaryValue'.
Warning 17 The type library importer could not convert the signature for the
member 'ADS_FAXNUMBER.Parameters'.
Warning 13 The type library importer could not convert the signature for the
member 'ADS_NETADDRESS.Address'.
Warning 6 The type library importer could not convert the signature for the
member 'ADS_NT_SECURITY_DESCRIPTOR.lpValue'.
Warning 4 The type library importer could not convert the signature for the
member 'ADS_OCTET_STRING.lpValue'.
Warning 8 The type library importer could not convert the signature for the
member 'ADS_PROV_SPECIFIC.lpValue'.
Warning 15 The type library importer could not convert the signature for the
member 'ADS_REPLICAPOINTER.ReplicaAddressHints'.
Warning 22 The type library importer could not convert the signature for the
member 'ads_search_column.pADsValues'.
Warning 31 The type library importer could not convert the signature for the
member 'tagARRAYDESC.rgbounds'.
Warning 42 The type library importer could not convert the signature for the
member 'tagBLOB.pBlobData'.
Warning 34 The type library importer could not convert the signature for the
member 'tagFUNCDESC.lprgelemdescParam'.
Warning 33 The type library importer could not convert the signature for the
member 'tagFUNCDESC.lprgscode'.
Warning 35 The type library importer could not convert the signature for the
member 'tagPARAMDESC.pparamdescex'.

--
Thanks.
Nov 13 '06 #1
0 2506

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: B Golash | last post by:
Hi I`m trying to install a third-party control. During the install I receive this error...see the url below. I have no idea as to the meaning of the error. ...
11
by: SZ | last post by:
Hi, I've hit this core multiple times when running an application (coded in C) running on BSD OS. Using gdb getting to the core, it shows: ..... (gdb) bt #0 0x8541fa3 in mTimerQUnlink...
19
by: Ross A. Finlayson | last post by:
Hi, I hope you can help me understand the varargs facility. Say I am programming in ISO C including stdarg.h and I declare a function as so: void log_printf(const char* logfilename, const...
0
by: Lokkju | last post by:
I am pretty much lost here - I am trying to create a managed c++ wrapper for this dll, so that I can use it from c#/vb.net, however, it does not conform to any standard style of coding I have seen....
14
by: mauri1106 | last post by:
Hi, I have a little problem with a pointer. In my project is included an ".h" file with this declaration: "#define pMDMA_D0_START_ADDR ((void * volatile *)MDMA_D0_START_ADDR)" If I assign a...
1
by: | last post by:
I'm having a problem finding the cause for this problem. I have a solution in Visual Studio 2005 that contains two projects -- a Web Site and a Class Library. The web site references the class...
6
by: Florian Lindner | last post by:
Hello, I have these class declarations class CBauteil { private: int m_iNumber; int m_iWeight; public: int getNumber(); void setNumber(int);
171
by: Raman | last post by:
Hi All, Here is a small Code, int main(void) { char *p=(char *) malloc(100); strcpy(p,"Test1234567890"); p=p+10; free(p);
3
by: Tony Johansson | last post by:
Hello! We have a C#.ASP.NET web application that runs on a IIS 6. The application contains actually several asp pages but there is no GUI. The application receive an xml file that is processed....
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.