Hey Guys,

Does anyone have a clue about the following?

Justin's been bashing his head over this for ages!

Thanks,

Keith

Begin forwarded message:

From: Justin Farrugia <[email protected]>
Date: 22 September 2009 20:10:49 GMT+02:00
To: [email protected]

Hey Keith,



This is the issue I'm having:

"Unhandled exception at 0x10125626 (Server_DEBUG.dll) in Server_DEBUG.exe: 0xC0000005: Access violation reading location 0x00000004."

On LOC:
Entry *walk = hashTable->data[HashPointer(name) % hashTable->size];

The series of events is as follows:

1. I opened a solution which works perfectly. The solution contains multiple projects.
2. All code is unmanaged C++
3. I require to add managed code to one of the projects (C++ CLI)
4. I turned on the option /CLR support, and rebuilt the projects
5. All run successfully
6. I added a header file, and added managed code pragma together with a few lines of managed code
7. I rebuilt and it run successfully
8. I continued adding code line by line, added COM dll (in house developed) to references
9.  I rebuilt, and it stopped working.
10. I cleared solution, removed reference which was previously added, I rebuilt projects and ran.. to no avail - still getting above error 11. I turned the /CLR option off, and rebuilt, now running successfully

Each time /CLR option is on, same error appears. I have .NEt 2.0 and 3.5 installed on my machine - using VS 2008 prof. edition.

Please help!!!!

Thanks,
J


--
Justin Farrugia B.Sc (Hons), M.Sc (Liv.)

_______________________________________________
MLUG-list mailing list
[email protected]
http://linux.org.mt/cgi-bin/mailman/listinfo/mlug-list

Reply via email to